EAFP vs LBYL (was Re: A little disappointed so far)

Robin Becker robin at jessikat.fsnet.co.uk
Tue May 20 05:08:36 EDT 2003


In article <_daya.118281$3M4.2687052 at news1.tin.it>, Alex Martelli
<aleax at aleax.it> writes
.....
>
>I'm leaving for an extended trip in a few hours and so won't be able
>to pursue this debate further.  However, this should be no big loss,
>because people who *STILL* just can't see it are apparently beyond 
>any hope of helping through debate, anyway;-).
>
>
>Alex
>
well I hope you're not flying with engineering like

try:
        igniteKerosene()
except ExplosionError:
        handleExplosionCase()

:)
-- 
Robin Becker




More information about the Python-list mailing list