[Python-Dev] ValueErrors in range()
15 Apr 2003 12:11:38 -0700
On Tue, 2003-04-15 at 05:42, Guido van Rossum wrote:
> > Shouldn't these be TypeErrors?
> Right! I did not review this code enough. :-( Fixing now...
My fault again. I misremembered Guido wishing that range() returned
ValueError on floats (which I thought was strange at the time). Going
over a previous email, I see that he did say TypeError.
In the meantime, the test_builtins.py needs to be updated to check
against TypeError rather than ValueError. (maybe it'll be done by now;
ah, just checked, it has)