[Python-checkins] cpython (merge default -> default): Merge heads
serhiy.storchaka
python-checkins at python.org
Sun Nov 2 18:29:28 CET 2014
https://hg.python.org/cpython/rev/0ea8a5bdc2f0
changeset: 93354:0ea8a5bdc2f0
parent: 93352:5f10a4a1e4df
parent: 93350:3c030e4da7c6
user: Serhiy Storchaka <storchaka at gmail.com>
date: Sun Nov 02 19:26:28 2014 +0200
summary:
Merge heads
files:
Lib/test/test___all__.py | 7 ++++---
Misc/ACKS | 1 +
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py
--- a/Lib/test/test___all__.py
+++ b/Lib/test/test___all__.py
@@ -72,13 +72,14 @@
# rlcompleter needs special consideration; it import readline which
# initializes GNU readline which calls setlocale(LC_CTYPE, "")... :-(
+ import locale
+ locale_tuple = locale.getlocale(locale.LC_CTYPE)
try:
import rlcompleter
- import locale
except ImportError:
pass
- else:
- locale.setlocale(locale.LC_CTYPE, 'C')
+ finally:
+ locale.setlocale(locale.LC_CTYPE, locale_tuple)
ignored = []
failed_imports = []
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -224,6 +224,7 @@
Matej Cepl
Carl Cerecke
Octavian Cerna
+Michael Cetrulo
Dave Chambers
Pascal Chambon
John Chandler
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list