[issue3333] Need -3 warning for exec statement becoming a function

Benjamin Peterson report at bugs.python.org
Fri Jul 11 00:38:58 CEST 2008


New submission from Benjamin Peterson <musiccomposition at gmail.com>:

No, I don't think we do. This is something that 2to3 can handle well,
and also rather pointless because it would be impossible to get rid of
the warning in 2.x because exec isn't a function in 2.x.(short of
removing the exec completely!)

----------
nosy: +benjamin.peterson

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


More information about the Python-bugs-list mailing list