diff options
author | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | 2009-05-06 05:25:42 +0000 |
---|---|---|
committer | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | 2009-05-06 05:25:42 +0000 |
commit | 041f465cbd0d180426cbd5ab544266b7c06fd120 (patch) | |
tree | ace47e98347e3b88962cb57122541aece190b520 /Python/pythonrun.c | |
parent | eaeb4c695e5b493dcf66d381ff21a659d9388d62 (diff) | |
download | cpython-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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions