Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/
Dtest_weakref.py1182 self.check_len_cycles(weakref.WeakValueDictionary, lambda k: (1, k))
1212 self.check_len_race(weakref.WeakValueDictionary, lambda k: (1, k))
1238 dict = weakref.WeakValueDictionary()
1491 dict = weakref.WeakValueDictionary({364:o})
1496 dict = weakref.WeakValueDictionary({364:o})
1497 dict2 = weakref.WeakValueDictionary(dict)
1502 self.assertRaises(TypeError, weakref.WeakValueDictionary.__init__)
1503 self.assertRaises(TypeError, weakref.WeakValueDictionary, {}, {})
1504 self.assertRaises(TypeError, weakref.WeakValueDictionary, (), ())
1508 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/dateutil/dateutil/tz/
D_factories.py25 cls.__instances = weakref.WeakValueDictionary()
52 cls.__instances = weakref.WeakValueDictionary()
Dtz.py1541 self.__instances = weakref.WeakValueDictionary()
1581 self.__instances = weakref.WeakValueDictionary()
/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
187 .. class:: WeakValueDictionary([dict])
194 Caution: Because a :class:`WeakValueDictionary` is built on top of a Python
196 difficult to ensure for a :class:`WeakValueDictionary` because actions performed
200 :class:`WeakValueDictionary` objects have an additional method that has the
205 .. method:: WeakValueDictionary.valuerefs()
388 This is used in the implementation of the :class:`WeakValueDictionary` to reduce
433 _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
167 new = WeakValueDictionary()
Dsymtable.py18 self.__memo = weakref.WeakValueDictionary()
/external/python/cffi/cffi/
Dmodel.py573 _typecache_cffi_backend = weakref.WeakValueDictionary()
583 type(backend).__typecache = 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()
D3.8.0a2.rst312 WeakValueDictionary, due to some keys or values disappearing while
/external/tensorflow/tensorflow/python/ops/
Dscript_ops.py165 self._funcs = weakref.WeakValueDictionary()
/external/python/cpython3/Lib/multiprocessing/
Dutil.py136 _afterfork_registry = weakref.WeakValueDictionary()
/external/python/cpython3/Lib/test/test_asyncio/
Dutils.py353 self._transports = weakref.WeakValueDictionary()
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dsave_impl.py338 self._functions = weakref.WeakValueDictionary()
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dactivity.py109 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/python/pyopenssl/src/OpenSSL/
DSSL.py6 from weakref import WeakValueDictionary
1540 _reverse_mapping = WeakValueDictionary()
/external/python/cpython3/Doc/tutorial/
Dstdlib2.rst270 >>> d = weakref.WeakValueDictionary()

12