]> granicus.if.org Git - python/commit
(Merge 3.2) Issue #16455: On FreeBSD and Solaris, if the locale is C, the
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 3 Jan 2013 00:21:07 +0000 (01:21 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 3 Jan 2013 00:21:07 +0000 (01:21 +0100)
commit7ae320d66787e2b4dec293350ec379d5d04fe81b
tree4eff8b8fc76237c4d7eac384d93597083d5fdc04
parent791e464f75bec3829c5e9351b728bb78b0ec0719
parent20b654acb50cf59a4b8f8058db5f6b8162bdb91b
(Merge 3.2) Issue #16455: On FreeBSD and Solaris, if the locale is C, the
ASCII/surrogateescape codec is now used, instead of the locale encoding, to
decode the command line arguments. This change fixes inconsistencies with
os.fsencode() and os.fsdecode() because these operating systems announces an
ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.
Misc/NEWS
Objects/unicodeobject.c
Python/fileutils.c