Descriptor puzzlement

Michael Hudson mwh at python.net
Thu Jan 8 08:01:08 EST 2004


"John Roth" <newsgroups at jhrothjr.com> writes:

[snippety]

> It doesn't look like the descriptor protocol is getting
> invoked at all.
> 
> What's happening here?

Descriptors need to be attached to classes.

Cheers,
mwh

-- 
6. Symmetry is a complexity-reducing concept (co-routines include
   subroutines); seek it everywhere.
  -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html



More information about the Python-list mailing list