_______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/XA2A33CKERYELYPJS6GKVHCQAXOQKG5M/
A SystemError is typically raised from C to indicate serious bugs in the
application which shouldn't normally be caught and handled. It's used
for example for NULL arguments where a Python object is expected. So in
some sense, SystemError is the Python equivalent of a segmentation fault.
Since these exceptions should typically not be handled in a try/except
Exeption block, I suggest to make SystemError inherit directly from
BaseException instead of Exception.
- [Python-Dev] Change SystemError to NOT inherit... Jeroen Demeyer
- [Python-Dev] Re: Change SystemError to NO... Ivan Pozdeev via Python-Dev
- [Python-Dev] Re: Change SystemError to NO... Brett Cannon
- [Python-Dev] Re: Change SystemError t... Jeroen Demeyer
- [Python-Dev] Re: Change SystemErr... Brett Cannon