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.10:26:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
> The second one is when the class is being deleted, for housekeeping
> of the weakrefs.
> I worry that your alternative will cause us to walk the entire list
> in the second case because it will be called when the weakref has
> been cleared, so  it will never find itself in the list, only None.

I don't think that matters much. In both cases the expected complexity
is O(n).
Date User Action Args
2013-05-13 10:26:31pitrousetrecipients: + pitrou, kristjan.jonsson, vstinner
2013-05-13 10:26:31pitroulinkissue17936 messages
2013-05-13 10:26:31pitroucreate