Re: PEP 343, second look

2005-06-22 Thread Ron Adam
Paul Rubin wrote: > Ron Adam <[EMAIL PROTECTED]> writes: > >>>A new statement is proposed with the syntax: >>>with EXPR as VAR: >>>BLOCK >>>Here, 'with' and 'as' are new keywords; EXPR is an arbitrary >>>expression (but not an expression-list)... >> >>How is EXPR arbitr

Re: PEP 343, second look

2005-06-22 Thread Paul Rubin
Ron Adam <[EMAIL PROTECTED]> writes: > > A new statement is proposed with the syntax: > > with EXPR as VAR: > > BLOCK > > Here, 'with' and 'as' are new keywords; EXPR is an arbitrary > > expression (but not an expression-list)... > > How is EXPR arbitrary? Doesn't it n

PEP 343, second look

2005-06-22 Thread Ron Adam
After taking a break from following PEP 343 and it's associated PEPs, I wanted to look at it again because it still seemed a bit hard to get my mind around. http://www.python.org/peps/pep-0343.html > A new statement is proposed with the syntax: > > with EXPR as VAR: >