summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-11-02 17:26:23 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-11-02 17:26:23 (GMT)
commit58905e9ba25f36e12b9db19cd8b2a58b50f04ffe (patch)
tree226f3d05c733c21ebf1d44a4329f05d8bb15c4cd
parente5cf4868d38d81e8d72e45f78e357f7d3372851a (diff)
parent8b23f5cc7acd815a3c1d7d36143e6b3bf6347a18 (diff)
downloadcpython-58905e9ba25f36e12b9db19cd8b2a58b50f04ffe.zip
cpython-58905e9ba25f36e12b9db19cd8b2a58b50f04ffe.tar.gz
cpython-58905e9ba25f36e12b9db19cd8b2a58b50f04ffe.tar.bz2
Merge heads
-rw-r--r--Lib/test/test___all__.py7
-rw-r--r--Misc/ACKS1
2 files changed, 5 insertions, 3 deletions
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py
index 8cc285f..e94d984 100644
--- a/Lib/test/test___all__.py
+++ b/Lib/test/test___all__.py
@@ -72,13 +72,14 @@ class AllTest(unittest.TestCase):
# 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
index 1efdab4..f0950eb 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -222,6 +222,7 @@ Per Cederqvist
Matej Cepl
Carl Cerecke
Octavian Cerna
+Michael Cetrulo
Dave Chambers
Pascal Chambon
John Chandler