R. David Murray <rdmur...@bitdance.com> added the comment:

This is doubtless a result of the way the class namespace scope is handled, 
coupled with the fact that in Python3 list comprehensions have a local scope.  
The class scope is a somewhat unique beast.  I agree that this is unfortunate, 
but I have a feeling that doing anything about it is distinctly non-trivial.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14972>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to