[issue18841] math.isfinite fails with Decimal sNAN

2016-05-06 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue18841] math.isfinite fails with Decimal sNAN

2014-10-14 Thread Stefan Krah
Stefan Krah added the comment: "Wont fix" sounds good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18841] math.isfinite fails with Decimal sNAN

2014-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: 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 libr

[issue18841] math.isfinite fails with Decimal sNAN

2014-08-03 Thread Mark Lawrence
Mark Lawrence added the comment: Steven, can you propose a patch for this? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bug

[issue18841] math.isfinite fails with Decimal sNAN

2013-08-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +facundobatista, mark.dickinson, rhettinger, skrah ___ Python tracker ___ ___ Python-bugs-list

[issue18841] math.isfinite fails with Decimal sNAN

2013-08-26 Thread Steven D'Aprano
New submission from Steven D'Aprano: math.isfinite currently raises ValueError when given a Decimal sNAN (signalling NAN). I've run into a situation where I'm calling isfinite() on a numeric value which may be a Decimal sNAN, and it would be nice if it returned False. On the other hand, see t