Message96735
The patch is *almost* okay.
errno = 0;
div = c_quot(v->cval,w->cval); /* The raw divisor value. */
if (errno == EDOM) {
- PyErr_SetString(PyExc_ZeroDivisionError, "complex remainder");
+ PyErr_SetString(PyExc_ZeroDivisionError, "complex modulo by zero");
return NULL;
It should be as expressed in the code above. In the patch, the fixed
string is "complex remainder by zero", but this is broken English. I
propose "complex modulo by zero". Please fix your patch and we're good. |
|
Date |
User |
Action |
Args |
2009-12-21 11:05:03 | Retro | set | recipients:
+ Retro, mark.dickinson, ezio.melotti |
2009-12-21 11:05:02 | Retro | set | messageid: <1261393502.89.0.209918787235.issue7482@psf.upfronthosting.co.za> |
2009-12-21 11:05:01 | Retro | link | issue7482 messages |
2009-12-21 11:05:01 | Retro | create | |
|