Home
last modified time | relevance | path

Searched refs:WeakKeyDictionary (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Lib/test/
Dtest_weakref.py947 d = weakref.WeakKeyDictionary()
1253 self.check_len_cycles(weakref.WeakKeyDictionary, lambda k: (k, 1))
1283 self.check_len_race(weakref.WeakKeyDictionary, lambda k: (k, 1))
1552 dict = weakref.WeakKeyDictionary({o:364})
1557 dict = weakref.WeakKeyDictionary({o:364})
1558 dict2 = weakref.WeakKeyDictionary(dict)
1562 dict = weakref.WeakKeyDictionary()
1621 self.check_popitem(weakref.WeakKeyDictionary,
1646 self.check_setdefault(weakref.WeakKeyDictionary,
1723 self.check_update(weakref.WeakKeyDictionary,
[all …]
Dtest_copy.py817 self._check_copy_weakdict(weakref.WeakKeyDictionary)
827 u = weakref.WeakKeyDictionary()
/third_party/python/Lib/multiprocessing/dummy/
D__init__.py39 self._children = weakref.WeakKeyDictionary()
66 current_process()._children = weakref.WeakKeyDictionary()
/third_party/python/Lib/unittest/
Dsignals.py41 _results = weakref.WeakKeyDictionary()
/third_party/python/Doc/library/
Dweakref.rst39 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` classes supplied by
48 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` use weak references
53 :class:`WeakKeyDictionary` does.
162 .. class:: WeakKeyDictionary([dict])
173 :class:`WeakKeyDictionary` objects have an additional method that
181 .. method:: WeakKeyDictionary.keyrefs()
195 same issues as the :meth:`keyrefs` method of :class:`WeakKeyDictionary`
/third_party/python/Lib/concurrent/futures/
Dthread.py17 _threads_queues = weakref.WeakKeyDictionary()
Dprocess.py62 _threads_wakeups = weakref.WeakKeyDictionary()
/third_party/python/Lib/
Dweakref.py357 class WeakKeyDictionary(_collections_abc.MutableMapping): class
432 new = WeakKeyDictionary()
Dfunctools.py815 dispatch_cache = weakref.WeakKeyDictionary()
/third_party/python/Lib/multiprocessing/
Dsharedctypes.py174 class_cache = weakref.WeakKeyDictionary()
/third_party/python/Lib/unittest/test/
Dtest_break.py23 unittest.signals._results = weakref.WeakKeyDictionary()
/third_party/python/Misc/NEWS.d/
D3.8.0a2.rst311 :mod:`weakref`: Fix a RuntimeError when copying a WeakKeyDictionary or a
D3.10.0rc2.rst79 Fix a race in WeakKeyDictionary, WeakValueDictionary and WeakSet when two
D3.9.0a6.rst775 Added :pep:`584` operators to :class:`weakref.WeakKeyDictionary`.
D3.5.0a1.rst1902 Fix len() on a WeakKeyDictionary when .clear() was called with an iterator
/third_party/python/Doc/whatsnew/
D2.5.rst1634 * The :mod:`weakref` module's :class:`WeakKeyDictionary` and
1637 :meth:`keyrefs` methods were added to :class:`WeakKeyDictionary`, and
/third_party/python/Misc/
DHISTORY1206 - Issue #21173: Fix len() on a WeakKeyDictionary when .clear() was called
8713 - Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary,
13823 - Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust against the
21339 - SF bug 742860: "WeakKeyDictionary __delitem__ uses iterkeys". This
24826 dictionaries (WeakValueDictionary and WeakKeyDictionary) were fixed,