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

Commits on May 22, 2023

  1. Post 3.12.0b1

    Yhg1s committed May 22, 2023
    1 Configuration menu
    Copy the full SHA
    c2b127e View commit details
    Browse the repository at this point in the history
  2. [3.12] Add the 3.12 branch to the github workflows. (pythonGH-104768) (

    …python#104769)
    
    Add the 3.12 branch to the github workflows. (pythonGH-104768)
    (cherry picked from commit 4194d8f)
    
    Co-authored-by: T. Wouters <thomas@python.org>
    miss-islington and Yhg1s committed May 22, 2023
    Configuration menu
    Copy the full SHA
    97f8547 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. [3.12] pythongh-87891: Add ABI check to CI (python#104793)

    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>
    4 people committed May 23, 2023
    Configuration menu
    Copy the full SHA
    b44beac View commit details
    Browse the repository at this point in the history
  2. [3.12] howto/urllib2: remove link to an outdated french translation (p…

    …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 <deronnax@gmail.com>
    miss-islington and deronnax committed May 23, 2023
    Configuration menu
    Copy the full SHA
    25b5ce7 View commit details
    Browse the repository at this point in the history
  3. [3.12] pythonGH-104668: Don't call PyOS_* hooks in subinterpreters (p…

    …ythonGH-104760)
    
    pythonGH-104668: Don't call PyOS_* hooks in subinterpreters (pythonGH-104674)
    (cherry picked from commit 357bed0)
    
    Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com>
    miss-islington and brandtbucher committed May 23, 2023
    Configuration menu
    Copy the full SHA
    905d419 View commit details
    Browse the repository at this point in the history
  4. [3.12] pythonGH-101291: Avoid using macros with casts in low-level lo…

    …ng API. (pythonGH-104742) (python#104759)
    
    (cherry picked from commit e295d86)
    
    Co-authored-by: Mark Shannon <mark@hotpy.org>
    miss-islington and markshannon committed May 23, 2023
    Configuration menu
    Copy the full SHA
    e43fbbd View commit details
    Browse the repository at this point in the history
  5. [3.12] pythongh-99108: Release the GIL around hashlib built-in comput…

    …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>
    miss-islington and gpshead committed May 23, 2023
    Configuration menu
    Copy the full SHA
    9aea1f2 View commit details
    Browse the repository at this point in the history
  6. [3.12] pythongh-104271: Fix auto() fallback in case of mixed type Enum (

    pythonGH-104279)
    
    pythongh-104271: Fix auto() fallback in case of mixed type Enum
    itamaro committed May 23, 2023
    Configuration menu
    Copy the full SHA
    f4e2049 View commit details
    Browse the repository at this point in the history
  7. [3.12] Remove pythongh-103207 changelog item as it was never part of …

    …any release. (pythonGH-104815)
    
    (cherry picked from commit 08b4eb8)
    
    Co-authored-by: Ned Deily <nad@python.org>
    miss-islington and ned-deily committed May 23, 2023
    Configuration menu
    Copy the full SHA
    5c8418c View commit details
    Browse the repository at this point in the history
  8. [3.12] pythongh-103295: fix stack overwrite on 32-bit in perf map tes…

    …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 <carl@oddbird.net>
    miss-islington and carljm committed May 23, 2023
    Configuration menu
    Copy the full SHA
    22c45c4 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. [3.12] pythongh-104372: use == -1 before PyErr_Occurred (pythonGH-104831

    ) (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 <greg@krypto.org>
    miss-islington and gpshead committed May 24, 2023
    Configuration menu
    Copy the full SHA
    b719dd8 View commit details
    Browse the repository at this point in the history
  2. [3.12] pythongh-104797: Allow Protocols to inherit from collections.a…

    …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 <jelle.zijlstra@gmail.com>
    miss-islington and JelleZijlstra committed May 24, 2023
    Configuration menu
    Copy the full SHA
    d10d1e3 View commit details
    Browse the repository at this point in the history
  3. [3.12] pythongh-102856: Add changes related to PEP 701 in 3.12 What's…

    … 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>
    4 people committed May 24, 2023
    Configuration menu
    Copy the full SHA
    a5c0ef8 View commit details
    Browse the repository at this point in the history
  4. [3.12] pythongh-102856: Add missing quote to fix doctest (pythonGH-10…

    …4852) (python#104854)
    
    Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
    miss-islington and hugovk committed May 24, 2023
    Configuration menu
    Copy the full SHA
    2d685ec View commit details
    Browse the repository at this point in the history
  5. [3.12] pythongh-104825: Remove implicit newline in the line attribute…

    … in tokens emitted in the tokenize module (pythonGH-104846). (python#104850)
    
    (cherry picked from commit c8cf9b4)
    pablogsal committed May 24, 2023
    Configuration menu
    Copy the full SHA
    3d2ed89 View commit details
    Browse the repository at this point in the history
  6. [3.12] pythongh-101282: Enclose BOLT_APPLY_FLAGS value in double quot…

    …es (gh… (pythongh-104853)
    
    [3.12] pythongh-101282: Enclose BOLT_APPLY_FLAGS value in double quotes (pythongh-104752)
    (cherry picked from commit c437851)
    corona10 committed May 24, 2023
    Configuration menu
    Copy the full SHA
    b151660 View commit details
    Browse the repository at this point in the history
  7. [3.12] pythongh-104719: IDLE - test existence of all tokenize referen…

    …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>
    3 people committed May 24, 2023
    Configuration menu
    Copy the full SHA
    5e1799e View commit details
    Browse the repository at this point in the history
  8. [3.12] pythongh-102856: Update "Formatted string literals" docs secti…

    …on after PEP701 (pythonGH-104861) (python#104865)
    
    (cherry picked from commit 8e5b3b9)
    
    Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
    miss-islington and lysnikolaou committed May 24, 2023
    Configuration menu
    Copy the full SHA
    25890eb View commit details
    Browse the repository at this point in the history
  9. [3.12] pythongh-104825: add omitted idlelib text fix (python#104880)

    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)
    terryjreedy committed May 24, 2023
    Configuration menu
    Copy the full SHA
    2b54ea5 View commit details
    Browse the repository at this point in the history
  10. pythongh-103207: The macOS 13 Ventura Installer.app permission proble…

    …m is fixed by Apple in macOS 13.4. (pythonGH-104883)
    ned-deily committed May 24, 2023
    Configuration menu
    Copy the full SHA
    45b88e0 View commit details
    Browse the repository at this point in the history
  11. [3.12] pythongh-104866: Tokenize should emit NEWLINE after exiting bl…

    …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 <lisandrosnik@gmail.com>
    miss-islington and lysnikolaou committed May 24, 2023
    Configuration menu
    Copy the full SHA
    ddc29c8 View commit details
    Browse the repository at this point in the history
  12. [3.12] Improve test coverage for is_typeddict (pythonGH-104884) (pyth…

    …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>
    miss-islington and JelleZijlstra committed May 24, 2023
    Configuration menu
    Copy the full SHA
    3d91d03 View commit details
    Browse the repository at this point in the history
  13. [3.12] pythongh-104879: Fix TypeAliasType.__module__ in exec() (pytho…

    …nGH-104881) (python#104890)
    
    (cherry picked from commit fe77a99)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    miss-islington and JelleZijlstra committed May 24, 2023
    Configuration menu
    Copy the full SHA
    b670214 View commit details
    Browse the repository at this point in the history
  14. [3.12] pythongh-99108: Refresh HACL* (pythonGH-104808) (python#104893)

    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>
    miss-islington and msprotz committed May 24, 2023
    Configuration menu
    Copy the full SHA
    c4bc97a View commit details
    Browse the repository at this point in the history
  15. [3.12] pythongh-104874: Document NewType.__supertype__ (pythonGH-104875

    …) (python#104906)
    
    pythongh-104874: Document NewType.__supertype__ (pythonGH-104875)
    (cherry picked from commit 41768a2)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    miss-islington and JelleZijlstra committed May 24, 2023
    Configuration menu
    Copy the full SHA
    a064233 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. [3.12] Fix test_importlib.test_side_effect_import() (pythonGH-104840) (

    …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>
    miss-islington and vstinner committed May 25, 2023
    Configuration menu
    Copy the full SHA
    51eb009 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4833f62 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1a47d11 View commit details
    Browse the repository at this point in the history
  4. [3.12] Fix indentation in json.AttrDict REPL example (pythonGH-104930

    …) (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>
    miss-islington and AlexWaygood committed May 25, 2023
    Configuration menu
    Copy the full SHA
    b328ba1 View commit details
    Browse the repository at this point in the history
  5. Improves the Windows MSI test run on PR (pythonGH-104929)

    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>
    miss-islington and zooba committed May 25, 2023
    Configuration menu
    Copy the full SHA
    d176f78 View commit details
    Browse the repository at this point in the history
  6. [3.12] pythongh-104935: typing: Fix interactions between `@runtime_ch…

    …eckable` and `Generic` (pythonGH-104939) (python#104941)
    
    pythongh-104935: typing: Fix interactions between `@runtime_checkable` and `Generic` (pythonGH-104939)
    
    ---------
    
    (cherry picked from commit 2b7027d)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    3 people committed May 25, 2023
    Configuration menu
    Copy the full SHA
    930efde View commit details
    Browse the repository at this point in the history
  7. [3.12] pythongh-104372: Drop the GIL around the vfork() call. (python…

    …GH-104782) (python#104942)
    
    pythongh-104372: Drop the GIL around the vfork() call. (pythonGH-104782)
    
    On Linux where the `subprocess` module can use the `vfork` syscall for
    faster spawning, prevent the parent process from blocking other threads
    by dropping the GIL while it waits for the vfork'ed child process `exec`
    outcome.  This prevents spawning a binary from a slow filesystem from
    blocking the rest of the application.
    
    Fixes pythonGH-104372.
    (cherry picked from commit d086792)
    
    Co-authored-by: Gregory P. Smith <gps@python.org>
    miss-islington and gpshead committed May 25, 2023
    Configuration menu
    Copy the full SHA
    5c2971b View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. [3.12] pythongh-102024: Reduced _idle_semaphore.release calls (python…

    …GH-102025) (python#104959)
    
    pythongh-102024: Reduced _idle_semaphore.release calls (pythonGH-102025)
    
    Reduced _idle_semaphore.release calls in concurrent.futures.thread._worker
    _idle_semaphore.release() is now only called if only work_queue is empty.
    
    ---------
    
    (cherry picked from commit 0242e9a)
    
    Co-authored-by: Andrii Kuzmin <jack.cvr@gmail.com>
    Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
    Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
    4 people committed May 26, 2023
    Configuration menu
    Copy the full SHA
    8010cef View commit details
    Browse the repository at this point in the history
  2. [3.12] pythongh-104479: Update outdated tutorial floating-point refer…

    …ence (pythonGH-104681) (python#104960)
    
    (cherry picked from commit 2cf04e4)
    
    Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
    miss-islington and mdickinson committed May 26, 2023
    Configuration menu
    Copy the full SHA
    bd2cc41 View commit details
    Browse the repository at this point in the history
  3. [3.12] pythongh-104943: Remove mentions of old Python versions (pytho…

    …nGH-104945) (python#104963)
    
    (cherry picked from commit 46857d0)
    
    Co-authored-by: Tomas R <tomas.roun8@gmail.com>
    miss-islington and tomasr8 committed May 26, 2023
    Configuration menu
    Copy the full SHA
    6324458 View commit details
    Browse the repository at this point in the history
  4. [3.12] Fix typo in the tokenizer (pythonGH-104950) (python#104953)

    (cherry picked from commit 705e387)
    
    Co-authored-by: Stepfen Shawn <m18824909883@163.com>
    miss-islington and StepfenShawn committed May 26, 2023
    Configuration menu
    Copy the full SHA
    b31cfd2 View commit details
    Browse the repository at this point in the history
  5. [3.12] pythongh-104924: Fix read()able in http.client log messages (

    pythongh-104926) (pythongh-104970)
    
    pythongh-104924: Fix `read()able` in `http.client` log messages (pythongh-104926)
    (cherry picked from commit 6c81d75)
    
    Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
    miss-islington and arhadthedev committed May 26, 2023
    Configuration menu
    Copy the full SHA
    83bdfa4 View commit details
    Browse the repository at this point in the history
  6. [3.12] pythongh-104955: Fix __release_buffer__ signature (pythonGH-10…

    …4956) (python#104973)
    
    (cherry picked from commit 6e1eccd)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
    3 people committed May 26, 2023
    Configuration menu
    Copy the full SHA
    3158b4d View commit details
    Browse the repository at this point in the history
  7. [3.12] Remove raw asserts in test_typing.py (pythonGH-104951) (python…

    …#104978)
    
    Remove raw asserts in test_typing.py (pythonGH-104951)
    (cherry picked from commit 2cb4456)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    miss-islington and JelleZijlstra committed May 26, 2023
    Configuration menu
    Copy the full SHA
    01af2b0 View commit details
    Browse the repository at this point in the history
  8. [3.12] pythongh-104972: Ensure that line attributes in tokens in the …

    …tokenize module are correct (pythonGH-104975) (python#104982)
    
    pythongh-104972: Ensure that line attributes in tokens in the tokenize module are correct (pythonGH-104975)
    (cherry picked from commit 3fdb55c)
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    miss-islington and pablogsal committed May 26, 2023
    Configuration menu
    Copy the full SHA
    8ca2957 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    97509ca View commit details
    Browse the repository at this point in the history
  10. [3.12] pythongh-104984: remove kwargs and starargs from Call & ClassD…

    …ef (pythonGH-104986) (python#104987)
    
    pythongh-104984: remove kwargs and starargs from Call & ClassDef (pythonGH-104986)
    
    These fields are removed in python@025e9eb
    (cherry picked from commit 61c1d67)
    
    Co-authored-by: Shaygan Hooshyari <sh.hooshyari@gmail.com>
    miss-islington and Glyphack committed May 26, 2023
    Configuration menu
    Copy the full SHA
    bb1e57e View commit details
    Browse the repository at this point in the history
  11. [3.12] pythongh-103921: Document PEP 695 (pythonGH-104642) (python#10…

    …4989)
    
    (cherry picked from commit 060277d)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    3 people committed May 26, 2023
    Configuration menu
    Copy the full SHA
    dcee0aa View commit details
    Browse the repository at this point in the history
  12. [3.12] pythonGH-104947: Make pathlib.PureWindowsPath comparisons cons…

    …istent across platforms (pythonGH-104948) (pythonGH-104990)
    
    Use `str.lower()` rather than `ntpath.normcase()` to normalize case of
    Windows paths. This restores behaviour from Python 3.11.
    
    (cherry picked from commit ad0be36)
    
    Co-authored-by: Barney Gale <barney.gale@gmail.com>
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    3 people committed May 26, 2023
    Configuration menu
    Copy the full SHA
    eca102d View commit details
    Browse the repository at this point in the history
  13. [3.12] pythonGH-103631: Fix PurePosixPath(PureWindowsPath(...)) sep…

    …arator handling (pythonGH-104949) (pythonGH-104991)
    
    For backwards compatibility, accept backslashes as path separators in
    `PurePosixPath` if an instance of `PureWindowsPath` is supplied.
    This restores behaviour from Python 3.11.
    
    (cherry picked from commit 328422c)
    
    Co-authored-by: Barney Gale <barney.gale@gmail.com>
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    3 people committed May 26, 2023
    Configuration menu
    Copy the full SHA
    305d78b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    05189f3 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2c02c68 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2023

  1. [3.12] pythongh-104839: Prevent test_venv AddressSanitizer spam (pyth…

    …onGH-105005) (python#105006)
    
    pythongh-104839: Prevent test_venv AddressSanitizer spam (pythonGH-105005)
    
    Pass any ASAN_OPTIONS environment variable through to the child process
    so that leak sanitizer being disabled on our CI and buildbots stays
    true in the children.
    (cherry picked from commit a17f160)
    
    Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org>
    miss-islington and gpshead committed May 27, 2023
    Configuration menu
    Copy the full SHA
    f625ec3 View commit details
    Browse the repository at this point in the history
  2. [3.12] pythongh-104992: [What's New in 3.11] Document unittest.TestPr…

    …ogram.usageExit's deprecation (pythonGH-104994) (python#105009)
    
    pythongh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (pythonGH-104994)
    
    Document unittest.TestProgram.usageExit's pending removal in 3.13
    (cherry picked from commit 7df861c)
    
    Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
    miss-islington and hugovk committed May 27, 2023
    Configuration menu
    Copy the full SHA
    368d177 View commit details
    Browse the repository at this point in the history
  3. [3.12] CI: Precompute hash for config cache key in check_source job (p…

    …ythonGH-105008) (python#105014)
    
    Co-authored-by: Itamar Ostricher <itamarost@gmail.com>
    miss-islington and itamaro committed May 27, 2023
    Configuration menu
    Copy the full SHA
    edd0cb8 View commit details
    Browse the repository at this point in the history
  4. [3.12] pythongh-105017: Fix including additional NL token when using …

    …CRLF (pythonGH-105022) (python#105023)
    
    Co-authored-by: Marta Gómez Macías <mgmacias@google.com>
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    3 people committed May 27, 2023
    Configuration menu
    Copy the full SHA
    2b176bc View commit details
    Browse the repository at this point in the history
  5. [3.12] pythongh-104497: Make tkinter test pass with tk 8.7 (pythonGH-…

    …104789) (python#105028)
    
    For test_widgets.MenuTest.test_configure_type, the options
    in the error message change to alphabetical order.
    ---------
    
    (cherry picked from commit 897e716)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    3 people committed May 27, 2023
    Configuration menu
    Copy the full SHA
    5426ff1 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2023

  1. [3.12] pythongh-104992: [What's New in 3.12] Document unittest.TestPr…

    …ogram.usageExit's deprecation (pythonGH-104995) (python#105036)
    
    Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
    miss-islington and hugovk committed May 28, 2023
    Configuration menu
    Copy the full SHA
    36a4227 View commit details
    Browse the repository at this point in the history
  2. [3.12] pythongh-105013: Fix inspect.getsource with parenthesized mult…

    …iline lambdas (pythonGH-105021) (python#105032)
    
    pythongh-105013: Fix inspect.getsource with parenthesized multiline lambdas (pythonGH-105021)
    (cherry picked from commit 3a5be87)
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    miss-islington and pablogsal committed May 28, 2023
    Configuration menu
    Copy the full SHA
    41b622b View commit details
    Browse the repository at this point in the history
  3. [3.12] pythongh-105017: Include CRLF lines in strings and column numb…

    …ers (pythonGH-105030) (python#105041)
    
    pythongh-105017: Include CRLF lines in strings and column numbers (pythonGH-105030)
    (cherry picked from commit 96fff35)
    
    Co-authored-by: Marta Gómez Macías <mgmacias@google.com>
    Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
    3 people committed May 28, 2023
    Configuration menu
    Copy the full SHA
    3f8d5d9 View commit details
    Browse the repository at this point in the history
  4. [3.12] Document PEP 698 and other new typing features in What's New (p…

    …ythonGH-104957) (python#105045)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    miss-islington and JelleZijlstra committed May 28, 2023
    Configuration menu
    Copy the full SHA
    74bbc60 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2023

  1. Fix compiler warning in unicodeobject.c (pythonGH-105050)

    Fix compiler warning in unicodeobject.c (pythonGH-105050)
    (cherry picked from commit e92ac0a)
    
    Co-authored-by: Inada Naoki <songofacandy@gmail.com>
    miss-islington and methane committed May 29, 2023
    Configuration menu
    Copy the full SHA
    5dc6b18 View commit details
    Browse the repository at this point in the history
  2. pythongh-104803: Implement ntpath.isdevdrive for checking whether a p…

    …ath is on a Windows Dev Drive (pythonGH-104805)
    
    (cherry picked from commit bfd20d2)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    miss-islington and zooba committed May 29, 2023
    Configuration menu
    Copy the full SHA
    635ce29 View commit details
    Browse the repository at this point in the history
  3. pythongh-104820: Fixes os.stat on Windows to better handle file syste…

    …ms that do not support FileIdInformation (pythonGH-104892)
    
    (cherry picked from commit 6031727)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    miss-islington and zooba committed May 29, 2023
    Configuration menu
    Copy the full SHA
    68bf3fe View commit details
    Browse the repository at this point in the history
  4. pythongh-103646: Remove --include-pip-user from default APPX package …

    …build (pythonGH-105064)
    
    (cherry picked from commit 6da7015)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    miss-islington and zooba committed May 29, 2023
    Configuration menu
    Copy the full SHA
    56722ef View commit details
    Browse the repository at this point in the history
  5. [3.12] pythonGH-89455: Add missing attributes (added in 3.11) to trac…

    …eback module docs (pythonGH-105044) (python#105066)
    
    pythonGH-89455: Add missing attributes (added in 3.11) to traceback module docs (pythonGH-105044)
    (cherry picked from commit 39f6a04)
    
    Co-authored-by: Jakub Kuczys <me@jacken.men>
    miss-islington and Jackenmen committed May 29, 2023
    Configuration menu
    Copy the full SHA
    6794526 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. [3.12] pythongh-105077: Fix test_tkinter refleak checking (pythonGH-1…

    …05078) (pythonGH-105079)
    
    Use specific symbols from `test.support` to avoid having `support`
    overwritten by `test_tkinter`'s own `support` submodule.
    (cherry picked from commit 5454db4)
    miss-islington committed May 30, 2023
    Configuration menu
    Copy the full SHA
    7f04a15 View commit details
    Browse the repository at this point in the history
  2. [3.12] pythongh-102251: Fix reference leak in _testsinglephase initia…

    …lization (pythonGH-105082) (python#105083)
    
    Correctly decref 'initialized' in init_module()
    
    (cherry picked from commit d14eb34)
    
    Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com>
    Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
    3 people committed May 30, 2023
    Configuration menu
    Copy the full SHA
    fd6b913 View commit details
    Browse the repository at this point in the history
  3. [3.12] pythongh-104799: Move location of type_params AST fields (pyth…

    …onGH-104828) (python#104974)
    
    pythongh-104799: Move location of type_params AST fields (pythonGH-104828)
    (cherry picked from commit ba73473)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    3 people committed May 30, 2023
    Configuration menu
    Copy the full SHA
    7899fac View commit details
    Browse the repository at this point in the history
  4. [3.12] pythongh-105071: add PyUnstable_Exc_PrepReraiseStar to expose …

    …except* implementation in the unstable API (pythonGH-105072) (python#105095)
    
    (cherry picked from commit b7aadb4)
    iritkatriel committed May 30, 2023
    Configuration menu
    Copy the full SHA
    b45df73 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4e7d41f View commit details
    Browse the repository at this point in the history
  6. [3.12] pythongh-103921: Minor PEP-695 fixes to the ast module docs (p…

    …ythonGH-105093) (python#105101)
    
    (cherry picked from commit c8c1e73)
    
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    miss-islington and AlexWaygood committed May 30, 2023
    Configuration menu
    Copy the full SHA
    9fb7abb View commit details
    Browse the repository at this point in the history
  7. [3.12] pythongh-105071: add missing versionadded directive (pythonGH-…

    …105097) (python#105105)
    
    pythongh-105071: add missing versionadded directive (pythonGH-105097)
    (cherry picked from commit 4571eed)
    
    Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
    miss-islington and iritkatriel committed May 30, 2023
    Configuration menu
    Copy the full SHA
    aeee5a5 View commit details
    Browse the repository at this point in the history
  8. pythongh-88745: Add _winapi.CopyFile2 and update shutil.copy2 to use …

    …it (pythonGH-105055)
    
    (cherry picked from commit cda1bd3)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    miss-islington and zooba committed May 30, 2023
    Configuration menu
    Copy the full SHA
    9ae49e3 View commit details
    Browse the repository at this point in the history
  9. [3.12] pythongh-105035: fix super() calls on unusual types (e.g. meta…

    …-types) (pythonGH-105094) (python#105117)
    
    pythongh-105035: fix super() calls on unusual types (e.g. meta-types) (pythonGH-105094)
    (cherry picked from commit 68c75c3)
    
    Co-authored-by: Carl Meyer <carl@oddbird.net>
    miss-islington and carljm committed May 30, 2023
    Configuration menu
    Copy the full SHA
    5fff491 View commit details
    Browse the repository at this point in the history
  10. [3.12] pythongh-89886: Properly quote Autoconf macro arguments (pytho…

    …n#105062) (python#105118)
    
    Autoconf 2.70 macros are picky about argument quotation.
    erlend-aasland committed May 30, 2023
    Configuration menu
    Copy the full SHA
    af7b55d View commit details
    Browse the repository at this point in the history

Commits on May 31, 2023

  1. [3.12] pythongh-103142: Update macOS installer to use OpenSSL 1.1.1u. (

    …pythonGH-105132)
    
    (cherry picked from commit f90d3f6)
    
    Co-authored-by: Ned Deily <nad@python.org>
    miss-islington and ned-deily committed May 31, 2023
    Configuration menu
    Copy the full SHA
    e3fcd9e View commit details
    Browse the repository at this point in the history
  2. [3.12] pythongh-105091: stable_abi.py: Remove "Unixy" check from --al…

    …l on other platforms (pythonGH-105092) (pythonGH-105133)
    
    pythongh-105091: stable_abi.py: Remove "Unixy" check from --all on other platforms (pythonGH-105092)
    (cherry picked from commit 0656d23)
    
    Co-authored-by: Petr Viktorin <encukou@gmail.com>
    miss-islington and encukou committed May 31, 2023
    Configuration menu
    Copy the full SHA
    4729100 View commit details
    Browse the repository at this point in the history
  3. [3.12] pythongh-105042: Disable unmatched parens syntax error in pyth…

    …on tokenize (pythonGH-105061) (python#105120)
    
    pythongh-105042: Disable unmatched parens syntax error in python tokenize (pythonGH-105061)
    (cherry picked from commit 70f315c)
    
    Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
    miss-islington and lysnikolaou committed May 31, 2023
    Configuration menu
    Copy the full SHA
    2f8c22f View commit details
    Browse the repository at this point in the history
  4. [3.12] pythongh-105069: Add a readline-like callable to the tokenizer…

    … to consume input iteratively (pythonGH-105070) (python#105119)
    
    pythongh-105069: Add a readline-like callable to the tokenizer to consume input iteratively (pythonGH-105070)
    (cherry picked from commit 9216e69)
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    miss-islington and pablogsal committed May 31, 2023
    Configuration menu
    Copy the full SHA
    c687946 View commit details
    Browse the repository at this point in the history
  5. [3.12] pythongh-105096: Reformat wave documentation (python#105136) (p…

    …ython#105138)
    
    pythongh-105096: Reformat wave documentation (python#105136)
    
    Add ".. class::" markups in the wave documentation.
    
    * Reformat also wave.py (minor PEP 8 changes).
    * Remove redundant "import struct": it's already imported at top
      level.
    * Remove wave.rst from .nitignore
    
    (cherry picked from commit 85e5d03)
    vstinner committed May 31, 2023
    Configuration menu
    Copy the full SHA
    01b42f9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d3c21a9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4f477c7 View commit details
    Browse the repository at this point in the history
  8. [3.12] pythongh-105144: Runtime-checkable protocols: move all 'sanity…

    … checks' to `_ProtocolMeta.__subclasscheck__` (pythonGH-105152) (python#105160)
    
    (cherry picked from commit c05c31d)
    
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    miss-islington and AlexWaygood committed May 31, 2023
    Configuration menu
    Copy the full SHA
    076f3cd View commit details
    Browse the repository at this point in the history
  9. [3.12] pythonGH-105113: Improve performance of `pathlib.PurePath.matc…

    …h()` (pythonGH-105114)
    
    We now compile a `re.Pattern` object for the entire pattern. This is made
    more difficult by `fnmatch` not treating directory separators as special
    when evaluating wildcards (`*`, `?`, etc), and so we arrange the path parts
    onto separate *lines* in a string, and ensure we don't set `re.DOTALL`.
    
    Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    3 people committed May 31, 2023
    Configuration menu
    Copy the full SHA
    e7cb216 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f87c6d1 View commit details
    Browse the repository at this point in the history
  11. [3.12] pythongh-102251: Explicitly free state for test modules with s…

    …tate in test_import (pythonGH-105085) (python#105170)
    
    (cherry picked from commit a99b9d9)
    
    Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com>
    Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
    3 people committed May 31, 2023
    Configuration menu
    Copy the full SHA
    8b51666 View commit details
    Browse the repository at this point in the history
  12. pythongh-105146: Update links at end of Windows installer (uninstall/…

    …repair) (pythonGH-105147)
    
    (cherry picked from commit ed86e14)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    miss-islington and zooba committed May 31, 2023
    Configuration menu
    Copy the full SHA
    dbd7d7c View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. [3.12] pythongh-89886: Rely on HAVE_SYS_TIME_H (pythonGH-105058) (pyt…

    …hon#105192)
    
    Quoting autoconf (v2.71):
    
        All current systems provide time.h; it need not be checked for.
        Not all systems provide sys/time.h, but those that do, all allow
        you to include it and time.h simultaneously.
    
    (cherry picked from commit 9ab587b)
    
    Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
    miss-islington and erlend-aasland committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    6375287 View commit details
    Browse the repository at this point in the history
  2. [3.12] pythongh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (

    pythonGH-105174) (python#105199)
    
    pythongh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (pythonGH-105174)
    
    Upgrade builds to OpenSSL 1.1.1u.
    
    This OpenSSL version addresses a pile if less-urgent CVEs since 1.1.1t.
    
    The Mac/BuildScript/build-installer.py was already updated.
    
    Also updates _ssl_data_111.h from OpenSSL 1.1.1u, _ssl_data_300.h from 3.0.9, and adds a new _ssl_data_31.h file from 3.1.1 along with the ssl.c code to use it.
    
    Manual edits to the _ssl_data_300.h file prevent it from removing any existing definitions in case those exist in some peoples builds and were important (avoiding regressions during backporting).
    
    backports of this prior to 3.12 will not include the openssl 3.1 header.
    (cherry picked from commit ede89af)
    
    Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org>
    miss-islington and gpshead committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    25543ae View commit details
    Browse the repository at this point in the history
  3. [3.12] pythonGH-89886: Bump to GNU Autoconf v2.71 (python#104925) (py…

    …thon#105207)
    
    Co-authored-by: Christian Heimes <christian@python.org>
    erlend-aasland and tiran committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    83c7386 View commit details
    Browse the repository at this point in the history
  4. [3.12] pythongh-105020: Share tp_bases and tp_mro Between Interpreter…

    …s For All Static Builtin Types (pythongh-105115) (pythongh-105124)
    
    In pythongh-103912 we added tp_bases and tp_mro to each PyInterpreterState.types.builtins entry.  However, doing so ignored the fact that both PyTypeObject fields are public API, and not documented as internal (as opposed to tp_subclasses).  We address that here by reverting back to shared objects, making them immortal in the process.
    (cherry picked from commit 7be667d)
    
    Co-authored-by: Eric Snow ericsnowcurrently@gmail.com
    miss-islington committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    c38ceb0 View commit details
    Browse the repository at this point in the history
  5. [3.12] pythongh-104341: Call _PyEval_ReleaseLock() with NULL When Fin…

    …alizing the Current Thread (pythongh-105109) (pythongh-105209)
    
    This avoids the problematic race in drop_gil() by skipping the FORCE_SWITCHING code there for finalizing threads.
    
    (The idea for this approach came out of discussions with @markshannon.)
    (cherry picked from commit 3698fda)
    
    Co-authored-by: Eric Snow ericsnowcurrently@gmail.com
    miss-islington committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    d2be5c7 View commit details
    Browse the repository at this point in the history
  6. [3.12] pythongh-104614: Make Sure ob_type is Always Set Correctly by …

    …PyType_Ready() (pythongh-105122) (pythongh-105211)
    
    When I added the relevant condition to type_ready_set_bases() in pythongh-103912, I had missed that the function also sets tp_base and ob_type (if necessary).  That led to problems for third-party static types.
    
    We fix that here, by making those extra operations distinct and by adjusting the condition to be more specific.
    (cherry picked from commit 1469393)
    
    Co-authored-by: Eric Snow ericsnowcurrently@gmail.com
    miss-islington committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    d57ee81 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. [3.12] pythongh-104799: Default missing lists in AST to the empty list (

    pythonGH-104834) (python#105213)
    
    (cherry picked from commit 77d2579)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    3 people committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    e6d5e63 View commit details
    Browse the repository at this point in the history
  2. [3.12] pythongh-105184: document that marshal functions can fail and …

    …need to be checked with PyErr_Occurred (pythonGH-105185) (python#105218)
    
    pythongh-105184: document that marshal functions can fail and need to be checked with PyErr_Occurred (pythonGH-105185)
    (cherry picked from commit ee26ca1)
    
    Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
    miss-islington and iritkatriel committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    46cc4f0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    103ae4e View commit details
    Browse the repository at this point in the history
  4. [3.12] pythongh-102778: update documentation of PyErr_PrintEx and tra…

    …ceback.print_last() regarding sys.last_exc (pythonGH-105190) (python#105246)
    
    pythongh-102778: update documentation of PyErr_PrintEx and traceback.print_last() regarding sys.last_exc (pythonGH-105190)
    (cherry picked from commit 0dafc78)
    
    Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
    miss-islington and iritkatriel committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    00fe618 View commit details
    Browse the repository at this point in the history
  5. [3.12] pythongh-104614: Fix potential ref. leak in _testcapimodule/ge…

    …t_basic_static_type() (pythonGH-105225) (python#105248)
    
    (cherry picked from commit e01b04c)
    
    Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
    miss-islington and erlend-aasland committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    72d5dfa View commit details
    Browse the repository at this point in the history
  6. [3.12] pythongh-105080: Fixed inconsistent signature on derived class…

    …es (pythonGH-105217) (python#105257)
    
    pythongh-105080: Fixed inconsistent signature on derived classes (pythonGH-105217)
    (cherry picked from commit 9ad199b)
    
    Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
    miss-islington and gaogaotiantian committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    d3922c4 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2023

  1. [3.12] pythongh-89415: Mention new IP_* constants in socket modul…

    …e in the docs (pythonGH-105266) (python#105270)
    
    pythongh-89415: Mention new `IP_*` constants in `socket` module in the docs (pythonGH-105266)
    (cherry picked from commit eaff9c3)
    
    Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
    miss-islington and sobolevn committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    f629d5f View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2023

  1. [3.12] pythongh-104690 Disallow thread creation and fork at interpret…

    …er finalization (pythonGH-104826) (python#105277)
    
    pythongh-104690 Disallow thread creation and fork at interpreter finalization (pythonGH-104826)
    
    Disallow thread creation and fork at interpreter finalization.
    
    in the following functions, check if interpreter is finalizing and raise `RuntimeError` with appropriate message:
    * `_thread.start_new_thread` and thus `threading`
    * `posix.fork`
    * `posix.fork1`
    * `posix.forkpty`
    * `_posixsubprocess.fork_exec` when a `preexec_fn=` is supplied.
    
    ---------
    
    (cherry picked from commit ce558e6)
    
    Co-authored-by: chgnrdv <52372310+chgnrdv@users.noreply.github.com>
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    3 people committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    c7a9d96 View commit details
    Browse the repository at this point in the history
  2. [3.12] Fix typo in Python 3.12 What's New (pythonGH-105278) (python#1…

    …05282)
    
    Fix typo in Python 3.12 What's New (pythonGH-105278)
    (cherry picked from commit 9a90c9a)
    
    Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
    miss-islington and hauntsaninja committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    6b61fe9 View commit details
    Browse the repository at this point in the history
  3. [3.12] pythongh-104882: Docs: fix description of relationship between…

    … `socket.getblocking()` and `socket.gettimeout()` (pythonGH-105026) (python#105283)
    
    pythongh-104882: Docs: fix description of relationship between `socket.getblocking()` and `socket.gettimeout()` (pythonGH-105026)
    (cherry picked from commit 5a5ed7a)
    
    Co-authored-by: Joe Geisbauer <joegeisbauer@gmail.com>
    miss-islington and joegeisbauer committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    9ce3312 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. [3.12] pythongh-98963: Restore the ability to have a dict-less proper…

    …ty. (pythonGH-105262) (python#105297)
    
    pythongh-98963: Restore the ability to have a dict-less property. (pythonGH-105262)
    
    Ignore doc string assignment failures in `property` as has been the
    behavior of all past Python releases.  (the docstring is discarded)
    (cherry picked from commit 418befd)
    
    This fixes a behavior regression in 3.12beta1 where an AttributeError was being raised in a situation it has never been in the past. It keeps the existing unusual single situation where AttributeError does get raised.
    
    Existing widely deployed projects depend on this not raising an exception.
    
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    miss-islington and gpshead committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    3e7ddc2 View commit details
    Browse the repository at this point in the history
  2. [3.12] pythongh-105164: Detect annotations inside match blocks (pytho…

    …nGH-105177) (python#105313)
    
    (cherry picked from commit 69d1245)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    miss-islington and JelleZijlstra committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    6d03541 View commit details
    Browse the repository at this point in the history
  3. [3.12] pythongh-105237: Allow calling `issubclass(X, typing.Protocol)…

    …` again (pythonGH-105239) (python#105316)
    
    pythongh-105237: Allow calling `issubclass(X, typing.Protocol)` again (pythonGH-105239)
    (cherry picked from commit cdfb201)
    
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    miss-islington and AlexWaygood committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    5175026 View commit details
    Browse the repository at this point in the history
  4. [3.12] pythongh-105280: Ensure `isinstance([], collections.abc.Mappin…

    …g)` always evaluates to `False` (pythonGH-105281) (python#105318)
    
    pythongh-105280: Ensure `isinstance([], collections.abc.Mapping)` always evaluates to `False` (pythonGH-105281)
    (cherry picked from commit 08756db)
    
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    miss-islington and AlexWaygood committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    2031238 View commit details
    Browse the repository at this point in the history
  5. [3.12] pythongh-105286: Improve typing.py docstrings (python#105287) (

    python#105319)
    
    pythongh-105286: Improve `typing.py` docstrings (python#105287)
    
    Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
    Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
    3 people committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    83fc562 View commit details
    Browse the repository at this point in the history
  6. [3.12] Clarify that error messages are better with PEP 701 (pythonGH-…

    …105150) (python#105169)
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    Co-authored-by: Marta Gómez Macías <mgmacias@google.com>
    3 people committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    dbc179e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0c51318 View commit details
    Browse the repository at this point in the history
  8. [3.12] pythongh-97908: CAPI docs: Remove repeated struct names from m…

    …ember docs (pythonGH-100054) (python#105057)
    
    And add raw HTML fragments to keep old links working.
    (cherry picked from commit 1668b41)
    
    Co-authored-by: Petr Viktorin <encukou@gmail.com>
    miss-islington and encukou committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    05b6153 View commit details
    Browse the repository at this point in the history
  9. [3.12] pythongh-89412: Add missing attributes (added in 3.10) to trac…

    …eback module docs (pythonGH-105046) (python#105327)
    
    (cherry picked from commit a4f72fa)
    
    Co-authored-by: Jakub Kuczys <me@jacken.men>
    miss-islington and Jackenmen committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    ab660e9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3aa3be4 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. [3.12] pythongh-90005: Don't link with libbsd if not needed (python#1…

    …05236)
    
    The regression was introduced with commit 5b946ca.
    Restore pre pythongh-29696 behaviour.
    erlend-aasland committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    bdd2b89 View commit details
    Browse the repository at this point in the history