summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@in-nomine.org>2009-05-06 05:25:42 +0000
committerJeroen Ruigrok van der Werven <asmodai@in-nomine.org>2009-05-06 05:25:42 +0000
commit041f465cbd0d180426cbd5ab544266b7c06fd120 (patch)
treeace47e98347e3b88962cb57122541aece190b520 /Python/Python-ast.c
parenteaeb4c695e5b493dcf66d381ff21a659d9388d62 (diff)
downloadcpython-git-041f465cbd0d180426cbd5ab544266b7c06fd120.tar.gz
Wrap getpreferredencoding()'s use of setlocale in a try/except to prevent
us from raising an exception when the locale is invalid. Issue #1443504
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions