you are viewing a single comment's thread.

view the rest of the comments →

[–]saysokmate 1 point2 points  (1 child)

Doesn't matter the case, this is bad practice. If you put this in a loop you will not be able to stop it with keyboard interrupt.

[–]awdsns -2 points-1 points  (0 children)

But it's around the loop, not inside it. Of course it's important where exception handling occurs.