Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Weak*Dictionary: Added docstrings to the classes. | Fred Drake | 2001-04-19 | 1 | -24/+36 |
| | | | | | | | | | | | | | | | | Weak*Dictionary.update(): No longer create a temporary list to hold the things that will be stuffed into the underlying dictionary. This had been done so that if any of the objects used as the weakly-held value was not weakly-referencable, no updates would take place (TypeError would be raised). With this change, TypeError will still be raised but a partial update could occur. This is more like other .update() implementations. Thoughout, use of the name "ref" as a local variable has been removed. The original use of the name occurred when the function to create a weak reference was called "new"; the overloaded use of the name could be confusing for someone reading the code. "ref" used as a variable name has been replaced with "wr" (for 'weak reference'). | ||||
* | Weak*Dictionary.update(): Fix calls to [].append() to only have one | Fred Drake | 2001-04-16 | 1 | -4/+15 |
| | | | | | | | | parameter. Weak*Dictionary.get(): Make the second parameter optional. WeakKeyDictionary.has_key(), .keys(): Make these actually work! | ||||
* | mapping(): Remove this function since it does not add anything to the API. | Fred Drake | 2001-04-10 | 1 | -8/+1 |
| | |||||
* | final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be | Skip Montanaro | 2001-03-01 | 1 | -0/+3 |
| | | | | giving it a slight facelift | ||||
* | Change WeakDictionary to WeakValueDictionary in a couple more places. | Fred Drake | 2001-03-01 | 1 | -4/+7 |
| | | | | | WeakValueDictionary.copy(), WeakKeyDictionary.copy(): Actually return the copy! | ||||
* | Patch #403985: Add support for weak-keyed dictionaries | Martin v. Löwis | 2001-02-27 | 1 | -3/+60 |
| | |||||
* | Ouch! I need a better test suite for this. ;-( | Fred Drake | 2001-02-02 | 1 | -1/+0 |
| | |||||
* | WeakDictionary.items(): Do not allow (key,ref) pairs to leak out for | Fred Drake | 2001-02-02 | 1 | -3/+3 |
| | | | | dead references. | ||||
* | PEP 205, Weak References -- initial checkin. | Fred Drake | 2001-02-01 | 1 | -0/+117 |