Message350395
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. |
|
Date |
User |
Action |
Args |
2019-08-24 19:09:51 | rhettinger | set | recipients:
+ rhettinger, larry |
2019-08-24 19:09:51 | rhettinger | set | messageid: <1566673791.31.0.298012277207.issue37942@roundup.psfhosted.org> |
2019-08-24 19:09:51 | rhettinger | link | issue37942 messages |
2019-08-24 19:09:51 | rhettinger | create | |
|