3 Jul
2019
3 Jul
'19
12:29 a.m.
There's two issues with this idea. One, backwards-compatibility, especially since the only good way to handle this would be to modify the exception-handling code to recognize this specific case during deprecation. But two, this would be a semantic shift of what classes directly inherit from `BaseException`. If you look at https://docs.python.org/3/library/exceptions.html#exception-hierarchy you will see that the only classes that inherit directly are ones that represent control flow. Adding `SystemError` to that list would make it a unique error condition that doesn't inherit from `Exception`.