getting special from type,
not instance (was Re: [Python-Dev] copy confusion)
Aahz
aahz at pythoncraft.com
Wed Jan 12 19:47:38 CET 2005
On Wed, Jan 12, 2005, Guido van Rossum wrote:
>
> PS. The term "data descriptor" now feels odd, perhaps we can say "hard
> descriptors" instead. Hard descriptors have a __set__ method in
> addition to a __get__ method (though the __set__ method may always
> raise an exception, to implement a read-only attribute).
I'd prefer "property descriptor" since that's the primary use case.
"Getset descriptor" also works for me.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"19. A language that doesn't affect the way you think about programming,
is not worth knowing." --Alan Perlis
More information about the Python-Dev
mailing list