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.

Author gvanrossum
Recipients Carl.Friedrich.Bolz, gvanrossum
Date 2007-11-13.18:28:40
SpamBayes Score 0.14551595
Marked as misclassified No
Message-id <1194978520.36.0.348492642171.issue1433@psf.upfronthosting.co.za>
In-reply-to
Content
I think this is unavoidable. Depending on whether you happen to be using
a narrow or wide unicode build of Python, \Uxxxxxxxx may be turned into
a pair of surrogates anyway. It's not just marshal that's not
roundtripping; the utf-8 codec has the same issue (and so does the
utf-16 codec I presume). You will have to code around it. I think that
the alternative would be more painful in other circumstances.
History
Date User Action Args
2007-11-13 18:28:40gvanrossumsetspambayes_score: 0.145516 -> 0.14551595
recipients: + gvanrossum, Carl.Friedrich.Bolz
2007-11-13 18:28:40gvanrossumsetspambayes_score: 0.145516 -> 0.145516
messageid: <1194978520.36.0.348492642171.issue1433@psf.upfronthosting.co.za>
2007-11-13 18:28:40gvanrossumlinkissue1433 messages
2007-11-13 18:28:40gvanrossumcreate