[Python-Dev] PEP 340: Only for try/finally?
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu May 5 06:38:29 CEST 2005
BJörn Lindqvist wrote:
> But why stop there? Lots of functions that takes a callable as
> argument could be upgraded to use the new block syntax.
Actually, this is something that occurred to me in
potential support of a thunk implementation: It's
possible that many functions already out there which
take function arguments could *already* be used with
a thunk-based block statement, without needing to be
re-written at all.
--
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