News for hackers. Stuff that matters.
Re:Handling exceptions in Python like a pro by nicbou on Thursday May 20, 2021 @03:50AM (#27218532)
One more thing: avoid broad catch clauses. Some exceptions ought to break things, like KeyboardInterrupt.

By the way, you probably shouldn't wrap code lines on mobile. The code was difficult to read on mobile.

There are no comments on this comment yet.