This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: cPickle calls to save_string and save_unicode with unicode objects.
Type: Stage:
Components: Library (Lib) Versions: Python 3.0, Python 2.6
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: cuerty, facundobatista
Priority: normal Keywords: patch

Created on 2008-06-21 21:02 by cuerty, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit
cpickle-unicode-r64448.diff cuerty, 2008-06-21 21:02 Patch to avoid the double call to save_(str|unicode)
Messages (2)
msg68541 - (view) Author: Angel Freire (cuerty) Date: 2008-06-21 21:02
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.
msg68566 - (view) Author: Facundo Batista (facundobatista) * (Python committer) Date: 2008-06-22 15:27
Commited in 64455, thank you!
Date User Action Args
2022-04-11 14:56:35adminsetgithub: 47414
2008-06-22 15:27:47facundobatistasetstatus: open -> closed
resolution: accepted
messages: + msg68566
nosy: + facundobatista
2008-06-21 21:02:59cuertycreate