[Python-Dev] [Python-checkins] r83763 - in python/branches/py3k: Doc/library/signal.rst Lib/test/test_signal.py Misc/NEWS Modules/signalmodule.c (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sat Aug 7 12:09:16 CEST 2010
- Previous message: [Python-Dev] [Python-checkins] r83763 - in python/branches/py3k: Doc/library/signal.rst Lib/test/test_signal.py Misc/NEWS Modules/signalmodule.c
- Next message: [Python-Dev] [Python-checkins] r83763 - in python/branches/py3k: Doc/library/signal.rst Lib/test/test_signal.py Misc/NEWS Modules/signalmodule.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hirokazu Yamamoto wrote:
#define SIG(name) if (signum != SIG##name) SIG(ABRT) SIG(FPE) SIG(ILL) SIG(INT) SIG(SEGV) SIG(TERM) { PyErrSetString(PyExcValueError, "signal number out of range");
"Out of range" doesn't seem like quite the right message here, because it suggests a contiguous range of legal values, which isn't the case.
-- Greg
- Previous message: [Python-Dev] [Python-checkins] r83763 - in python/branches/py3k: Doc/library/signal.rst Lib/test/test_signal.py Misc/NEWS Modules/signalmodule.c
- Next message: [Python-Dev] [Python-checkins] r83763 - in python/branches/py3k: Doc/library/signal.rst Lib/test/test_signal.py Misc/NEWS Modules/signalmodule.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]