Searched refs:WeakKeyDictionary (Results 1 – 17 of 17) sorted by relevance
/third_party/python/Lib/test/ |
D | test_weakref.py | 947 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 …]
|
D | test_copy.py | 817 self._check_copy_weakdict(weakref.WeakKeyDictionary) 827 u = weakref.WeakKeyDictionary()
|
/third_party/python/Lib/multiprocessing/dummy/ |
D | __init__.py | 39 self._children = weakref.WeakKeyDictionary() 66 current_process()._children = weakref.WeakKeyDictionary()
|
/third_party/python/Lib/unittest/ |
D | signals.py | 41 _results = weakref.WeakKeyDictionary()
|
/third_party/python/Doc/library/ |
D | weakref.rst | 39 :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/ |
D | thread.py | 17 _threads_queues = weakref.WeakKeyDictionary()
|
D | process.py | 62 _threads_wakeups = weakref.WeakKeyDictionary()
|
/third_party/python/Lib/ |
D | weakref.py | 357 class WeakKeyDictionary(_collections_abc.MutableMapping): class 432 new = WeakKeyDictionary()
|
D | functools.py | 815 dispatch_cache = weakref.WeakKeyDictionary()
|
/third_party/python/Lib/multiprocessing/ |
D | sharedctypes.py | 174 class_cache = weakref.WeakKeyDictionary()
|
/third_party/python/Lib/unittest/test/ |
D | test_break.py | 23 unittest.signals._results = weakref.WeakKeyDictionary()
|
/third_party/python/Misc/NEWS.d/ |
D | 3.8.0a2.rst | 311 :mod:`weakref`: Fix a RuntimeError when copying a WeakKeyDictionary or a
|
D | 3.10.0rc2.rst | 79 Fix a race in WeakKeyDictionary, WeakValueDictionary and WeakSet when two
|
D | 3.9.0a6.rst | 775 Added :pep:`584` operators to :class:`weakref.WeakKeyDictionary`.
|
D | 3.5.0a1.rst | 1902 Fix len() on a WeakKeyDictionary when .clear() was called with an iterator
|
/third_party/python/Doc/whatsnew/ |
D | 2.5.rst | 1634 * The :mod:`weakref` module's :class:`WeakKeyDictionary` and 1637 :meth:`keyrefs` methods were added to :class:`WeakKeyDictionary`, and
|
/third_party/python/Misc/ |
D | HISTORY | 1206 - 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,
|