diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-01-03 00:21:07 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-01-03 00:21:07 (GMT) |
commit | 7ae320d66787e2b4dec293350ec379d5d04fe81b (patch) | |
tree | 4eff8b8fc76237c4d7eac384d93597083d5fdc04 /Misc | |
parent | 791e464f75bec3829c5e9351b728bb78b0ec0719 (diff) | |
parent | 20b654acb50cf59a4b8f8058db5f6b8162bdb91b (diff) | |
download | cpython-7ae320d66787e2b4dec293350ec379d5d04fe81b.zip cpython-7ae320d66787e2b4dec293350ec379d5d04fe81b.tar.gz cpython-7ae320d66787e2b4dec293350ec379d5d04fe81b.tar.bz2 |
(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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -12,6 +12,12 @@ What's New in Python 3.3.1? 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 |