7 Jan
2022
7 Jan
'22
10:14 p.m.
Irit Katriel <iritkatriel@gmail.com> added the comment:
For this advice (catching Exception and not BaseException) to be correct, users should be advised (as they are in the tutorial) to raise exceptions derived from Exception (and not BaseException).
I disagree with that. ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue46291> _______________________________________