Re:What is the most intrusive wart on your favourite program...
by Dilpil on Sunday December 07, 2008 @11:21PM
(#389481)
If your working with integers, 1 div 3 is indeed zero.
Re:What is the most intrusive wart on your favourite program...
by Zaak on Monday December 08, 2008 @01:15AM
(#389562)
That makes sense in a language like C, but in Python there's no telling if you've got integers or floats at the point the division happens.
I'm very happy it's fixed in Python 3.
well, unless you do