Staging
v0.5.1
https://github.com/python/cpython
Revision 0683d6889bd4430599d22e12e201b8e9c45be5a2 authored by Nick Coghlan on 19 February 2017, 04:33:35 UTC, committed by GitHub on 19 February 2017, 04:33:35 UTC
``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.
1 parent d372cda
History
Tip revision: 0683d6889bd4430599d22e12e201b8e9c45be5a2 authored by Nick Coghlan on 19 February 2017, 04:33:35 UTC
[3.6] bpo-29571: Use correct locale encoding in test_re (#149) (#153)
Tip revision: 0683d68
File Mode Size
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 6.2 KB
README.txt -rw-r--r-- 3.9 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.2 KB
conf.py -rw-r--r-- 6.1 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 47.7 KB
license.rst -rw-r--r-- 46.1 KB
make.bat -rw-r--r-- 4.1 KB

README.txt

back to top