exception handling in complex Python programs

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Wed Aug 20 03:37:13 EDT 2008


On Tue, 19 Aug 2008 22:24:45 -0700, eliben wrote:

>> You want to look up Easier to Ask Forgivness than Permission (EAFP)
>> which is touted as the "canonical" error-handling paradigm for Python.
> 
> Any (semi)complete guides on this canonical paradigm online ? I've only
> found some references in maillist discussions.

There's the glossary in the documentation:

  http://docs.python.org/tut/node18.html

Look under 'duck-typing', 'EAFP', and 'LBYL'.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list