Was some thought given to possibly adding these as
float methods instead of as separate functions?

     float.isinf()
     float.isnan()

Also, it would be useful to have a new method, float.is_integer().  This would 
be better than the current approach where we make the 
test:  if x == floor(x).


Raymond 
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to