Message5677

Author pjenvey
Recipients pekka.klarck, pjenvey
Date 2010-04-11.23:26:58
SpamBayes Score 2.9517143e-05
Marked as misclassified No
Message-id <1271028418.87.0.340960265263.issue1592@psf.upfronthosting.co.za>
In-reply-to
Content
We just can't change objects that are expected to be str to unicode because they're incompatible in certain situations -- when you combine unicode with non-ascii strs you end up with UnicodeDecodeErrors. 

Consider a value somehow created from or combined with part of the argv that a developer assumes is a str -- with this change it would become unicode. If that value is combined with a non-ascii str in some later part of his codebase a mysterious UnicodeDecodeError is raised. 

Furthermore tracking down what the cause of that the error was can be really painful
History
Date User Action Args
2010-04-11 23:26:58pjenveysetmessageid: <1271028418.87.0.340960265263.issue1592@psf.upfronthosting.co.za>
2010-04-11 23:26:58pjenveysetrecipients: + pjenvey, pekka.klarck
2010-04-11 23:26:58pjenveylinkissue1592 messages
2010-04-11 23:26:58pjenveycreate