Writing this either a long or short path is great for me:
$ python2.4 -c "print float('inf')+200"
inf
$ python2.5 -c "print float('inf')+200"
inf
$ python2.5 -c "print float('infinity')+200"
inf
$ python2.4 -c "print float('infinity')+200"
inf
The flag -cmeans "execute the following arguments as a Python command."
PEP754 ( ) IEEE-754. - 1e300000 inf, , .