Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: I have wrote a patch that change the parser to only accept valid identifiers. But now I have the same doubts and want first to discuss this [1]. This change can break the existing code as Eric's example shows.
[1] https://mail.python.org/pipermail/python-dev/2017-October/150052.html ---------- nosy: +serhiy.storchaka status: pending -> open _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31907> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com