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 mark.dickinson
Recipients mark.dickinson, skrah, steven.daprano
Date 2012-08-03.13:33:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344000814.35.0.218453626805.issue15544@psf.upfronthosting.co.za>
In-reply-to
Content
> before the conversion to float. By I have no idea whether that is
> practical in the math module.

That's a much bigger discussion:  as it is, most of the math module functions just provide simple wrappers around the system math library, which deals purely with floats.  *Some* of the math module functions have been made more generic, like floor and ceil (which look for special __floor__ and __ceil__ methods), but isnan isn't one of those:  like most of the math module functions, it simply converts whatever it's given to float, then passes it on to the system library and returns whatever it gets back.

Changing that would be feature request targeted at 3.4 or later;  I'm not saying that it shouldn't be considered, but it doesn't belong in this issue.
History
Date User Action Args
2012-08-03 13:33:34mark.dickinsonsetrecipients: + mark.dickinson, steven.daprano, skrah
2012-08-03 13:33:34mark.dickinsonsetmessageid: <1344000814.35.0.218453626805.issue15544@psf.upfronthosting.co.za>
2012-08-03 13:33:32mark.dickinsonlinkissue15544 messages
2012-08-03 13:33:31mark.dickinsoncreate