Message230647
> So, dir(C) contains '__mro__', but not 'mro'?
That can be discussed.
But I would argue that at least __name__, __bases__ and __qualname__ are interesting attributes for the user. Same for methods like __subclasses__().
Otherwise, it's quite ironic to prevent attributes that allow introspection in the first place from being displayed in one of the main features used for introspection. |
|
Date |
User |
Action |
Args |
2014-11-04 17:46:55 | georg.brandl | set | recipients:
+ georg.brandl, amaury.forgeotdarc, pitrou, benjamin.peterson, Arfrever, docs@python, eryksun, techdragon |
2014-11-04 17:46:55 | georg.brandl | set | messageid: <1415123215.37.0.430428166168.issue22790@psf.upfronthosting.co.za> |
2014-11-04 17:46:55 | georg.brandl | link | issue22790 messages |
2014-11-04 17:46:55 | georg.brandl | create | |
|