[Python-ideas] A user story concerning things knowing their own names
greg.ewing at canterbury.ac.nz
Mon Mar 21 06:10:43 CET 2011
Guido van Rossum wrote:
> So, apologies if this has been brought up or rejected before, wouldn't
> a class decorator work for you?
It would work, although it would be a bit less than satisfying,
because the property wouldn't be fully self-contained. Some of
the plumbing would still be showing, albeit less obtrusively.
More information about the Python-ideas