[New-bugs-announce] [issue3716] mistake in 3.4.2 Customizing attribute access
Alex7564
report at bugs.python.org
Thu Aug 28 21:21:29 CEST 2008
New submission from Alex7564 <noname9968 at gmail.com>:
"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__()
----------
assignee: georg.brandl
components: Documentation
messages: 72105
nosy: Alex7564, georg.brandl
severity: normal
status: open
title: mistake in 3.4.2 Customizing attribute access
versions: Python 2.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3716>
_______________________________________
More information about the New-bugs-announce
mailing list