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

2008-06-22 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Commited in 64455, thank you! -- nosy: +facundobatista resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[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: Library (Lib) file