is there any overheard with try/except statements?

John Salerno johnjsal at NOSPAMgmail.com
Thu Mar 9 10:09:53 EST 2006


Alex Martelli wrote:


> In general, it's more frequent for EAFP to be handier and more solid,
> and performance may well not matter -- but if you find yourself trying
> to squeeze every last drop of performance from a region of your code
> that profiling has shown to be a bottleneck, module timeit can help!

Thanks Alex, great information. I learn way too much new information 
every day on this newsgroup.  ;)



More information about the Python-list mailing list