On Jul 20, 9:13 am, Paul Rubin <http://phr...@nospam.invalid> wrote:
> Steven D'Aprano <ste...@remove.this.cybersource.com.au> writes:
> > Besides, one can legitimately disagree that 2/3 => 0 is the wrong thing
> > to do. It's the right thing to do if you're doing integer maths.
>
> I wonder whether 2/3 => ValueError is preferable.

Not all software wants this. It shouldn't be part of the language but
rather part of your code if you need such a feature. (for instance, to
distinguish between 2/3 and divisions with 0 dividend).
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to