[issue2349] Py3K warn against assigning to True/False

Benjamin Peterson report at bugs.python.org
Sat May 3 18:59:22 CEST 2008


Benjamin Peterson <musiccomposition at gmail.com> added the comment:

Okay, now that #2720 was dealt with, here's another (close to final)
patch. I added an ast_warn help function. When -Werror is used, the
warnings are converted to SyntaxErrors. Raymond or Brett, if you could
take a look, that would be great. Thanks!

Added file: http://bugs.python.org/file10181/bool_assign5.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2349>
__________________________________


More information about the Python-bugs-list mailing list