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

Jesus Cea jcea at jcea.es
Wed Sep 3 18:59:15 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Guido van Rossum wrote:
> 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).

+1

Some of my python time is spend managing a huge python persistent
repository of almost two hundred terabytes. I have more than 2^32
objects just now. In fact, a bit more than 2^35. Growing about 25-30%
per year. Disk capacity raises about 40% per year, so the hardware
growing is under control :)... barely.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSL7CYJlgi5GaxT1NAQJwFgP9HHsI/GfNY3i0ZTEvfRt16BGVJ5gOKq35
KNDv4XzuMFmdaPEdwtAuKvGEbcb5f8+jvkbi3kmUHVJI73hs0pO/lKMbtKAjwsal
rq/wlA7na6oHhe7zIN/UljQPJhy1K0SuSO2Y0GzeJ88MTRbBjw/Ulitw3ESc5Dij
eSQkpRrkQHc=
=QSRC
-----END PGP SIGNATURE-----


More information about the Python-3000 mailing list