On 2010/08/07 19:09, Greg Ewing wrote: > Hirokazu Yamamoto wrote: > >> #define SIG(name) if (sig_num != SIG##name) >> SIG(ABRT) SIG(FPE) SIG(ILL) SIG(INT) SIG(SEGV) SIG(TERM) { >> PyErr_SetString(PyExc_ValueError, "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. I agree, I suppose "invalid signal number" or something is better.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4