[Python-Dev] 2 words keyword for block

Greg Ewing greg.ewing at canterbury.ac.nz
Wed May 4 05:50:19 CEST 2005


Gheorghe Milas wrote:

> in template thread_safe(lock):
> in template redirected_stdout(stream):
> in template use_and_close_file(path) as file:
> in template as_transaction():
> in template auto_retry(times=3, failas=IOError):

-1. This is unpythonically verbose.

If I wanted to get lots of finger exercise typing redundant
keywords, I'd program in COBOL. :-)

-- 
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