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 <rep...@bugs.python.org>
<http://bugs.python.org/issue28691>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to