[Python-ideas] A user story concerning things knowing their own names

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 17 01:02:05 CET 2011

Robert Kern wrote:

> Personally, I don't want descriptors that know their own name; I 
> want descriptors that can be told what name to use for each operation.

This is a somewhat different use case from mine. For
overridable_property, I *do* want the name to be known
when the descriptor is created, so that it can
precompute some things based on it.


More information about the Python-ideas mailing list