3.12 backport gh 105236 by erlend-aasland · Pull Request #105358 · python/cpython
and others added 30 commits
Backport the workflow change and fix-ups: - pythonGH-92442 (e89c01e) - pythonGH-94129 (0dadb22) - pythonGH-98556 (194588d) Co-Authored-By: sterliakov <50529348+sterliakov@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
…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] <greg@krypto.org>
…any release. (pythonGH-104815) (cherry picked from commit 08b4eb8) Co-authored-by: Ned Deily <nad@python.org>
… 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 <mgmacias@google.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
…4852) (python#104854) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
…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 <tjreedy@udel.edu> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
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)
…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 <jelle.zijlstra@gmail.com>
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 <protz@microsoft.com>
…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 <vstinner@python.org>
…) (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 <Alex.Waygood@Gmail.com>
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 <steve.dower@python.org>
arhadthedev
removed request for
a team,
AlexWaygood,
Fidget-Spinner,
JelleZijlstra,
barneygale,
brettcannon,
corona10,
encukou,
ericsnowcurrently,
ethanfurman,
ezio-melotti,
gpshead,
gvanrossum,
hugovk,
iritkatriel,
isidentical,
lysnikolaou,
markshannon,
ncoghlan,
pablogsal,
rhettinger,
terryjreedy,
tiran,
vsajip and
warsaw
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