[issue17936] O(n**2) behaviour when adding/removing classes
Kristján Valur Jónsson
report at bugs.python.org
Fri May 10 11:53:58 CEST 2013
Kristján Valur Jónsson added the comment:
Right, I misread the code.
Since the remove_subclass() function is called when a subclass dies, I don't think it is necessary to clear out weak references in add_subclass(). They are there merely to break the reference cycle.
Btw, the 'patch diff' stuff seems to be broken in the tracker ....
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17936>
_______________________________________
More information about the Python-bugs-list
mailing list