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: rob...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue27880>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to