/third_party/python/Lib/ |
D | enum.py | 64 cls.__reduce_ex__ = _break_on_call_reduce 564 cls.__reduce_ex__ = _reduce_ex_by_name 786 def __reduce_ex__(self, proto): member in Enum
|
D | datetime.py | 1550 def __reduce_ex__(self, protocol): member in time 1554 return self.__reduce_ex__(2) 2161 def __reduce_ex__(self, protocol): member in datetime 2165 return self.__reduce_ex__(2)
|
/third_party/python/Lib/test/ |
D | audit-tests.py | 140 def __reduce_ex__(self, p): member in test_pickle.PicklePrint
|
D | test_descr.py | 5056 reduce_value = obj.__reduce_ex__(proto) 5080 self.assertEqual(obj.__reduce_ex__(proto), reduce_value) 5108 obj.__reduce_ex__(proto) 5135 obj.__reduce_ex__(proto) 5151 obj.__reduce_ex__(proto) 5173 obj.__reduce_ex__(proto) 5190 obj.__reduce_ex__(proto) 5477 self.assertEqual(A().__reduce_ex__(2), expected) # Shouldn't crash 5486 object().__reduce_ex__(0) 5488 object().__reduce_ex__() [all …]
|
D | pickletester.py | 205 def __reduce_ex__(self, protocol): member in ZeroCopyBytes 233 def __reduce_ex__(self, protocol): member in ZeroCopyBytearray 303 def __reduce_ex__(self, protocol): member in PicklableNDArray 3175 def __reduce_ex__(self, proto): member in REX_two 3181 def __reduce_ex__(self, proto): member in REX_three 3190 def __reduce_ex__(self, proto): member in REX_four 3192 return object.__reduce_ex__(self, proto)
|
D | test_copy.py | 57 def __reduce_ex__(self, proto): member in TestCopy.test_copy_reduce_ex.C 319 def __reduce_ex__(self, proto): member in TestCopy.test_deepcopy_reduce_ex.C
|
D | test_enum.py | 834 ReplaceGlobalInt.__reduce_ex__ = enum._reduce_ex_by_name 836 self.assertEqual(ReplaceGlobalInt.TWO.__reduce_ex__(proto), 'TWO') 1423 def __reduce_ex__(self, proto): member in TestEnum.test_subclasses_with_reduce_ex.NamedInt 1563 def __reduce_ex__(self, proto): member in TestEnum.test_subclasses_without_direct_pickle_support_using_name.NEI
|
D | datetimetester.py | 1580 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2)) 2294 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2)) 3354 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2)) 3745 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2)) 3757 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2)) 4126 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2)) 4139 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2))
|
D | test_array.py | 269 self.assertIs(a.__reduce_ex__(protocol)[0], array.array) 271 self.assertIs(a.__reduce_ex__(protocol)[0], array_reconstructor)
|
D | _test_multiprocessing.py | 204 __reduce_ex__ = __reduce__ variable in BaseTestCase
|
/third_party/PyYAML/lib/yaml/ |
D | representer.py | 317 reduce = data.__reduce_ex__(2)
|
/third_party/python/Doc/library/ |
D | pickle.rst | 713 .. method:: object.__reduce_ex__(protocol) 715 Alternatively, a :meth:`__reduce_ex__` method may be defined. The only 947 The large data objects to be pickled must implement a :meth:`__reduce_ex__` 992 def __reduce_ex__(self, protocol):
|
D | enum.rst | 458 :meth:`__reduce_ex__` in the enumeration class.
|
D | unittest.mock.rst | 2029 * Pickling: ``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``, 2166 * ``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``, ``__getnewargs__``,
|
/third_party/python/Doc/faq/ |
D | general.rst | 416 '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__',
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.1rc1.rst | 48 Default implementation of __reduce__ and __reduce_ex__ now rejects builtin
|
D | 3.6.0a1.rst | 459 __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no 588 Default implementation of __reduce__ and __reduce_ex__ now rejects builtin
|
D | 3.5.2rc1.rst | 254 __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no
|
D | 3.7.0a1.rst | 561 Fixed default implementations of __reduce__ and __reduce_ex__(). 562 object.__reduce__() no longer takes arguments, object.__reduce_ex__() now
|
D | 3.10.0a1.rst | 1233 `__repr__`, `__format__`, and `__reduce_ex__`).
|
/third_party/python/Modules/ |
D | _pickle.c | 4413 _Py_IDENTIFIER(__reduce_ex__); in save()
|
/third_party/python/Misc/ |
D | HISTORY | 158 - Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now 3080 object.__reduce__() and object.__reduce_ex__(). 20598 - Fixed a bug in object.__reduce_ex__ when using protocol 2. Failure
|