[issue34805] Explicitly specify `MyClass.__subclasses__()` returns classes in definition order

Guido van Rossum report at bugs.python.org
Tue Nov 6 22:29:24 EST 2018


Guido van Rossum <guido at python.org> added the comment:

Since this is how it works since 3.6, I think it's reasonable to make this part of the spec. For dictionary order we waited a release between implementing it that way and making it part of the spec; effectively we've already waited two releases (3.6 and 3.7) for this. So I say let's do it. This isn't something that's PEP-worthy anyway.

----------
nosy: +gvanrossum

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34805>
_______________________________________


More information about the Python-bugs-list mailing list