This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: SyntaxError b0rked grammar
Type: Stage:
Components: Interpreter Core Versions: Python 2.6
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: Ztatik.Light, roger.serwy
Priority: normal Keywords:

Created on 2012-07-14 09:41 by Ztatik.Light, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg165437 - (view) Author: Ztatik Light (Ztatik.Light) Date: 2012-07-14 09:41
SyntaxError: import * is not allowed in function '__init__' because it is contains a nested function with free variables


^ .... /s/"because it is contains"/"because it contains"
msg165533 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2012-07-15 15:34
Thank you for the bug report, Ztatik.

Since 2.6 is now in security-fix-only mode, this issue will not be fixed. See http://www.python.org/getit/releases/2.6.8/

This grammar issue was fixed in 2.7 with revision 386922b629c3, but was not applied to the 2.6 series at the time.

If you find any more errors, please report them.
History
Date User Action Args
2022-04-11 14:57:32adminsetgithub: 59554
2012-07-15 15:34:40roger.serwysetstatus: open -> closed

nosy: + roger.serwy
messages: + msg165533

resolution: wont fix
2012-07-14 09:41:03Ztatik.Lightcreate