[issue28691] python3.6 -Werror -c '"\c"' fails with an assertion error

STINNER Victor report at bugs.python.org
Mon Nov 14 12:04:53 EST 2016


STINNER Victor added the comment:

Attached ast.patch fixes the issue: replace the DeprecationWarning with a SyntaxError.

Is it the expected behaviour? Is it worth it to chain the two exceptions?

----------
keywords: +patch
Added file: http://bugs.python.org/file45483/ast.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28691>
_______________________________________


More information about the Python-bugs-list mailing list