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 eric.araujo
Recipients astrand, belopolsky, eric.araujo, mark.dickinson
Date 2010-07-19.20:33:20
SpamBayes Score 0.0006614488
Marked as misclassified No
Message-id <1279571608.05.0.578313269856.issue9308@psf.upfronthosting.co.za>
In-reply-to
Content
This is not easy after all, kudos for taking care of that.

The shlex fix was reverted IIRC because Mark was unsure of the fix, since our diff tools try to be too clever and decode files, not showing us the bytes differences. I don’t trust my editor either, nor the file command (which says very funny things about Python files). I only trust Python’s open function to give me the exact bytes, which I can compare with 'æ'.encode('utf-8') and 'æ'.encode('latin1') to make up my mind.

In this case, I would trust the left-hand side of the diff seen in r82560 as a definition of what those characters are supposed to be, since I don’t have POSIX handy <wink>, and add the \x escapes for those characters (per Guido’s recommendation—I regret we’ve switched to UTF-8 but can’t use it).
History
Date User Action Args
2010-07-19 20:33:28eric.araujosetrecipients: + eric.araujo, astrand, mark.dickinson, belopolsky
2010-07-19 20:33:28eric.araujosetmessageid: <1279571608.05.0.578313269856.issue9308@psf.upfronthosting.co.za>
2010-07-19 20:33:21eric.araujolinkissue9308 messages
2010-07-19 20:33:20eric.araujocreate