Hacker News new | ask | show | jobs
by petdog 5663 days ago
It looks like you forgot to call the function in 'simple_catch'. Interestingly, if you do, manual_with_catch will actually be faster in the failing case. (A try:fn() finally: return True beats everything else in the failing case)
1 comments

Ah, that makes a big difference. Thanks for the correction.