Bare Excepts

myle mydimle at
Sat Jan 2 00:27:57 CET 2010

Why we should prefer ``if: ...'' over  a ``try: ... except something:
pass'' block?
it is stated that a try catch block is faster if more often no
exception occurs.

Happy new year,
Dimitris Leventeas

More information about the Python-list mailing list