J2 0-2-6 is available
Steven Bethard
steven.bethard at gmail.com
Tue Aug 24 21:59:02 EDT 2004
Doug Holton <insert <at> spam.here> writes:
> We'll have a "with" (or similar keyword) that will work like this:
>
> with self:
> .property1 = True
> .init()
>
> "with" and "using" are way too similar, although they would be doing
> *completely* different things.
Actually, there's an interesting argument that the "with" for decorators and
the "with" above can be thought of in similar terms:
http://mail.python.org/pipermail/python-list/2004-August/235993.html
I don't know if I agree with it, but I think I'm at least convinced they don't
have to mean *completely* different things.
STeve
More information about the Python-list
mailing list