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

2008-07-11 Thread Raymond Hettinger
Changes by Raymond Hettinger [EMAIL PROTECTED]: -- resolution: - invalid status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue ___

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

2008-07-10 Thread Raymond Hettinger
Changes by Raymond Hettinger [EMAIL PROTECTED]: -- nosy: rhettinger priority: high severity: normal status: open title: Need -3 warning for exec statement becoming a function versions: Python 2.6 ___ Python tracker [EMAIL PROTECTED]

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

2008-07-10 Thread Benjamin Peterson
New submission from Benjamin Peterson [EMAIL PROTECTED]: 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!)