This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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.000311092
Marked as misclassified No
Message-id <>
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:01vinay.sajipsetrecipients: + vinay.sajip, amaury.forgeotdarc, belopolsky, ezio.melotti, eric.araujo, brian.curtin, meador.inge, kumma
2011-08-29 18:27:00vinay.sajipsetmessageid: <>
2011-08-29 18:27:00vinay.sajiplinkissue9041 messages
2011-08-29 18:27:00vinay.sajipcreate