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

2009-05-26 Thread Collin Winter
Collin Winter added the comment: Fixed in r72930 (trunk), r72931 (2.6), r72942 (py3k). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

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

2009-05-25 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

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

2009-05-24 Thread Collin Winter
Collin Winter 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 stage: -> patch rev

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

2009-04-24 Thread Collin Winter
Collin Winter 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 "", line 1, in cPickle.UnpicklingError: unpickling stack underflow >>> cPick

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

2009-04-24 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

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

2009-04-19 Thread Carl Witty
New submission from Carl Witty : 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 also fails on Pytho