[ python-Bugs-1012315 ] weakref.WeakValueDictionary should override .has_key()

SourceForge.net noreply at sourceforge.net
Thu Aug 19 18:39:04 CEST 2004


Bugs item #1012315, was opened at 2004-08-19 12:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1012315&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Myers Carpenter (myers_carpenter)
Assigned to: Nobody/Anonymous (nobody)
Summary: weakref.WeakValueDictionary should override .has_key()

Initial Comment:
.has_key() currently does not return the correct info
for a weakref.WeakValueDictionary.  When you call it
some times tells you that a key exists even tho the
value is no longer in RAM.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1012315&group_id=5470


More information about the Python-bugs-list mailing list