Message304715
test_all_project_files() in test_lib2to3 emits warnings in verbose mode.
/home/serhiy/py/cpython/Lib/lib2to3/tests/test_parser.py:415: UserWarning: ParseError on file /home/serhiy/py/cpython/Lib/lib2to3/main.py (bad input: type=22, value='=', context=('', (130, 38)))
warnings.warn('ParseError on file %s (%s)' % (filepath, err))
/home/serhiy/py/cpython/Lib/lib2to3/tests/test_parser.py:415: UserWarning: ParseError on file /home/serhiy/py/cpython/Lib/lib2to3/tests/pytree_idempotency.py (bad input: type=22, value='=', context=('', (49, 33)))
warnings.warn('ParseError on file %s (%s)' % (filepath, err))
ParseError is raised by lines like:
print("Use --help to show usage.", file=sys.stderr)
Seems "from __future__ import print_function" doesn't work. |
|
Date |
User |
Action |
Args |
2017-10-21 17:08:02 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, benjamin.peterson |
2017-10-21 17:08:02 | serhiy.storchaka | set | messageid: <1508605682.35.0.213398074469.issue31837@psf.upfronthosting.co.za> |
2017-10-21 17:08:02 | serhiy.storchaka | link | issue31837 messages |
2017-10-21 17:08:02 | serhiy.storchaka | create | |
|