Division

Tim Peters tim.one at comcast.net
Fri May 16 21:38:27 EDT 2003


[Scott David Daniels]
> Is my memory faulty, or was 2.3 to introduce the improved division?
> 2.2.2 allows "from __future__ import division", but 2.3 also seems
> to think that "2/3 > 0" is only true with future division as well.

It's such a big change that the plan has always been to keep current
division behavior until Python 3.0:

    http://www.python.org/peps/pep-0238.html






More information about the Python-list mailing list