#22751: merge with 3.4.

This commit is contained in:
Ezio Melotti 2014-11-02 19:14:54 +02:00
commit 6e2db04345
2 changed files with 5 additions and 3 deletions

View file

@ -72,13 +72,14 @@ def test_all(self):
# 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 = []

View file

@ -224,6 +224,7 @@ Per Cederqvist
Matej Cepl
Carl Cerecke
Octavian Cerna
Michael Cetrulo
Dave Chambers
Pascal Chambon
John Chandler