[Python-checkins] [python/cpython] 0683d6: [3.6] bpo-29571: Use correct locale encoding in te...
GitHub
noreply at github.com
Sat Feb 18 23:33:36 EST 2017
Branch: refs/heads/3.6
Home: https://github.com/python/cpython
Commit: 0683d6889bd4430599d22e12e201b8e9c45be5a2
https://github.com/python/cpython/commit/0683d6889bd4430599d22e12e201b8e9c45be5a2
Author: Nick Coghlan <ncoghlan at gmail.com>
Date: 2017-02-19 (Sun, 19 Feb 2017)
Changed paths:
M Lib/test/test_re.py
M Misc/NEWS
Log Message:
-----------
[3.6] bpo-29571: Use correct locale encoding in test_re (#149) (#153)
``local.getlocale(locale.LC_CTYPE)`` and
``locale.getpreferredencoding(False)`` may give different answers
in some cases (such as the ``en_IN`` locale).
``re.LOCALE`` uses the latter, so update the test case to match.
More information about the Python-checkins
mailing list