This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: mistake in 3.4.2 Customizing attribute access
Type: Stage:
Components: Documentation Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: Alex7564, georg.brandl
Priority: normal Keywords:

Created on 2008-08-28 19:21 by Alex7564, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg72105 - (view) Author: (Alex7564) Date: 2008-08-28 19:21
"Note that if the attribute is found through the normal mechanism,
__getattr__() is not called."
"...because otherwise __setattr__() would have no way to access other
attributes of the instance."

I think it should be __getattr__() instead of __setattr__()
msg72106 - (view) Author: (Alex7564) Date: 2008-08-28 19:24
"Note that if the attribute is found through the normal mechanism,
__getattr__() is not called."
"because otherwise __setattr__() would have no way to access other
attributes of the instance."

I think it's __getattr__() instead of __setattr__()
msg72108 - (view) Author: (Alex7564) Date: 2008-08-28 19:30
I was talking about Python Reference Manual
(http://docs.python.org/ref/attribute-access.html)
msg72187 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-08-30 09:53
Thanks, fixed in r66063.
History
Date User Action Args
2022-04-11 14:56:38adminsetgithub: 47966
2008-08-30 09:53:02georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg72187
2008-08-28 19:30:49Alex7564setmessages: + msg72108
2008-08-28 19:24:13Alex7564setmessages: + msg72106
2008-08-28 19:21:28Alex7564create