This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

python compilation issue on pylint



I am trying to build a recent pylint with the attached cygport
but the following error is puzzling me

/usr/lib/python3.6/assert_on_tuple.py:11: SyntaxWarning: assertion is
always true, perhaps remove parentheses?
*** Error compiling
'/cygdrive/d/cyg_pub/devel/python-module/python3-pylint-2.2.2-1.x86_64/inst/usr/lib/python3.6/site-packages/pylint/test/functional/anomalous_unicode_escape_py2.py'...
  File "/usr/lib/python3.6/anomalous_unicode_escape_py2.py", line 17
    RAW_UNICODE = ur"\u0062\n"
                             ^
SyntaxError: invalid syntax


changing in
  RAW_UNICODE = ur'\u0062\n'
or
  RAW_UNICODE = ur"\u0062"

make no difference.

Any clue what can cause it ?
For what I see the code was always there
https://github.com/PyCQA/pylint/commits/master/pylint/test/functional/anomalous_unicode_escape_py2.py

so it seems a cygwin build issue only.

Regards
Marco


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

Attachment: python3-pylint.cygport
Description: Text document

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]