Message336407
As a design decision, I consciously chose "no". However, it would be straightforward to make the change to support float subclasses:
#define ISNAN(N) (N->ob_type == &PyFloat_Type && Py_IS_NAN(PyFloat_AsDouble(N)))
becomes
#define ISNAN(N) (PyFloat_Check(N) && Py_IS_NAN(PyFloat_AsDouble(N))) |
|
Date |
User |
Action |
Args |
2019-02-23 21:49:42 | brandtbucher | set | recipients:
+ brandtbucher, tim.peters, rhettinger, serhiy.storchaka, cheryl.sabella |
2019-02-23 21:49:42 | brandtbucher | set | messageid: <1550958582.94.0.684834092963.issue36095@roundup.psfhosted.org> |
2019-02-23 21:49:42 | brandtbucher | link | issue36095 messages |
2019-02-23 21:49:42 | brandtbucher | create | |
|