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 brandtbucher
Recipients brandtbucher, cheryl.sabella, rhettinger, serhiy.storchaka, tim.peters
Date 2019-02-23.21:49:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550958582.94.0.684834092963.issue36095@roundup.psfhosted.org>
In-reply-to
Content
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)))
History
Date User Action Args
2019-02-23 21:49:42brandtbuchersetrecipients: + brandtbucher, tim.peters, rhettinger, serhiy.storchaka, cheryl.sabella
2019-02-23 21:49:42brandtbuchersetmessageid: <1550958582.94.0.684834092963.issue36095@roundup.psfhosted.org>
2019-02-23 21:49:42brandtbucherlinkissue36095 messages
2019-02-23 21:49:42brandtbuchercreate