[issue5308] cannot marshal objects with more than 2**31 elements

Serhiy Storchaka report at bugs.python.org
Wed Feb 6 16:56:03 CET 2013


Serhiy Storchaka added the comment:

> (And as a matter of principle, 
> INT_MAX isn't really right here: an int might be only 16 bits long on 
> some strange platforms...).

AFAIK Python doesn't support such platforms (and C standard requites at least 32-bit ints). However there are strange platforms with 64-bit ints. That's why I used the explicit constant 0x7FFFFFFF.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5308>
_______________________________________


More information about the Python-bugs-list mailing list