[issue3179] cPickle is seriously broken

2008-06-26 Thread Jesús Cea Avión
Changes by Jesús Cea Avión [EMAIL PROTECTED]: -- nosy: +jcea ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3179 ___ ___ Python-bugs-list mailing list

[issue3179] cPickle is seriously broken

2008-06-25 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: I reverted the patch, commented out the previous test, and included this one in the test suite, to never break it again, ;) I hope we now find a solution to the issue #2702. Thank you!! ___ Python tracker

[issue3179] cPickle is seriously broken

2008-06-25 Thread Facundo Batista
Changes by Facundo Batista [EMAIL PROTECTED]: -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3179 ___ ___

[issue3179] cPickle is seriously broken

2008-06-24 Thread Ralf Schmitt
Ralf Schmitt [EMAIL PROTECTED] added the comment: the test works as expected (i.e. it fails). The problem I had was that some Bittorrent bencode also installed a test package for me. == ERROR: test_flat_list

[issue3179] cPickle is seriously broken

2008-06-24 Thread Ralf Schmitt
Ralf Schmitt [EMAIL PROTECTED] added the comment: btw. this should be a release blocker. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3179 ___ ___

[issue3179] cPickle is seriously broken

2008-06-23 Thread Ralf Schmitt
New submission from Ralf Schmitt [EMAIL PROTECTED]: import cPickle res=[] for x in range(1,2000): res.append(dict(doc=x, similar=[])) cPickle.dumps(res) Traceback (most recent call last): File pi.py, line 10, in module cPickle.dumps(res) RuntimeError: maximum recursion depth exceeded

[issue3179] cPickle is seriously broken

2008-06-23 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: This example works before my patch, exactly! The reason of the patch I applied is that in some cases a Recursion error should be raised, but it didn't happen, causing some serious issues later. I'm putting in copy to cuerty, for him to

[issue3179] cPickle is seriously broken

2008-06-23 Thread Ralf Schmitt
Ralf Schmitt [EMAIL PROTECTED] added the comment: Apparently there are some self-nesting-- calls missing in batch_list and batch_dict. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3179 ___

[issue3179] cPickle is seriously broken

2008-06-23 Thread Ralf Schmitt
Ralf Schmitt [EMAIL PROTECTED] added the comment: Of course it should not raise an RecursionError. for reference: http://bugs.python.org/issue2702 is the original bugreport. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3179

[issue3179] cPickle is seriously broken

2008-06-23 Thread Ralf Schmitt
Ralf Schmitt [EMAIL PROTECTED] added the comment: here is a test case. I cannot run it however: ~/pydev/trunk/ ./python Lib/test/test_cpickle.py [EMAIL PROTECTED] ok Traceback (most recent call last): File Lib/test/test_cpickle.py, line 3, in module from test.pickletester

[issue3179] cPickle is seriously broken

2008-06-23 Thread Facundo Batista
Changes by Facundo Batista [EMAIL PROTECTED]: -- assignee: - facundobatista ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3179 ___ ___