Author pitrou
Recipients kristjan.jonsson, pitrou, vstinner
Date 2013-05-13.14:05:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <412497329.36172431.1368453901775.JavaMail.root@zimbra10-e2.priv.proxad.net>
In-reply-to <1368445209.67.0.271613335351.issue17936@psf.upfronthosting.co.za>
Content
> 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.
History
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