[issue3165] cPickle recursion problem

2008-06-21 Thread Angel Freire
New submission from Angel Freire <[EMAIL PROTECTED]>: A single Picklerobject->nesting++ will not take into consideration the stack overhead caused by calls from save->save_{list,dict}->batch{list,dict}. -- components: Library (Lib) files: cpickle-r64448.diff keywords:

[issue3164] cPickle calls to save_string and save_unicode with unicode objects.

2008-06-21 Thread Angel Freire
New submission from Angel Freire <[EMAIL PROTECTED]>: If Python trunk is compiled using Py_USING_UNICODE it'll call both, save_str and save_unicode for an string object. The patch adds a break to the case statment in case it encounters a unicode or str. -- components: L