homepage

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 docs@python, pitrou, sbt
Date 2012年07月21日.10:59:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342868258.3492.7.camel@localhost.localdomain>
In-reply-to <1342868302.42.0.824683171539.issue15412@psf.upfronthosting.co.za>
Content
> I had assumed that since dead weakrefs were unhashable you couldn't
> safely use them as keys in a dict. (Presumably removal of a no longer
> hashable key from a dict is O(n)?)
They are unhashable if you didn't hash them alive. Otherwise they retain
their old hash value (which is quite useful :-)).
History
Date User Action Args
2012年07月21日 10:59:29pitrousetrecipients: + pitrou, docs@python, sbt
2012年07月21日 10:59:29pitroulinkissue15412 messages
2012年07月21日 10:59:29pitroucreate

AltStyle によって変換されたページ (->オリジナル) /