This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author robert@smithpierce.net
Recipients robert@smithpierce.net
Date 2016-08-27.19:16:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472325384.28.0.119216785398.issue27880@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2016-08-27 19:16:24robert@smithpierce.netsetrecipients: + robert@smithpierce.net
2016-08-27 19:16:24robert@smithpierce.netsetmessageid: <1472325384.28.0.119216785398.issue27880@psf.upfronthosting.co.za>
2016-08-27 19:16:24robert@smithpierce.netlinkissue27880 messages
2016-08-27 19:16:24robert@smithpierce.netcreate