those darn exceptions

Steven D'Aprano steve+comp.lang.python at pearwood.info
Thu Jun 23 04:40:00 EDT 2011


On Thu, 23 Jun 2011 06:16 pm Gregory Ewing wrote:

> Generally I think some people worry far too much about
> anticipating and catching exceptions. Don't do that,
> just let them happen. If you come across a specific
> exception that it makes sense to catch, then catch
> just that particular one. Let everything else propagate.

Good advice.

+1


-- 
Steven




More information about the Python-list mailing list