STINNER Victor added the comment:

> We have two options, I don't know which one is the best (safer).

Force ASCII is safer. Python should announce that it does not "understand" 
non-ASCII bytes on the command line. I also chose this option because 
isalpha(0xe9) returns 0 (even if mbstowcs(0xe9) returns L"\xe9"): FreeBSD 
doesn't consider U+00E9 as a letter in the C locale, so Python should also 
consider this byte as raw data.

----------

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

Reply via email to