You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
object.__getattribute__ does not set name and obj of AttributeError #96352
test.a
e=AttributeError("'Test' object has no attribute 'a'")
e.name='a'
e.obj=<__main__.Test object at 0x7f2fc87a8760>
object.__getattribute__(test, "a")
e=AttributeError("'Test' object has no attribute 'a'")
e.name=None
e.obj=None
CPython versions tested on: Python 3.10.5, Python 3.12.0a0
Activity
gh-96352: Set AttributeError context in _PyObject_GenericGetAttrWithD…
pythongh-96352: Set AttributeError context in _PyObject_GenericGetAtt…
pythongh-96352: Set AttributeError context in _PyObject_GenericGetAtt…
gh-96352: Set AttributeError context in _PyObject_GenericGetAttrWithD…
gh-96352: Set AttributeError context in _PyObject_GenericGetAttrWithD…
philg314 commentedon Sep 8, 2022
Fixed in #96353