[Python-Dev] @decorators, the PEP and the "options" out there?

Michael Hudson mwh at python.net
Fri Aug 6 15:39:25 CEST 2004


"Phillip J. Eby" <pje at telecommunity.com> writes:

> At 12:24 PM 8/5/04 -0700, IxokaI wrote:
>
>>I added "with", although I havn't seen it.
>
> Guido's reserving "with" for this purpose in some future Python:
>
>      with x.y:
>          .z = spam    # set x.y.z = spam
>          print .q.r   # print x.y.q.r

Except that the only extant PEP involving with actually uses it for
something else :-)

I think talking about what Guido is or isn't doing is a bit ... wrong?

Cheers,
mwh

-- 
41. Some programming languages manage to absorb change, but
    withstand progress.
  -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html


More information about the Python-Dev mailing list