comparison Python/Python-ast.c @ 81258:5bb289e4fb35 3.3

(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.
author Victor Stinner <victor.stinner@gmail.com>
date Thu, 03 Jan 2013 01:21:07 +0100
parents ffb2fa900cb7
children f2d557484906 03f92a9f0875
comparison
equal deleted inserted replaced
81255:93654d0d9b1e 81258:5bb289e4fb35