[issue17936] O(n**2) behaviour when adding/removing classes

Guido van Rossum report at bugs.python.org
Sat May 25 23:10:53 CEST 2013


Guido van Rossum added the comment:

I can't think of a use for the order of __subclasses__ so no objection here.
—
Sent from Mailbox for iPad

On Sat, May 25, 2013 at 6:16 AM, Antoine Pitrou <report at bugs.python.org>
wrote:

> Antoine Pitrou added the comment:
> Note that making tp_subclasses a dict makes the __subclasses__ return order undefined. I don't think I've ever seen __subclasses__ actually used, so I'm not convinced it's a problem, but perhaps it's worth floating the idea on python-dev.
> ----------
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue17936>
> _______________________________________

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17936>
_______________________________________


More information about the Python-bugs-list mailing list