[issue24329] __qualname__ and __slots__

Xiang Zhang report at bugs.python.org
Thu Nov 10 08:48:03 EST 2016


Xiang Zhang added the comment:

> What about other names set when creating a class? __module__, __class__, __classcell__?

__module__ remains in the class dict so I think it's a class variable.
Will __class__ be set? It's inserted into the function scope.
__classcell__ I think has the same situation with __qualname__.

New patch also adds __classcell__.

----------
Added file: http://bugs.python.org/file45423/slots_special.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24329>
_______________________________________


More information about the Python-bugs-list mailing list