[New-bugs-announce] [issue3716] mistake in 3.4.2 Customizing attribute access
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__()
nosy: Alex7564, georg.brandl
title: mistake in 3.4.2 Customizing attribute access
versions: Python 2.5
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce