[Python-ideas] Assignment decorators (Re: The Descriptor Protocol...)
p.f.moore at gmail.com
Wed Mar 9 15:05:32 CET 2011
On 9 March 2011 01:34, Terry Reedy <tjreedy at udel.edu> wrote:
> So your point is correct:
> name = makeob('name', ...) # becomes
> keywd name ....
> but we do not really want a new keyword for every new type of object with a
> definition name. Can we do with just one?
>From what I recall, that's the basic idea behind the "make keyword"
PEP. Sorry, I can't recall the PEP number or details here. It was
rejected at the time, but it has been suggested (by Guido, I think!)
that it might be worth reviving it.
More information about the Python-ideas