bpo-29571: Use correct locale encoding in test_re by ncoghlan · Pull Request #149 · 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 added a commit to ncoghlan/cpython that referenced this pull request
ncoghlan added a commit to ncoghlan/cpython that referenced this pull request
ncoghlan added a commit that referenced this pull request
ncoghlan added a commit that referenced this pull request
akruis pushed a commit to akruis/cpython that referenced this pull request
Implement bpo-31370 for Stackless C-source.
akruis pushed a commit to akruis/cpython that referenced this pull request
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.
ncoghlan
deleted the
bpo-29571-spurious-test-re-failure
branch
akruis added a commit to akruis/cpython that referenced this pull request
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 added a commit to akruis/cpython that referenced this pull request
…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 added a commit to akruis/cpython that referenced this pull request
isidentical pushed a commit to isidentical/cpython that referenced this pull request
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 <Pablogsal@gmail.com>