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

Robert Pierce report at bugs.python.org
Sat Aug 27 15:16:24 EDT 2016


New submission from Robert Pierce:

cPickle fails on large objects, throwing a SystemError exception which is cryptic. 

The issue was fixed for pickle in python 3 back in 2011 (http://bugs.python.org/issue11564), but never addressed in 2.7.  It seems to be a recurring complaint (e.g., http://bugs.python.org/issue11872), but always seems to be closed without being fixed or explained why it cannot be fixed.

Test case from 2011 still fails:

>>> import cPickle; cPickle.dumps('a' * (2 ** 31),-1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: error return without exception set

----------
components: Library (Lib)
messages: 273795
nosy: robert at smithpierce.net
priority: normal
severity: normal
status: open
title: cPickle fails on large objects (still - 2011 and counting)
type: behavior
versions: Python 2.7

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


More information about the New-bugs-announce mailing list