New submission from Niklas Rosenstein <rosensteinnik...@gmail.com>:

On Python 3.7.0 lib2to3 will not parse code like this:

    def foo(print=None):
      pass

and yield the following error instead

    lib2to3.pgen2.parse.ParseError: bad input: type=1, value='print', 
context=('', (1, 8))

----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 330926
nosy: n_rosenstein
priority: normal
severity: normal
status: open
title: lib2to3 raises ParseError on argument called "print"
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35383>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to