summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2012-12-04 01:34:47 +0100
committerVictor Stinner <victor.stinner@gmail.com>2012-12-04 01:34:47 +0100
commit2e540f952688de0d7b1a6f5926fb0ef695518eb6 (patch)
treedd4717342188621e1190d47a6b7941e1ca45c9c1 /Python/Python-ast.c
parentdca07911b29139fc1eef66cc366d0e0ead3b8853 (diff)
downloadcpython-2e540f952688de0d7b1a6f5926fb0ef695518eb6.tar.gz
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 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions