Skip to content
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

3.12 backport gh 105236 #105358

Closed

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Jun 6, 2023


📚 Documentation preview 📚: https://cpython-previews--105358.org.readthedocs.build/

Yhg1s and others added 30 commits May 22, 2023 21:11
…python#104769)

Add the 3.12 branch to the github workflows. (pythonGH-104768)
(cherry picked from commit 4194d8f)

Co-authored-by: T. Wouters <[email protected]>
Backport the workflow change and fix-ups:
- pythonGH-92442 (e89c01e)
- pythonGH-94129 (0dadb22)
- pythonGH-98556 (194588d)

Co-Authored-By: sterliakov <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Pablo Galindo Salgado <[email protected]>
…ythonGH-104193) (python#104758)

We now have our own translation and it's not outdated
(cherry picked from commit 151b6bf)

Co-authored-by: Mathieu Dupuy <[email protected]>
…ythonGH-104760)

pythonGH-104668: Don't call PyOS_* hooks in subinterpreters (pythonGH-104674)
(cherry picked from commit 357bed0)

Co-authored-by: Brandt Bucher <[email protected]>
…ation (pythonGH-104675) (python#104776)

pythongh-99108: Release the GIL around hashlib built-in computation (pythonGH-104675)

This matches the GIL releasing behavior of our existing `_hashopenssl`
module, extending it to the HACL* built-ins.

Includes adding comments to better describe the ENTER/LEAVE macros
purpose and explain the lock strategy in both existing and new code.
(cherry picked from commit 2e5d8a9)

Co-authored-by: Gregory P. Smith [Google] <[email protected]>
…any release. (pythonGH-104815)

(cherry picked from commit 08b4eb8)

Co-authored-by: Ned Deily <[email protected]>
…t harness (pythonGH-104811) (python#104823)

pythongh-103295: fix stack overwrite on 32-bit in perf map test harness (pythonGH-104811)
(cherry picked from commit e0b3078)

Co-authored-by: Carl Meyer <[email protected]>
) (python#104833)

pythongh-104372: use == -1 before PyErr_Occurred (pythonGH-104831)

The ideal pattern for this.  (already in the 3.11 backport)
(cherry picked from commit 7f963bf)

Co-authored-by: Gregory P. Smith <[email protected]>
…bc.Buffer (pythonGH-104827) (python#104841)

pythongh-104797: Allow Protocols to inherit from collections.abc.Buffer (pythonGH-104827)
(cherry picked from commit c0ab7d4)

Co-authored-by: Jelle Zijlstra <[email protected]>
… New docs (pythonGH-104824) (python#104847)

pythongh-102856: Add changes related to PEP 701 in 3.12 What's New docs (pythonGH-104824)
(cherry picked from commit c45701e)

Co-authored-by: Marta Gómez Macías <[email protected]>
Co-authored-by: Pablo Galindo Salgado <[email protected]>
Co-authored-by: Jelle Zijlstra <[email protected]>
… in tokens emitted in the tokenize module (pythonGH-104846). (python#104850)

(cherry picked from commit c8cf9b4)
…es (gh… (pythongh-104853)

[3.12] pythongh-101282: Enclose BOLT_APPLY_FLAGS value in double quotes (pythongh-104752)
(cherry picked from commit c437851)
…ces. (pythonGH-104767) (python#104844)

pythongh-104719: IDLE - test existence of all tokenize references. (pythonGH-104767)

Class editor.IndentSearcher contains all editor references to tokenize module.
Module io tokenize reference cover those other modules.

(cherry picked from commit e561c09)

Co-authored-by: Terry Jan Reedy <[email protected]>
Co-authored-by: Jelle Zijlstra <[email protected]>
…on after PEP701 (pythonGH-104861) (python#104865)

(cherry picked from commit 8e5b3b9)

Co-authored-by: Lysandros Nikolaou <[email protected]>
Order of events:
Terry merged new idlelib test into main.
Ms. I. made a 3.12 backport; tests passed.
Pablo merged the tokenize change with idlelib test fix into main.
Pablo merged a 3.12 backport without the idle test fix
as the backport of the latter had not yet been been merged.
Terry merged the idlelib test backport.  The new test failed
on at least 4 3.12 buildbots because of the tokenize change.
This PR backports the now needed idlelib test fix.

(cherry picked from commit c8cf9b4)
…ock with comment (pythonGH-104870) (python#104872)

pythongh-104866: Tokenize should emit NEWLINE after exiting block with comment (pythonGH-104870)
(cherry picked from commit c90a862)

Co-authored-by: Lysandros Nikolaou <[email protected]>
…on#104889)

Improve test coverage for is_typeddict (pythonGH-104884)

In particular, it's important to test that is_typeddict(TypedDict)
returns False.
(cherry picked from commit 1497607)

Co-authored-by: Jelle Zijlstra <[email protected]>
pythongh-99108: Refresh HACL* (pythonGH-104808)

Refresh HACL* from upstream to improve SHA2 performance and fix a 32-bit issue in SHA3.
(cherry picked from commit 160321e)

Co-authored-by: Jonathan Protzenko <[email protected]>
…) (python#104906)

pythongh-104874: Document NewType.__supertype__ (pythonGH-104875)
(cherry picked from commit 41768a2)

Co-authored-by: Jelle Zijlstra <[email protected]>
…python#104842)

Fix test_importlib.test_side_effect_import() (pythonGH-104840)

Wait until the thread spawn by the import completes to avoid dangling
threads. With this fix, the following command no longer fails:

./python -m test --fail-env-changed test_importlib -m test_side_effect_import -F -j20
(cherry picked from commit 4269509)

Co-authored-by: Victor Stinner <[email protected]>
…) (python#104931)

Fix indentation in `json.AttrDict` REPL example (pythonGH-104930)

This is causing the docs to be rendered incorrectly.
(cherry picked from commit 38539ef)

Co-authored-by: Alex Waygood <[email protected]>
Correctly set the exit code when builds fail
Also build docs as part of the test
(cherry picked from commit 569b2b8)

Co-authored-by: Steve Dower <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.