Inconsistent behavior of descriptors
Michael Chermside
mcherm at mcherm.com
Tue Sep 30 14:10:33 EDT 2003
Denis writes:
> I've noticed that the order of attribute lookup is inconsistent
> when descriptor is used. property instance takes precedence of
> instance attributes:
[...]
> But it doesn't when I use custom class of descriptor:
[...]
> Subclasses of property behave like property itself:
[...]
> Is it an undocumented feature or I have to submit a bug report?
Looks like a bug to me.
-- Michael Chermside
More information about the Python-list
mailing list