Issue 3716: mistake in 3.4.2 Customizing attribute access (original) (raw)

Issue3716

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:38 admin set github: 47966
2008-08-30 09:53:02 georg.brandl set status: open -> closedresolution: fixedmessages: +
2008-08-28 19:30:49 Alex7564 set messages: +
2008-08-28 19:24:13 Alex7564 set messages: +
2008-08-28 19:21:28 Alex7564 create