Home
last modified time | relevance | path

Searched refs:WeakValueDictionary (Results 1 – 23 of 23) sorted by relevance

/third_party/python/Lib/test/
Dtest_weakref.py1256 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 …]
Dtest_copy.py820 self._check_copy_weakdict(weakref.WeakValueDictionary)
847 u = weakref.WeakValueDictionary()
/third_party/python/Doc/library/
Dweakref.rst39 :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/
Dweakref.py93 class WeakValueDictionary(_collections_abc.MutableMapping): class
173 new = WeakValueDictionary()
Dsymtable.py23 self.__memo = weakref.WeakValueDictionary()
/third_party/python/Lib/zoneinfo/
D_zoneinfo.py33 _weak_cache = weakref.WeakValueDictionary()
38 cls._weak_cache = weakref.WeakValueDictionary()
/third_party/python/Misc/NEWS.d/
D3.6.1rc1.rst557 old keys should not remove new values from WeakValueDictionary when
595 Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
D3.5.3rc1.rst478 old keys should not remove new values from WeakValueDictionary when
506 Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
D3.8.0a2.rst312 WeakValueDictionary, due to some keys or values disappearing while
D3.10.0rc2.rst79 Fix a race in WeakKeyDictionary, WeakValueDictionary and WeakSet when two
D3.9.0a6.rst766 Added :pep:`584` operators to :class:`weakref.WeakValueDictionary`.
D3.5.1rc1.rst511 Constructor and update method of weakref.WeakValueDictionary now accept the
D3.7.0a1.rst3741 old keys should not remove new values from WeakValueDictionary when
3769 Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
D3.9.0a1.rst1905 weakref.WeakValueDictionary defines a local remove() function used as
/third_party/python/Lib/multiprocessing/
Dutil.py159 _afterfork_registry = weakref.WeakValueDictionary()
/third_party/python/Lib/test/test_asyncio/
Dutils.py354 self._transports = weakref.WeakValueDictionary()
Dtest_events.py2167 wd = weakref.WeakValueDictionary()
Dtest_tasks.py2372 wd = weakref.WeakValueDictionary()
/third_party/python/Doc/tutorial/
Dstdlib2.rst270 >>> d = weakref.WeakValueDictionary()
/third_party/python/Lib/asyncio/
Dselector_events.py62 self._transports = weakref.WeakValueDictionary()
/third_party/python/Lib/logging/
D__init__.py833 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers
/third_party/python/Doc/whatsnew/
D2.5.rst1635 :class:`WeakValueDictionary` types gained new methods for iterating over the
1639 :class:`WeakValueDictionary`. (Contributed by Fred L. Drake, Jr.)
/third_party/python/Misc/
DHISTORY349 - 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,