This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients kristjan.jonsson, pitrou, vstinner
Date 2013-05-13.14:05:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
> I don't want guaranteed O(1) behaviour, just O(1) for the common case
> of creating a class, or a few classes, and then removing them.

Then just make sure you call remove_subclass() before PyObject_ClearWeakRefs()
in type_dealloc().

Really, this thing should be demonstrably correct. Performance of dynamic
class creation is not critical enough to take shortcuts.
Date User Action Args
2013-05-13 14:05:08pitrousetrecipients: + pitrou, kristjan.jonsson, vstinner
2013-05-13 14:05:08pitroulinkissue17936 messages
2013-05-13 14:05:08pitroucreate