Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
petdog
· 15y ago · 0 comments
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)
Comments
[–]
bdarnell
15y ago
Ah, that makes a big difference. Thanks for the correction.