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 BreamoreBoy, docs@python, facundobatista, mark.dickinson, rhettinger, skrah, steven.daprano
Date 2014-08-06.12:18:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407327492.3.0.843845436223.issue18841@psf.upfronthosting.co.za>
In-reply-to
Content
Mark: it's not really ready for a patch, since there's no agreement yet on how best to solve this.  In fact, I'm tempted to close as "wont fix": the argument is that the math module consists for the most part only of thin wrappers around the platform math library.

The underlying need (as far as I understand it) is to be able to tell whether a given number is a nan or not without having to know in advance whether it's a float, int or Decimal instance.  There may be other ways of achieving this goal (like adding an `is_nan` method to `float` and `int`, for example.)
History
Date User Action Args
2014-08-06 12:18:12mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, facundobatista, steven.daprano, skrah, docs@python, BreamoreBoy
2014-08-06 12:18:12mark.dickinsonsetmessageid: <1407327492.3.0.843845436223.issue18841@psf.upfronthosting.co.za>
2014-08-06 12:18:12mark.dickinsonlinkissue18841 messages
2014-08-06 12:18:11mark.dickinsoncreate