[Python-Dev] Issue #26204: compiler now emits a SyntaxWarning on constant statement

Victor Stinner victor.stinner at gmail.com
Mon Feb 8 16:23:21 EST 2016


Le 8 févr. 2016 9:10 PM, "Alexander Walters" <tritium-list at sdamon.com> a
écrit :
>
> I am not keen on a SyntaxWarning.  Either something is python syntax, or
it is not.

Oh I forgot to mention that Python already emits SyntaxWarning, on "assert
True" for example.

Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160208/b5422be1/attachment.html>


More information about the Python-Dev mailing list