[Python-Dev] Merging PEP 310 and PEP 340-redux?

Greg Ewing greg.ewing at canterbury.ac.nz
Fri May 13 07:15:30 CEST 2005


Michele Simionato wrote:

> let lock:
>    do_something
> 
> let open("myfile") as f:
>     for line in f: do_something(line)

This is getting even further into the realm
of gibberish to my ear.

> let f=file("myfile") :
>     for line in f: do_something(line)

To anyone with a Lisp or funcional background, that
looks like nothing more than a local variable
binding.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-Dev mailing list