Author rhettinger
Recipients larry, rhettinger
Date 2019-08-24.19:09:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566673791.31.0.298012277207.issue37942@roundup.psfhosted.org>
In-reply-to
Content
The API for PyFloat_AsDouble() returns -1.0 to indicate an error.  PyErr_Occurred() should only be called if there is a -1.0 return code.  This is the normal practice for those calls and it is a bit faster because it avoids unnecessary external call.
History
Date User Action Args
2019-08-24 19:09:51rhettingersetrecipients: + rhettinger, larry
2019-08-24 19:09:51rhettingersetmessageid: <1566673791.31.0.298012277207.issue37942@roundup.psfhosted.org>
2019-08-24 19:09:51rhettingerlinkissue37942 messages
2019-08-24 19:09:51rhettingercreate