Searched refs:WeakValueDictionary (Results 1 – 25 of 35) sorted by relevance
12
/external/python/cpython3/Lib/test/ |
D | test_weakref.py | 1147 self.check_len_cycles(weakref.WeakValueDictionary, lambda k: (1, k)) 1177 self.check_len_race(weakref.WeakValueDictionary, lambda k: (1, k)) 1203 dict = weakref.WeakValueDictionary() 1456 dict = weakref.WeakValueDictionary({364:o}) 1461 dict = weakref.WeakValueDictionary({364:o}) 1462 dict2 = weakref.WeakValueDictionary(dict) 1467 self.assertRaises(TypeError, weakref.WeakValueDictionary.__init__) 1468 self.assertRaises(TypeError, weakref.WeakValueDictionary, {}, {}) 1469 self.assertRaises(TypeError, weakref.WeakValueDictionary, (), ()) 1473 d = weakref.WeakValueDictionary(**{kw: o}) [all …]
|
D | test_copy.py | 829 self._check_copy_weakdict(weakref.WeakValueDictionary) 855 u = weakref.WeakValueDictionary()
|
/external/python/cpython2/Lib/test/ |
D | test_weakref.py | 966 self.check_len_cycles(weakref.WeakValueDictionary, lambda n, k: (n, k)) 996 self.check_len_race(weakref.WeakValueDictionary, lambda k: (1, k)) 1023 dict = weakref.WeakValueDictionary() 1234 self.assertRaises(TypeError, weakref.WeakValueDictionary.__init__) 1235 self.assertRaises(TypeError, weakref.WeakValueDictionary, {}, {}) 1236 self.assertRaises(TypeError, weakref.WeakValueDictionary, (), ()) 1240 d = weakref.WeakValueDictionary(**{kw: o}) 1245 dict = weakref.WeakValueDictionary() 1270 self.check_popitem(weakref.WeakValueDictionary, 1295 self.check_setdefault(weakref.WeakValueDictionary, [all …]
|
D | test_copy.py | 702 self._check_copy_weakdict(weakref.WeakValueDictionary) 728 u = weakref.WeakValueDictionary()
|
/external/python/cpython2/Doc/library/ |
D | weakref.rst | 38 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` classes supplied by 42 :class:`WeakValueDictionary`, then when the last remaining references to that 47 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` use weak references 178 .. class:: WeakValueDictionary([dict]) 185 Caution: Because a :class:`WeakValueDictionary` is built on top of a Python 187 difficult to ensure for a :class:`WeakValueDictionary` because actions performed 191 :class:`WeakValueDictionary` objects have the following additional methods. 196 .. method:: WeakValueDictionary.itervaluerefs() 203 .. method:: WeakValueDictionary.valuerefs() 297 This is used in the implementation of the :class:`WeakValueDictionary` to reduce [all …]
|
/external/python/cpython3/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 182 .. class:: WeakValueDictionary([dict]) 189 Caution: Because a :class:`WeakValueDictionary` is built on top of a Python 191 difficult to ensure for a :class:`WeakValueDictionary` because actions performed 195 :class:`WeakValueDictionary` objects have an additional method that has the 200 .. method:: WeakValueDictionary.valuerefs() 383 This is used in the implementation of the :class:`WeakValueDictionary` to reduce 428 _id2obj_dict = weakref.WeakValueDictionary()
|
/external/python/cpython2/Lib/ |
D | weakref.py | 36 class WeakValueDictionary(UserDict.UserDict): class 128 new = WeakValueDictionary()
|
D | symtable.py | 18 self.__memo = weakref.WeakValueDictionary()
|
/external/python/cpython3/Lib/ |
D | weakref.py | 90 class WeakValueDictionary(_collections_abc.MutableMapping): class 173 new = WeakValueDictionary()
|
D | symtable.py | 18 self.__memo = weakref.WeakValueDictionary()
|
/external/python/cpython2/Lib/multiprocessing/ |
D | util.py | 149 _afterfork_registry = weakref.WeakValueDictionary()
|
/external/python/cpython3/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()
|
/external/tensorflow/tensorflow/python/ops/ |
D | script_ops.py | 136 self._funcs = weakref.WeakValueDictionary()
|
/external/python/cpython3/Lib/multiprocessing/ |
D | util.py | 124 _afterfork_registry = weakref.WeakValueDictionary()
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | utils.py | 342 self._transports = weakref.WeakValueDictionary()
|
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/ |
D | activity.py | 80 self.params = weakref.WeakValueDictionary()
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.15rc1.rst | 1184 old keys should not remove new values from WeakValueDictionary when 1223 Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
|
/external/tensorflow/tensorflow/python/training/tracking/ |
D | util.py | 88 self.object_by_proto_id = weakref.WeakValueDictionary()
|
/external/python/cpython2/Doc/tutorial/ |
D | stdlib2.rst | 268 >>> d = weakref.WeakValueDictionary()
|
/external/python/cpython3/Doc/tutorial/ |
D | stdlib2.rst | 270 >>> d = weakref.WeakValueDictionary()
|
/external/python/cpython2/Lib/logging/ |
D | __init__.py | 626 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers
|
/external/python/cpython3/Lib/asyncio/ |
D | selector_events.py | 56 self._transports = weakref.WeakValueDictionary()
|
/external/autotest/scheduler/ |
D | scheduler_models.py | 129 _instances_by_type_and_id = weakref.WeakValueDictionary()
|
/external/python/cpython3/Lib/logging/ |
D | __init__.py | 774 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers
|
12