[issue22790] some class attributes missing from dir(Class)

eryksun report at bugs.python.org
Tue Nov 4 10:34:38 CET 2014


eryksun added the comment:

You won't find the __qualname__ data descriptor in dir(Foo.Bar) because it's defined by the metaclass, `type`. Attributes from the metaclass have always been excluded from the dir() of a class.

----------
nosy: +eryksun

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


More information about the Python-bugs-list mailing list