Message6314

Author alex.gronholm
Recipients alex.gronholm, otmarhumbel, pjenvey
Date 2011-01-06.23:46:27
SpamBayes Score 3.8031543e-05
Marked as misclassified No
Message-id <1294357587.63.0.178909618421.issue1693@psf.upfronthosting.co.za>
In-reply-to
Content
I'm sorry to say that this patch doesn't cut it, not by far.
Two reasons: first, using latin-1 encoding in PyUnicode breaks CPython compatibility (UnicodeError should be thrown when u'åäö' is converted to str); second, you'd still get a UnicodeError when adding a path element with, say, chinese characters. Why are sys.path elements being converted to bytestrings anyway?
History
Date User Action Args
2011-01-06 23:46:27alex.gronholmsetmessageid: <1294357587.63.0.178909618421.issue1693@psf.upfronthosting.co.za>
2011-01-06 23:46:27alex.gronholmsetrecipients: + alex.gronholm, otmarhumbel, pjenvey
2011-01-06 23:46:27alex.gronholmlinkissue1693 messages
2011-01-06 23:46:27alex.gronholmcreate