Home
last modified time | relevance | path

Searched refs:__getattribute__ (Results 1 – 24 of 24) sorted by relevance

/external/python/cpython2/Lib/
D_threading_local.py164 dict = object.__getattribute__(self, '__dict__')
170 key = object.__getattribute__(self, '_local__key')
181 args, kw = object.__getattribute__(self, '_local__args')
188 def __getattribute__(self, name): member in local
189 lock = object.__getattribute__(self, '_local__lock')
193 return object.__getattribute__(self, name)
202 lock = object.__getattribute__(self, '_local__lock')
215 lock = object.__getattribute__(self, '_local__lock')
226 key = object.__getattribute__(self, '_local__key')
/external/python/cpython2/Doc/howto/
Ddescriptor.rst95 For objects, the machinery is in :meth:`object.__getattribute__` which
103 For classes, the machinery is in :meth:`type.__getattribute__` which transforms
107 def __getattribute__(self, key):
109 v = object.__getattribute__(self, key)
116 * descriptors are invoked by the :meth:`__getattribute__` method
117 * overriding :meth:`__getattribute__` prevents automatic descriptor calls
118 * :meth:`__getattribute__` is only available with new style classes and objects
119 * :meth:`object.__getattribute__` and :meth:`type.__getattribute__` make
124 The object returned by ``super()`` also has a custom :meth:`__getattribute__`
129 search using :meth:`object.__getattribute__`.
[all …]
/external/autotest/frontend/afe/
Ddirect_afe.py17 func = rpc_interface.__getattribute__(call)
/external/autotest/client/common_lib/
Dmetrics_mock_class.py48 def __getattribute__(self, name): member in mock_class_base
/external/python/cpython2/Lib/test/
Dtest_descr.py660 def __getattribute__(self, name): member in ClassPropertiesAndMethods.test_module_subclasses.MM
662 return MT.__getattribute__(self, name)
1753 def __getattribute__(self, attr, test=self): member in ClassPropertiesAndMethods.test_special_method_lookup.Checker
1756 return object.__getattribute__(self, attr)
3512 def __getattribute__(self, name): function
3515 return object.__getattribute__(self, name)
3516 A.__getattribute__ = __getattribute__
3527 del A.__getattribute__
3947 def __getattribute__(self, attr): member in ClassPropertiesAndMethods.test_mutable_bases.C2
3951 return super(C2, self).__getattribute__(attr)
[all …]
Dtest_copy.py69 def __getattribute__(self, name): member in TestCopy.test_copy_cant.C
72 return object.__getattribute__(self, name)
288 def __getattribute__(self, name): member in TestCopy.test_deepcopy_cant.C
291 return object.__getattribute__(self, name)
Dtest_class.py635 self.assertRaises(TypeError, type(c).__getattribute__, c, [])
/external/python/cpython2/Lib/multiprocessing/
Dmanagers.py1021 return object.__getattribute__(self, key)
1022 callmethod = object.__getattribute__(self, '_callmethod')
1027 callmethod = object.__getattribute__(self, '_callmethod')
1032 callmethod = object.__getattribute__(self, '_callmethod')
/external/libmojo/base/android/jni_generator/
Djni_generator_tests.py54 self.assertListEquals(value, second.__getattribute__(key))
56 actual = second.__getattribute__(key)
/external/python/cpython2/Doc/reference/
Ddatamodel.rst1495 :meth:`__getattribute__` method below for a way to actually get total control in
1530 .. method:: object.__getattribute__(self, name)
1534 called unless :meth:`__getattribute__` either calls it explicitly or raises an
1539 ``object.__getattribute__(self, name)``.
2475 :meth:`__getattribute__` method even of the object's metaclass::
2478 ... def __getattribute__(*args):
2480 ... return type.__getattribute__(*args)
2486 ... def __getattribute__(*args):
2488 ... return object.__getattribute__(*args)
2500 Bypassing the :meth:`__getattribute__` machinery in this fashion
/external/v8/tools/
Dll_prof.py463 return ", ".join("%s: %s" % (field, self.__getattribute__(field))
Dgrokdump.py114 return "{" + ", ".join("%s: %s" % (field, self.__getattribute__(field))
918 return self.exception_context.__getattribute__(name)
/external/libmojo/third_party/ply/
Dlex.py95 def __getattribute__(self,name): member in NullLogger
Dyacc.py134 def __getattribute__(self,name): member in NullLogger
/external/ply/ply/ply/
Dlex.py94 def __getattribute__(self, name): member in NullLogger
Dyacc.py128 def __getattribute__(self, name): member in NullLogger
/external/python/cpython2/Doc/faq/
Dgeneral.rst421 '__getattribute__', '__getitem__', '__getslice__', '__gt__',
/external/python/cpython2/Doc/whatsnew/
D2.2.rst323 :meth:`__getattribute__(attr_name)`. The difference between the two methods is
324 that :meth:`__getattribute__` is *always* called whenever any attribute is
D2.6.rst1671 Objects that have :meth:`__getattr__` or :meth:`__getattribute__`
/external/python/cpython2/Doc/
Dglossary.rst576 descriptors, properties, and :meth:`__getattribute__`.
/external/python/cpython2/Doc/library/
Dfunctions.rst310 :func:`__getattr__` or :func:`__getattribute__` function to customize the way
1439 It does so by implementing its own :meth:`__getattribute__` method for searching
Dpickle.rst465 :meth:`__getattribute__`, or :meth:`__setattr__` may be called upon the
/external/python/cpython2/Misc/
DNEWS3304 - Issue #14334: Prevent in a segfault in type.__getattribute__ when it was not
3305 passed strings. Also fix segfaults in the __getattribute__ and __setattr__
7514 - Issue #5787: ``object.__getattribute__(some_type, "__bases__")`` segfaulted on
DHISTORY6699 called __getattribute__. This method, if defined, is called for
6703 access, you can use __getattribute__ (for new-style classes). If
6704 both are defined, __getattribute__ is called first, and if it raises