[Python-ideas] Assignment decorators (Re: The Descriptor Protocol...)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 10 01:52:42 CET 2011


Jim Jewett wrote:

> Though I personally suspect that if the name of the variable is
> needed, it is really a slot rather than a discardable name, and it
> really *should* be a slightly different object -- a decorable pointer
> instead of just a pointer.

Sorry, but I'm unable to extract any coherent meaning from
that paragraph. :-(

If you mean that the thing passed in as the name should be
some object other than a string, can you provide a use case?

-- 
Greg



More information about the Python-ideas mailing list