[issue44947] SyntaxError: trailing comma not allowed ... misleading

Andre Roberge report at bugs.python.org
Wed Aug 18 13:40:06 EDT 2021


Andre Roberge <andre.roberge at gmail.com> added the comment:

Based on what I just read on https://github.com/davidhalter/parso/blob/master/parso/python/issue_list.txt
I gather that this exception is only raised in the context of an import statement with a trailing comma (usually followed by nothing).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44947>
_______________________________________


More information about the Python-bugs-list mailing list