[issue737648] Error on handling nan

2010-08-14 Thread Mark Dickinson
Mark Dickinson added the comment: (and math.isnan is the recommended way to test for a nan). -- ___ Python tracker ___ ___ Python-bu

[issue737648] Error on handling nan

2010-08-14 Thread Mark Dickinson
Mark Dickinson added the comment: Reclassifying as out of date. NaN handling in Python 2.6 and later is non-accidental. -- resolution: later -> out of date ___ Python tracker ___

[issue737648] Error on handling nan

2010-08-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue737648] Error on handling nan

2007-11-06 Thread Mike Verdone
Mike Verdone added the comment: For the benefit of those who stumble here through Google, here's a workaround I've discovered for NaN testing. This is BAD: value == float('NaN') But this seems to work ok: str(value) == str(float('NaN')) -- nosy: +mike.verdone title: Error on handling