[issue12011] The signal module should raise OSError for OS-related exceptions, not RuntimeError

STINNER Victor report at bugs.python.org
Thu May 5 22:56:06 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

I asked if I should use RuntimeError or OSError for the new signal functions (#8407) on python-dev. Georg Brandl answered:

"If it has an errno, it should be a subclass of EnvironmentError."

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12011>
_______________________________________


More information about the Python-bugs-list mailing list