[SciPy-user] Python number handling?

Alan G Isaac aisaac at american.edu
Fri Jul 15 08:24:21 CDT 2005


On Fri, 15 Jul 2005, David A Howey apparently wrote: 
> I'm a bit worried that when it come to using variables, because you 
> don't declare them (eg as integer or float) python might mess up 
> division and give you the first result above rather than the second. 

from __future__ import division
http://www.python.org/peps/pep-0238.html

hth,
Alan Isaac





More information about the SciPy-user mailing list