[issue27880] cPickle fails on large objects (still - 2011 and counting)

Xiang Zhang report at bugs.python.org
Tue Mar 14 00:13:04 EDT 2017


Xiang Zhang added the comment:

>>> import cPickle
[45575 refs]
>>> cPickle.dumps('a' * (2 ** 31),-1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: cannot serialize a string larger than 2 GiB
[45606 refs]
>>> 

:-)

----------
nosy: +xiang.zhang

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


More information about the Python-bugs-list mailing list