None???

Tim Rowe tim at remove_if_not_spam.digitig.co.uk
Mon Sep 22 11:19:05 EDT 2003


On Sun, 21 Sep 2003 11:13:47 -0700, David Eppstein
<eppstein at ics.uci.edu> wrote:

>Arguably, any code that uses / with integer arguments is now buggy, 
>because it will produce different results in different Python versions.  
>You should either use // (integer division) or force floating point 
>division (e.g. by changing the expression to income*percent/100.0).

What's the behaviour of "from __future__ import division" on versions
that are too old to know about the future of division?




More information about the Python-list mailing list