[issue12370] Use of super overwrites use of __class__ in class namespace
Nick Coghlan
report at bugs.python.org
Sat Sep 8 02:40:26 CEST 2012
Nick Coghlan added the comment:
Yep. The only name in the new scope would be "__class__". Everything else,
including method names, should remain invisible from method bodies. I'm not
100% sure it will work as we want, but that's because I'm not sure if we
can avoid causing a semantic change for classes at module scope. I just
figure it's worth trying.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12370>
_______________________________________
More information about the Python-bugs-list
mailing list