Python Feature Request: Add the "using" keyword which works like "with" in Visual Basic
Alex Martelli
aleax at mac.com
Tue Apr 17 00:54:37 EDT 2007
Paul Boddie <paul at boddie.org.uk> wrote:
> > Now I hear that the word "with" is being discussed for a different
> > purpose in Py 3 as a result of a PEP and I don't want to conflict with
> > that.
>
> The "with" keyword appears in 2.5 onwards.
...but needs a "from __future__ import with_statement" in 2.5 itself.
Alex
More information about the Python-list
mailing list