/dports/devel/py-BTrees/BTrees-4.9.2/src/BTrees/tests/ |
H A D | testConflict.py | 91 state = b.__getstate__() 134 state = b.__getstate__() 173 state = b.__getstate__() 192 state = b.__getstate__() 215 state = b.__getstate__() 247 state = b.__getstate__() 264 state = b.__getstate__() 289 state = b.__getstate__() 318 state = b.__getstate__() 334 state = b.__getstate__() [all …]
|
H A D | test_check.py | 74 def __getstate__(self): member in Test_crack_btree.test_w_empty_tree.Empty 84 def __getstate__(self): member in Test_crack_btree.test_w_degenerate_tree.Degenerate 96 def __getstate__(self): member in Test_crack_btree.test_w_normal_tree.Normal 112 def __getstate__(self): member in Test_crack_bucket.test_w_empty_set.EmptySet 120 def __getstate__(self): member in Test_crack_bucket.test_w_non_empty_set.NonEmptySet 128 def __getstate__(self): member in Test_crack_bucket.test_w_empty_mapping.EmptyMapping 136 def __getstate__(self): member in Test_crack_bucket.test_w_non_empty_mapping.NonEmptyMapping 319 state = obj.__getstate__() 336 state = obj.__getstate__() 353 state = obj.__getstate__() [all …]
|
H A D | test_fsBTree.py | 39 self.assertEqual(before.__getstate__(), after.__getstate__()) 44 self.assertEqual(after.__getstate__(), ((),))
|
/dports/devel/py-durus/Durus-3.9/test/ |
H A D | utest_persistent.py | 21 assert p.__getstate__() == {} 23 assert p.__getstate__() == {'a':1} 86 assert p.__getstate__() == {} 128 assert p.__getstate__() == {} 130 assert p.__getstate__() == dict(a=1) 143 assert p.__getstate__() == {} 145 assert p.__getstate__() == dict(a=1) 147 assert p.__getstate__() == dict(a=1, c=2)
|
/dports/devel/boost-docs/boost_1_72_0/libs/python/doc/reference/ |
H A D | pickle.qbk | 15 [[__getstate__][When an instance of a `Boost.Python` extension class is pickled, the pickler tests … 46 …by any of the constructors. Therefore it is necessary to provide the `__getstate__`/`__setstate__`… 83 For simplicity, the `__dict__` is not included in the result of `__getstate__`. This is not general… 86 …2.cpp. However, the object's `__dict__` is included in the result of `__getstate__`. This requires… 92 [*`__getstate__` is defined and the instance's `__dict__` is not empty.] 94 The author of a `Boost.Python` extension class might provide a `__getstate__` method without consid… 98 To alert the user to this highly unobvious problem, a safety guard is provided. If `__getstate__` i… 104 To resolve this problem, it should first be established that the `__getstate__` and `__setstate__` … 121 def __getstate__(self): 131 * Avoid using `__getstate__` if the instance can also be reconstructed by way of `__getinitargs__`.… [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/python/doc/reference/ |
H A D | pickle.qbk | 15 [[__getstate__][When an instance of a `Boost.Python` extension class is pickled, the pickler tests … 46 …by any of the constructors. Therefore it is necessary to provide the `__getstate__`/`__setstate__`… 83 For simplicity, the `__dict__` is not included in the result of `__getstate__`. This is not general… 86 …2.cpp. However, the object's `__dict__` is included in the result of `__getstate__`. This requires… 92 [*`__getstate__` is defined and the instance's `__dict__` is not empty.] 94 The author of a `Boost.Python` extension class might provide a `__getstate__` method without consid… 98 To alert the user to this highly unobvious problem, a safety guard is provided. If `__getstate__` i… 104 To resolve this problem, it should first be established that the `__getstate__` and `__setstate__` … 121 def __getstate__(self): 131 * Avoid using `__getstate__` if the instance can also be reconstructed by way of `__getinitargs__`.… [all …]
|
/dports/devel/boost-libs/boost_1_72_0/libs/python/doc/reference/ |
H A D | pickle.qbk | 15 [[__getstate__][When an instance of a `Boost.Python` extension class is pickled, the pickler tests … 46 …by any of the constructors. Therefore it is necessary to provide the `__getstate__`/`__setstate__`… 83 For simplicity, the `__dict__` is not included in the result of `__getstate__`. This is not general… 86 …2.cpp. However, the object's `__dict__` is included in the result of `__getstate__`. This requires… 92 [*`__getstate__` is defined and the instance's `__dict__` is not empty.] 94 The author of a `Boost.Python` extension class might provide a `__getstate__` method without consid… 98 To alert the user to this highly unobvious problem, a safety guard is provided. If `__getstate__` i… 104 To resolve this problem, it should first be established that the `__getstate__` and `__setstate__` … 121 def __getstate__(self): 131 * Avoid using `__getstate__` if the instance can also be reconstructed by way of `__getinitargs__`.… [all …]
|
/dports/devel/hyperscan/boost_1_75_0/libs/python/doc/reference/ |
H A D | pickle.qbk | 15 [[__getstate__][When an instance of a `Boost.Python` extension class is pickled, the pickler tests … 46 …by any of the constructors. Therefore it is necessary to provide the `__getstate__`/`__setstate__`… 83 For simplicity, the `__dict__` is not included in the result of `__getstate__`. This is not general… 86 …2.cpp. However, the object's `__dict__` is included in the result of `__getstate__`. This requires… 92 [*`__getstate__` is defined and the instance's `__dict__` is not empty.] 94 The author of a `Boost.Python` extension class might provide a `__getstate__` method without consid… 98 To alert the user to this highly unobvious problem, a safety guard is provided. If `__getstate__` i… 104 To resolve this problem, it should first be established that the `__getstate__` and `__setstate__` … 121 def __getstate__(self): 131 * Avoid using `__getstate__` if the instance can also be reconstructed by way of `__getinitargs__`.… [all …]
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/subzero/ |
H A D | language.py | 94 def __getstate__(self): 130 state = instance.__getstate__() 140 return Language(*Language_.fromcode(code, converter).__getstate__()) 149 return Language(*Language_.fromietf(ietf).__getstate__()) 156 return Language(*Language_.fromietf(s).__getstate__()) 158 return Language(*Language_.fromalpha3b(s).__getstate__())
|
/dports/devel/py-libcst/libcst-0.3.23/libcst/ |
H A D | _add_slots.py | 47 def __getstate__(self: object) -> Mapping[str, Any]: function 56 cls.__getstate__ = __getstate__
|
/dports/devel/py-persistent/persistent-4.7.0/docs/api/ |
H A D | pickling.rst | 15 >>> print_dict(x.__getstate__()) 45 by overriding :meth:`__getnewargs__`, :meth:`__getstate__` and 89 >>> d, s = x.__getstate__() 111 >>> d, s = x.__getstate__() 134 >>> d, s = x.__getstate__() 154 >>> d, s = x.__getstate__()
|
/dports/science/py-nibabel/nibabel-3.2.1/nibabel/ |
H A D | batteryrunners.py | 216 def __getstate__(self): member in Report 243 return self.__getstate__() == other.__getstate__()
|
/dports/math/py-patsy/patsy-0.5.2/patsy/ |
H A D | infix_parser.py | 47 __getstate__ = no_pickling variable in _UniqueValue 73 __getstate__ = no_pickling variable in Token 86 __getstate__ = no_pickling variable in ParseNode 98 __getstate__ = no_pickling variable in Operator 105 __getstate__ = no_pickling variable in _StackOperator 118 __getstate__ = no_pickling variable in _ParseContext
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/core/expr/ |
H A D | boolean_value.py | 57 def __getstate__(self): member in BooleanValue 60 return _base.__getstate__() 211 def __getstate__(self): member in BooleanConstant 212 state = super(BooleanConstant, self).__getstate__()
|
/dports/security/py-angr/angr-9.0.5405/angr/ |
H A D | codenode.py | 56 def __getstate__(self): member in CodeNode 77 def __getstate__(self): member in BlockNode 97 def __getstate__(self): member in SootBlockNode 126 def __getstate__(self): member in HookNode
|
/dports/finance/electrum/Electrum-4.1.5/packages/google/protobuf/ |
H A D | message.py | 383 def __getstate__(self): member in Message 400 return type(self), (), self.__getstate__() 406 self.__getstate__())
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/google/protobuf/ |
H A D | message.py | 383 def __getstate__(self): member in Message 400 return type(self), (), self.__getstate__() 406 self.__getstate__())
|
/dports/science/afni/afni-AFNI_21.3.16/src/pkundu/meica.libs/nibabel/ |
H A D | batteryrunners.py | 214 def __getstate__(self): member in Report 241 return self.__getstate__() == other.__getstate__()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/swarming_client/third_party/google/protobuf/ |
H A D | message.py | 383 def __getstate__(self): member in Message 400 return type(self), (), self.__getstate__() 406 self.__getstate__())
|
/dports/devel/py-protobuf/protobuf-3.17.3/google/protobuf/ |
H A D | message.py | 383 def __getstate__(self): member in Message 400 return type(self), (), self.__getstate__() 406 self.__getstate__())
|
/dports/net/py-pyshark/pyshark-0.4.3/pyshark/packet/ |
H A D | common.py | 6 def __getstate__(self): member in Pickleable 16 def __getstate__(self): member in SlotsPickleable
|
/dports/math/vtk6/VTK-6.2.0/ThirdParty/Twisted/twisted/python/ |
H A D | logfile.py | 83 def __getstate__(self): member in BaseLogFile 226 def __getstate__(self): member in LogFile 227 state = BaseLogFile.__getstate__(self) 295 def __getstate__(self): member in DailyLogFile 296 state = BaseLogFile.__getstate__(self)
|
/dports/devel/py-jsonpickle/jsonpickle-2.0.0/docs/ |
H A D | api.rst | 75 jsonpickle supports the standard :mod:`pickle` `__getstate__` and `__setstate__` 78 .. method:: object.__getstate__() 81 defines the method :meth:`__getstate__`, it is called and the return state is 83 instance's dictionary. If there is no :meth:`__getstate__` method, the 92 :meth:`__getstate__` and :meth:`__setstate__`, the state object needn't be a
|
/dports/devel/py-zope.component/zope.component-4.2.2/src/zope/component/tests/ |
H A D | test_persistentregistry.py | 95 state = registry.__getstate__() 106 self.assertFalse('names' in registry.__getstate__()) 110 state = registry.__getstate__() 121 state = registry.__getstate__()
|
/dports/devel/py-yaml/PyYAML-5.4.1/tests/lib/ |
H A D | test_constructor.py | 105 def __getstate__(self): member in _make_objects.YAMLObject2 144 def __getstate__(self): member in _make_objects.AState 156 def __getstate__(self): member in _make_objects.ACustomState 164 def __getstate__(self): member in _make_objects.InitArgs 170 def __getstate__(self): member in _make_objects.InitArgsWithState 178 def __getstate__(self): member in _make_objects.NewArgs 184 def __getstate__(self): member in _make_objects.NewArgsWithState
|