[New-bugs-announce] [issue1433] marshal roundtripping for unicode

Carl Friedrich Bolz report at bugs.python.org
Tue Nov 13 11:53:09 CET 2007

New submission from Carl Friedrich Bolz:

Marshal does not round-trip unicode surrogate pairs for wide unicode-builds:

marshal.loads(marshal.dumps(u"\ud800\udc00")) == u'\U00010000'

This is very annoying, because the size of unicode constants differs
between when you run a module for the first time and subsequent runs
(because the later runs use the pyc file).

components: Unicode
messages: 57444
nosy: cfbolz
severity: normal
status: open
title: marshal roundtripping for unicode
versions: Python 2.5

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list