[Python-Dev] __subclasses__() return order
Antoine Pitrou
solipsis at pitrou.net
Sat May 25 15:18:23 CEST 2013
Hello,
In http://bugs.python.org/issue17936, I proposed making tp_subclasses
(the internal container implementing object.__subclasses__) a dict.
This would make the return order of __subclasses__ completely
undefined, while it is right now slightly predictable. I have never seen
__subclasses__ actually used in production code, so I'm wondering
whether someone might be affected by such a change.
Regards
Antoine.
More information about the Python-Dev
mailing list