Inconsistent behavior of descriptors

Michael Hudson mwh at python.net
Wed Oct 1 07:36:03 EDT 2003


"Denis S. Otkidach" <ods at strana.ru> writes:

> On Tue, 30 Sep 2003, John Roth wrote:
> 
> JR> In particular, it's intended that instance attributes should
> JR> be ignored if there is a data descriptor (that is, a
> JR> descriptor
> JR> with both__get__ and __set__ methods.)
> 
> Is it documented somewhere? 

http://www.python.org/doc/current/ref/descriptor-invocation.html

Cheers,
mwh

-- 
  Python enjoys making tradeoffs that drive *someone* crazy <wink>.
                                       -- Tim Peters, comp.lang.python




More information about the Python-list mailing list