On 2016-05-23, Steven D'Aprano <st...@pearwood.info> wrote:
> But one thing is certain: very few people, Jon Ribbens being one of them,
> expects 1/3 to return 0. And that is why Python changed the meaning of
> the / operator: because using it for integer division was deeply unpopular
> and a bug magnet.

Making it return floats is also a bug magnet, just for more subtle
bugs that are harder to diagnose.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to