Message 57462 - Python tracker (original) (raw)

Message57462

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:40 gvanrossum set spambayes_score: 0.145516 -> 0.14551595recipients: + gvanrossum, Carl.Friedrich.Bolz
2007-11-13 18:28:40 gvanrossum set spambayes_score: 0.145516 -> 0.145516messageid: 1194978520.36.0.348492642171.issue1433@psf.upfronthosting.co.za
2007-11-13 18:28:40 gvanrossum link issue1433 messages
2007-11-13 18:28:40 gvanrossum create