[3.5] bpo-29571: Use correct locale encoding in test_re (#149) by ncoghlan · Pull Request #154 · python/cpython
``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.
ncoghlan
deleted the
bpo-29571-3.5-backport
branch
akruis added a commit to akruis/cpython that referenced this pull request
akruis added a commit to akruis/cpython that referenced this pull request
Fix the macros STACKLESS_PROMOTE_WRAPPER and STACKLESS_PROMOTE_METHOD to use "&&" instead of "&" for logical values. By chance the bug was harmless. (cherry picked from commit b940f65)
akruis added a commit to akruis/cpython that referenced this pull request
Fix the macros STACKLESS_PROMOTE_WRAPPER and STACKLESS_PROMOTE_METHOD to use "&&" instead of "&" for logical values. By chance the bug was harmless. (cherry picked from commit b940f65)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters