[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 ___

[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 rep...@bugs.python.org http://bugs.python.org/issue18841 ___ ___ Python-bugs-list mailing

[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

[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 rep...@bugs.python.org http://bugs.python.org/issue18841 ___

[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

[issue18841] math.isfinite fails with Decimal sNAN

2013-08-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +facundobatista, mark.dickinson, rhettinger, skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18841 ___