Éric Araujo <mer...@netwok.org> added the comment:

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).

----------
keywords:  -easy
nosy: +mark.dickinson

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9308>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to