Bare Excepts

Ben Finney ben+python at benfinney.id.au
Wed Dec 30 15:29:58 EST 2009


samwyse <samwyse at gmail.com> writes:

> I inherited some code that used bare excepts *everywhere*.  There were
> about 4K lines of code, IIRC, and I think that they were more except
> clauses than elses.

Visual Basic programmers will learn how to write “ON ERROR RESUME NEXT”
<URL:http://www.vbinfozine.com/a_onerror.shtml> in any language put
before them.

-- 
 \                             “I'm a born-again atheist.” —Gore Vidal |
  `\                                                                   |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list