Message143171
| Author |
vinay.sajip |
| Recipients |
amaury.forgeotdarc, belopolsky, brian.curtin, eric.araujo, ezio.melotti, kumma, meador.inge, vinay.sajip |
| Date |
2011年08月29日.18:27:00 |
| SpamBayes Score |
0.00031109183 |
| Marked as misclassified |
No |
| Message-id |
<1314642420.79.0.884565067798.issue9041@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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? |
|