Roger Serwy added the comment:
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
New submission from Ztatik Light :
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"
--
components: Interpreter Core
messages: 165437
nosy: Ztatik.Light
prio