[issue14544] Limit global keyword name conflicts in language spec to those enforced by CPython

2015-03-05 Thread Yongzhi Pan
Changes by Yongzhi Pan panyong...@gmail.com: -- nosy: +fossilet ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14544 ___ ___ Python-bugs-list

[issue14544] Limit global keyword name conflicts in language spec to those enforced by CPython

2015-03-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 for the proposed change. It should add there is also an enforced (and obvious) restriction that the variable not have been declared nonlocal. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org

[issue14544] Limit global keyword name conflicts in language spec to those enforced by CPython

2015-03-05 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14544 ___

[issue14544] Limit global keyword name conflicts in language spec to those enforced by CPython

2012-04-13 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14544 ___ ___ Python-bugs-list

[issue14544] Limit global keyword name conflicts in language spec to those enforced by CPython

2012-04-10 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: The language spec currently includes the following paragraph [1]: Names listed in a global statement must not be defined as formal parameters or in a for loop control target, class definition, function definition, or import

[issue14544] Limit global keyword name conflicts in language spec to those enforced by CPython

2012-04-10 Thread Alex Gaynor
Alex Gaynor alex.gay...@gmail.com added the comment: This shouldn't be a problem for PyPy, in fact I'm almost positive that we implement this already (since Django has a test that uses this feature). If/when the spec is changed please make sure there are tests for all these cases so we

[issue14544] Limit global keyword name conflicts in language spec to those enforced by CPython

2012-04-10 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Thread link: http://mail.python.org/pipermail/python-ideas/2012-April/014783.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14544

[issue14544] Limit global keyword name conflicts in language spec to those enforced by CPython

2012-04-10 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14544 ___ ___ Python-bugs-list

[issue14544] Limit global keyword name conflicts in language spec to those enforced by CPython

2012-04-10 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14544 ___ ___ Python-bugs-list