Message409988
I think that this is intentional: tutorial gives some very basic ideas about what can be raised. Giving the whole context (you can `raise` two kinds of errors: `Exception` and `BaseException`, but they are different, should be used in different cases, and they are caught differently). Probably most users don't need to subclass `BaseException` at all.
And if they need to: there are docs for that https://docs.python.org/3/library/exceptions.html#BaseException
In my opinion - nothing should be changed there :) |
|
Date |
User |
Action |
Args |
2022-01-07 17:08:04 | sobolevn | set | recipients:
+ sobolevn, docs@python, gtitze |
2022-01-07 17:08:04 | sobolevn | set | messageid: <1641575284.84.0.433409391893.issue46291@roundup.psfhosted.org> |
2022-01-07 17:08:04 | sobolevn | link | issue46291 messages |
2022-01-07 17:08:04 | sobolevn | create | |
|