[Python-3000] Should len() clip to sys.maxsize or raiseOverflowError?

Raymond Hettinger python at rcn.com
Tue Sep 2 23:30:59 CEST 2008


From: "Guido van Rossum" <guido at python.org>
> That said, I would actually be okay with the status quo (which does
> raise an OverflowError) as long as we commit to fixing this properly
> in 2.7 / 3.1, by removing the range restriction (like we've done for
> other int operations a long time ago).

And there was much rejoicing!


Raymond


More information about the Python-3000 mailing list