On 30/07/2019 23:37:38, Greg Ewing wrote:
Guido van Rossum wrote:
I'm not sure I understand the desire to catch every possible exception right where it occurs. I've never felt this need somehow.
This is my feeling too. I can't remember having a need for such needle-sharp targeting of exception catching, and if I ever did, it would be such a rare thing that I wouldn't mind writing things in a different way to achieve it.
With respect, perhaps you should consider it (for appropriate applications). When troubleshooting (often an activity conducted under more pressure than coding) it helps to have as much information as possible at your fingertips. Oh, I know you can always work through a trace (if one is available) to see exactly where an error occurred, but that takes time.