-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-29571: Use correct locale encoding in test_re #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ncoghlan
merged 1 commit into
python:master
from
ncoghlan:bpo-29571-spurious-test-re-failure
Feb 18, 2017
Merged
bpo-29571: Use correct locale encoding in test_re #149
ncoghlan
merged 1 commit into
python:master
from
ncoghlan:bpo-29571-spurious-test-re-failure
Feb 18, 2017
Conversation
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
``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.
serhiy-storchaka
approved these changes
Feb 18, 2017
ncoghlan
added a commit
to ncoghlan/cpython
that referenced
this pull request
Feb 18, 2017
``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
added a commit
to ncoghlan/cpython
that referenced
this pull request
Feb 18, 2017
``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
added a commit
that referenced
this pull request
Feb 19, 2017
ncoghlan
added a commit
that referenced
this pull request
Feb 19, 2017
benjaminp
added a commit
that referenced
this pull request
Mar 8, 2017
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
Mar 25, 2018
Implement bpo-31370 for Stackless C-source.
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
Mar 25, 2018
bpo-30860 consolidates global variables. This requires minor changes in Stackless header files. Now Stackless compiles. We still need to consolidate Stackless specific global variables.
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
Oct 14, 2018
bpo-25612 (python#1773) moves the exception state information from frame object to coroutine (generator/thread) object where it belongs. As a consequence Stackless moves the exception state information for non-current tasklets from thread-state to the tasklet. This changes the pickle format of frame, tasklet and generator objects. The commit adds three test cases.
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
Nov 20, 2018
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
Nov 22, 2018
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
Dec 29, 2018
…llocation Fix a few incorrect assertions introduced by commit 245a802. A test in the upcoming commit for Stackless issue python#190 triggered an assertion failure.
akruis
pushed a commit
to akruis/cpython
that referenced
this pull request
Jan 5, 2019
Add my name to the list of authors.
isidentical
pushed a commit
to isidentical/cpython
that referenced
this pull request
Oct 10, 2021
This patch folds the f-string constants like they were previously (1), and makes string concatenation construct a Constant instead of JoinedStr (2). 1) `f'hello' f'hello'` will now construct JoinedStr(values=[Constant(value='hellohello')]) 2) `'hello' 'hello'` will now construct Constant(value='hellohello') Co-authored-by: Pablo Galindo Salgado <[email protected]>
jaraco
pushed a commit
that referenced
this pull request
Dec 2, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
local.getlocale(locale.LC_CTYPE)
andlocale.getpreferredencoding(False)
may give different answersin some cases (such as the
en_IN
locale).re.LOCALE
uses the latter, so update the test case to match.