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

Angel Freire report at bugs.python.org
Sat Jun 21 23:03:00 CEST 2008


New submission from Angel Freire <cuerty at gmail.com>:

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)
files: cpickle-unicode-r64448.diff
keywords: patch
messages: 68541
nosy: cuerty
severity: normal
status: open
title: cPickle calls to save_string and save_unicode with unicode objects.
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file10692/cpickle-unicode-r64448.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3164>
_______________________________________


More information about the Python-bugs-list mailing list