[issue5794] pickle/cPickle of recursive tuples create pickles that cPickle can't load

2009-05-26 Thread Collin Winter
Collin Winter coll...@gmail.com added the comment: Fixed in r72930 (trunk), r72931 (2.6), r72942 (py3k). -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue5794] pickle/cPickle of recursive tuples create pickles that cPickle can't load

2009-05-25 Thread Alexandre Vassalotti
Alexandre Vassalotti alexan...@peadrop.com added the comment: Looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5794 ___ ___

[issue5794] pickle/cPickle of recursive tuples create pickles that cPickle can't load

2009-05-24 Thread Collin Winter
Collin Winter coll...@gmail.com added the comment: Bug-fix patch attached. Alexandre, can you take a look? Feel free to bounce it back if you don't have time. I'll port to 2.6 and py3k once this is reviewed for trunk. -- keywords: +26backport, easy, patch nosy: +alexandre.vassalotti

[issue5794] pickle/cPickle of recursive tuples create pickles that cPickle can't load

2009-04-24 Thread Collin Winter
Changes by Collin Winter coll...@gmail.com: -- nosy: +collinwinter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5794 ___ ___ Python-bugs-list

[issue5794] pickle/cPickle of recursive tuples create pickles that cPickle can't load

2009-04-24 Thread Collin Winter
Collin Winter coll...@gmail.com added the comment: Interestingly, it only fails with protocol 0: v = ([],) v[0].append(v) import pickle,cPickle cPickle.loads(pickle.dumps(v, 0)) Traceback (most recent call last): File stdin, line 1, in module cPickle.UnpicklingError: unpickling stack

[issue5794] pickle/cPickle of recursive tuples create pickles that cPickle can't load

2009-04-19 Thread Carl Witty
New submission from Carl Witty carl.wi...@gmail.com: When I try to pickle a recursive tuple (that recurses through a list), pickle can load the result but cPickle fails with unpickling stack overflow. (I just downloaded and built Python 2.6.2 on 64-bit x86 Debian testing to verify this bug; it