diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-01-03 00:08:58 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-01-03 00:08:58 (GMT) |
commit | 20b654acb50cf59a4b8f8058db5f6b8162bdb91b (patch) | |
tree | 3330fbbd3e1d3b51a0a751db52aa974731dd0308 /Misc | |
parent | 638fb9bbedd84975512554194a5a22b9e2c0637c (diff) | |
download | cpython-20b654acb50cf59a4b8f8058db5f6b8162bdb91b.zip cpython-20b654acb50cf59a4b8f8058db5f6b8162bdb91b.tar.gz cpython-20b654acb50cf59a4b8f8058db5f6b8162bdb91b.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -10,6 +10,12 @@ What's New in Python 3.2.4 Core and Builtins ----------------- +- 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. + - Issue #16761: Calling int() with base argument only now raises TypeError. - Issue #16759: Support the full DWORD (unsigned long) range in Reg2Py |