[Python-3000] range() issues

Greg Ewing greg.ewing at canterbury.ac.nz
Thu May 1 00:49:23 CEST 2008


Guido van Rossum wrote:
> I would like to see the following:
> 
> - sq_length should return maxsize if the actual value doesn't fit

So that code will silently behave as though the rest of
the sequence wasn't there some of the time?

Can you elaborate on the rationale for this? I'm having
trouble seeing how it's a good idea.

-- 
Greg


More information about the Python-3000 mailing list