Re: [Python-Dev] NaN / Infinity in Python

2007-06-07 Thread Josiah Carlson
Armin Ronacher <[EMAIL PROTECTED]> wrote: > It's one of those "non issues" but there are still some situations where you > have to deal with Infinity and NaN, even in Python. Basically one the problems > is that the repr of floating point numbers is platform depending and sometimes > yields "nan"

[Python-Dev] NaN / Infinity in Python

2007-06-07 Thread Armin Ronacher
Hi, It's one of those "non issues" but there are still some situations where you have to deal with Infinity and NaN, even in Python. Basically one the problems is that the repr of floating point numbers is platform depending and sometimes yields "nan" which is not evaluable. It's true that eval()