Re:The Elements of Python Style
by jbrownbridge on Monday January 04, 2016 @03:46PM
(#10838443)
I never silently pass on exceptions any more as I've been bitten by way too many edge cases. You could imagine the case where your example is run by a different user to the owner of temp_file and fails to remove it due to permission issues. In my opinion you should at least log some sort of message here.
[ Parent
| on HN ]
There are no comments on this comment yet.