Roundup Robot added the comment:
New changeset c256764e2b3f by Victor Stinner in branch '3.2':
Issue #16455: On FreeBSD and Solaris, if the locale is C, the
http://hg.python.org/cpython/rev/c256764e2b3f
New changeset 5bb289e4fb35 by Victor Stinner in branch '3.3':
(Merge 3.2) Issue #16455: On
STINNER Victor added the comment:
I backported the fix to Python 3.2 and 3.3 because I consider it important
enough.
--
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16455
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16455
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
title: sys.getfilesystemencoding() is not the locale encoding on FreeBSD and
OpenSolaris when the locale is not set - Decode command line arguments from
ASCII on FreeBSD and Solaris if the locale is C
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)
STINNER Victor added the comment:
New changeset c25635b137cc by Victor Stinner in branch 'default':
Issue #16455: On FreeBSD and Solaris, if the locale is C, the
http://hg.python.org/cpython/rev/c25635b137cc
This changeset should fix #16218 on FreeBSD and Solaris (these OS should now
decode