<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 25, 2013 at 6:18 AM, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net" target="_blank">solipsis@pitrou.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hello,<br>
<br>
In <a href="http://bugs.python.org/issue17936" target="_blank">http://bugs.python.org/issue17936</a>, I proposed making tp_subclasses<br>
(the internal container implementing object.__subclasses__) a dict.<br>
This would make the return order of __subclasses__ completely<br>
undefined, while it is right now slightly predictable. I have never seen<br>
__subclasses__ actually used in production code, so I'm wondering<br>
whether someone might be affected by such a change.<br>
<br>
Regards<br></blockquote></div><br></div><div class="gmail_extra">Personally I never used it, but it's now explicitly documented as returning a list. Not sure what's the right thing to do here, but perhaps returning an OrderedDict can eliminate the order problem?<br>

<br>Eli<br><br></div><div class="gmail_extra"><br><br></div></div>