Python 3000 deat !? Is true division ever coming ?
Rocco Moretti
roccomoretti at hotpop.com
Fri Feb 17 10:37:01 EST 2006
Steven D'Aprano wrote:
> Anybody using Python *should* be aware of the division issue. As soon as
> they see a division, it is their responsibility to *find out what it
> means*. That doesn't require much work: they can scroll up to the
> beginning of the module and look at the first few lines. That's not hard.
And anyone wanting strict integer division semantics,(and not needing
pre-2.2 compatability) should be using the '//' floor division operator
anyway.
More information about the Python-list
mailing list