Yeah, "New in version 2.6." I believe Jayesh wants to have
everything Python 2.5-compatible, as this is what runs on
the tablets. Googling around reveals the following:
http://stackoverflow.com/questions/944700/how-to-check-for-nan-in-python
def isNaN(num):
return num != num
You should be able to use this function as a replacement
for math.isnan() when it's not available (e.g. on Python 2.5).
HTH.
Thomas
Ok, but perhaps it is worth to think about keeping separate branches
for different python versions?
Say:
-Inkface_2.5
-Inkface_2.6
Just aloud thoughts.