[issue18929] inspect.classify_class_attrs ignores metaclass

Antoine Pitrou report at bugs.python.org
Mon Sep 9 10:34:17 CEST 2013


Antoine Pitrou added the comment:

> So, even though __members__ does show up in dir(Color),
> classify_class_attrs incorrectly assigns its class.
> 
[...]
> 
> So if getmembers() correctly reports it because it shows up in dir(),
> then classify_class_attrs should correctly identify it as well.

Ok, you got me convinced :-)

----------

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


More information about the Python-bugs-list mailing list