Message143171
While the patch might improve over the current situation, doesn't it potentially mask other errors which might be raised by PyFloat_AsDouble()?
Why not just
x = PyFloat_AsDouble(value);
if (PyErr_Occurred())
return NULL;
which would not mask any exception? |
|
Date |
User |
Action |
Args |
2011-08-29 18:27:01 | vinay.sajip | set | recipients:
+ vinay.sajip, amaury.forgeotdarc, belopolsky, ezio.melotti, eric.araujo, brian.curtin, meador.inge, kumma |
2011-08-29 18:27:00 | vinay.sajip | set | messageid: <1314642420.79.0.884565067798.issue9041@psf.upfronthosting.co.za> |
2011-08-29 18:27:00 | vinay.sajip | link | issue9041 messages |
2011-08-29 18:27:00 | vinay.sajip | create | |
|