[Python-3000] Stackable Blocks

Ivan Krstic krstic at fas.harvard.edu
Sun Apr 23 23:50:58 CEST 2006


Crutcher Dunnavant wrote:
> for file in open_files: if file.readable():
>   ...
> 
> for line in open(file): if line.strip():

I don't like this. It looks unclean and adds an exception to the
conventional Python rules while yielding no particular or significant
benefit.

-- 
Ivan Krstic <krstic at fas.harvard.edu> | GPG: 0x147C722D


More information about the Python-3000 mailing list