Message410005
In https://docs.python.org/3/library/exceptions.html#Exception, it is written:
"All built-in, non-system-exiting exceptions are derived from this class. All user-defined exceptions should also be derived from this class."
Yes, technically, the root of all exceptions is BaseException. However, this seems to indicate that the advice given in the tutorial is correct. |
|
Date |
User |
Action |
Args |
2022-01-07 19:05:38 | aroberge | set | recipients:
+ aroberge, docs@python, sobolevn, iritkatriel, gtitze |
2022-01-07 19:05:38 | aroberge | set | messageid: <1641582338.6.0.105268245717.issue46291@roundup.psfhosted.org> |
2022-01-07 19:05:38 | aroberge | link | issue46291 messages |
2022-01-07 19:05:38 | aroberge | create | |
|