Message83014
I don't think this can be solved. Not only do registered classes not
show up (which could be fixed by providing something like
inspect.getfakemro) but ABCs can also perform duck-type checks.
For example a class with an __iter__ method is an instance of
collections.Iterable or how it's called thanks to the __subclasscheck__
magic method. |
|
Date |
User |
Action |
Args |
2009-03-02 13:11:36 | aronacher | set | recipients:
+ aronacher, paul.moore |
2009-03-02 13:11:36 | aronacher | set | messageid: <1235999496.63.0.227918208466.issue5405@psf.upfronthosting.co.za> |
2009-03-02 13:11:34 | aronacher | link | issue5405 messages |
2009-03-02 13:11:33 | aronacher | create | |
|