Javascript is turning into Python?!

Steve Holden steve at holdenweb.com
Sat Nov 4 04:54:41 CET 2006


Paul Rubin wrote:
> "Carl Banks" <pavlovevidence at gmail.com> writes:
> 
>>>http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7
>>
>>Maybe in exchange, Python can borrow the let statement.
> 
> 
> Maybe the with statement could be extended to allow binding more than
> one variable.  
>     with x as f(), y as g():
>        blah (x, y)

Wouldn't that be

     with f() as x, g() as y:
         blah(x, y)

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb       http://holdenweb.blogspot.com
Recent Ramblings     http://del.icio.us/steve.holden




More information about the Python-list mailing list