If Scheme is so good why MIT drops it?

vippstar vippstar at gmail.com
Mon Jul 20 08:29:40 EDT 2009


On Jul 20, 9:13 am, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
> Steven D'Aprano <ste... at 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).



More information about the Python-list mailing list