Searched refs:WeakValueDictionary (Results 1 – 23 of 23) sorted by relevance
/third_party/python/Lib/test/ |
D | test_weakref.py | 1256 self.check_len_cycles(weakref.WeakValueDictionary, lambda k: (1, k)) 1286 self.check_len_race(weakref.WeakValueDictionary, lambda k: (1, k)) 1314 dict = weakref.WeakValueDictionary() 1570 dict = weakref.WeakValueDictionary({364:o}) 1575 dict = weakref.WeakValueDictionary({364:o}) 1576 dict2 = weakref.WeakValueDictionary(dict) 1581 self.assertRaises(TypeError, weakref.WeakValueDictionary.__init__) 1582 self.assertRaises(TypeError, weakref.WeakValueDictionary, {}, {}) 1583 self.assertRaises(TypeError, weakref.WeakValueDictionary, (), ()) 1587 d = weakref.WeakValueDictionary(**{kw: o}) [all …]
|
D | test_copy.py | 820 self._check_copy_weakdict(weakref.WeakValueDictionary) 847 u = weakref.WeakValueDictionary()
|
/third_party/python/Doc/library/ |
D | weakref.rst | 39 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` classes supplied by 43 :class:`WeakValueDictionary`, then when the last remaining references to that 48 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` use weak references 186 .. class:: WeakValueDictionary([dict]) 194 :class:`WeakValueDictionary` objects have an additional method that has the 199 .. method:: WeakValueDictionary.valuerefs() 376 This is used in the implementation of the :class:`WeakValueDictionary` to reduce 421 _id2obj_dict = weakref.WeakValueDictionary()
|
/third_party/python/Lib/ |
D | weakref.py | 93 class WeakValueDictionary(_collections_abc.MutableMapping): class 173 new = WeakValueDictionary()
|
D | symtable.py | 23 self.__memo = weakref.WeakValueDictionary()
|
/third_party/python/Lib/zoneinfo/ |
D | _zoneinfo.py | 33 _weak_cache = weakref.WeakValueDictionary() 38 cls._weak_cache = weakref.WeakValueDictionary()
|
/third_party/python/Misc/NEWS.d/ |
D | 3.6.1rc1.rst | 557 old keys should not remove new values from WeakValueDictionary when 595 Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
|
D | 3.5.3rc1.rst | 478 old keys should not remove new values from WeakValueDictionary when 506 Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
|
D | 3.8.0a2.rst | 312 WeakValueDictionary, due to some keys or values disappearing while
|
D | 3.10.0rc2.rst | 79 Fix a race in WeakKeyDictionary, WeakValueDictionary and WeakSet when two
|
D | 3.9.0a6.rst | 766 Added :pep:`584` operators to :class:`weakref.WeakValueDictionary`.
|
D | 3.5.1rc1.rst | 511 Constructor and update method of weakref.WeakValueDictionary now accept the
|
D | 3.7.0a1.rst | 3741 old keys should not remove new values from WeakValueDictionary when 3769 Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
|
D | 3.9.0a1.rst | 1905 weakref.WeakValueDictionary defines a local remove() function used as
|
/third_party/python/Lib/multiprocessing/ |
D | util.py | 159 _afterfork_registry = weakref.WeakValueDictionary()
|
/third_party/python/Lib/test/test_asyncio/ |
D | utils.py | 354 self._transports = weakref.WeakValueDictionary()
|
D | test_events.py | 2167 wd = weakref.WeakValueDictionary()
|
D | test_tasks.py | 2372 wd = weakref.WeakValueDictionary()
|
/third_party/python/Doc/tutorial/ |
D | stdlib2.rst | 270 >>> d = weakref.WeakValueDictionary()
|
/third_party/python/Lib/asyncio/ |
D | selector_events.py | 62 self._transports = weakref.WeakValueDictionary()
|
/third_party/python/Lib/logging/ |
D | __init__.py | 833 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers
|
/third_party/python/Doc/whatsnew/ |
D | 2.5.rst | 1635 :class:`WeakValueDictionary` types gained new methods for iterating over the 1639 :class:`WeakValueDictionary`. (Contributed by Fred L. Drake, Jr.)
|
/third_party/python/Misc/ |
D | HISTORY | 349 - Issue #22958: Constructor and update method of weakref.WeakValueDictionary 8714 WeakValueDictionary) to return a better approximation when some objects 13823 - Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust against the 14660 - Issue #6149: Fix initialization of WeakValueDictionary objects from non-empty 19183 - Bug #1196315: fix weakref.WeakValueDictionary constructor. 20386 class. There's less per-entry overhead in WeakValueDictionary 24826 dictionaries (WeakValueDictionary and WeakKeyDictionary) were fixed,
|