This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients benjamin.peterson, serhiy.storchaka
Date 2017-10-21.17:08:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1508605682.35.0.213398074469.issue31837@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-10-21 17:08:02serhiy.storchakasetrecipients: + serhiy.storchaka, benjamin.peterson
2017-10-21 17:08:02serhiy.storchakasetmessageid: <1508605682.35.0.213398074469.issue31837@psf.upfronthosting.co.za>
2017-10-21 17:08:02serhiy.storchakalinkissue31837 messages
2017-10-21 17:08:02serhiy.storchakacreate