[Python-ideas] The Descriptor Protocol...

Andrew Svetlov andrew.svetlov at gmail.com
Thu Mar 3 13:12:54 CET 2011

> Not a bad idea at all, although I would use "as" for the purpose (it's
> already a keyword we use for funny not-quite-assignment operations).
"as" is definitely better.

But in
> class Person:
>  name as n = Str(n)
we still can see name duplication.

>From other hand personally I don't want to see any magic name like
name = Str($_)

More information about the Python-ideas mailing list