Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/
Dtest_weakref.py1147 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 …]
Dtest_copy.py829 self._check_copy_weakdict(weakref.WeakValueDictionary)
855 u = weakref.WeakValueDictionary()
/external/python/cpython2/Lib/test/
Dtest_weakref.py966 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 …]
Dtest_copy.py702 self._check_copy_weakdict(weakref.WeakValueDictionary)
728 u = weakref.WeakValueDictionary()
/external/python/cpython2/Doc/library/
Dweakref.rst38 :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/
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
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/
Dweakref.py36 class WeakValueDictionary(UserDict.UserDict): class
128 new = WeakValueDictionary()
Dsymtable.py18 self.__memo = weakref.WeakValueDictionary()
/external/python/cpython3/Lib/
Dweakref.py90 class WeakValueDictionary(_collections_abc.MutableMapping): class
173 new = WeakValueDictionary()
Dsymtable.py18 self.__memo = weakref.WeakValueDictionary()
/external/python/cpython2/Lib/multiprocessing/
Dutil.py149 _afterfork_registry = weakref.WeakValueDictionary()
/external/python/cpython3/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()
/external/tensorflow/tensorflow/python/ops/
Dscript_ops.py136 self._funcs = weakref.WeakValueDictionary()
/external/python/cpython3/Lib/multiprocessing/
Dutil.py124 _afterfork_registry = weakref.WeakValueDictionary()
/external/python/cpython3/Lib/test/test_asyncio/
Dutils.py342 self._transports = weakref.WeakValueDictionary()
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dactivity.py80 self.params = weakref.WeakValueDictionary()
/external/python/cpython2/Misc/NEWS.d/
D2.7.15rc1.rst1184 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/
Dutil.py88 self.object_by_proto_id = weakref.WeakValueDictionary()
/external/python/cpython2/Doc/tutorial/
Dstdlib2.rst268 >>> d = weakref.WeakValueDictionary()
/external/python/cpython3/Doc/tutorial/
Dstdlib2.rst270 >>> d = weakref.WeakValueDictionary()
/external/python/cpython2/Lib/logging/
D__init__.py626 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers
/external/python/cpython3/Lib/asyncio/
Dselector_events.py56 self._transports = weakref.WeakValueDictionary()
/external/autotest/scheduler/
Dscheduler_models.py129 _instances_by_type_and_id = weakref.WeakValueDictionary()
/external/python/cpython3/Lib/logging/
D__init__.py774 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers

12