Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on May 15, 2023

  1. gh-101819: Fix _io clinic input for unused base class method stubs (#…

    …104418)
    
    When preparing the _io extension module for isolation, many methods were
    adapted to Argument Clinic. Some of these used the '*args: object'
    signature, which is incorrect. These are now corrected to an exact
    signature, and marked unused, since they are stub methods.
    erlend-aasland committed May 15, 2023
  2. gh-101819: Isolate _io (#101948)

    Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
    Co-authored-by: Victor Stinner <vstinner@python.org>
    3 people committed May 15, 2023
  3. Bump mypy from 1.2.0 to 1.3.0 in /Tools/clinic (#104501)

    build(deps-dev): bump mypy from 1.2.0 to 1.3.0 in /Tools/clinic
    
    Bumps [mypy](https://github.com/python/mypy) from 1.2.0 to 1.3.0.
    - [Commits](python/mypy@v1.2.0...v1.3.0)
    
    ---
    updated-dependencies:
    - dependency-name: mypy
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 15, 2023
  4. gh-104494: Update certain Tkinter pack/place tests for Tk 8.7 errors (#…

    …104495)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
    3 people committed May 15, 2023
  5. gh-104050: Run mypy on clinic.py in CI (#104421)

    * Add basic mypy workflow to CI
    * Make the type check pass
    
    ---------
    
    Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
    Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
    Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
    4 people committed May 15, 2023
  6. gh-104490: Consistently define phony make targets (#104491)

    By convention make targets that don't refer to a file have a dependency
    on the fake .PHONY target/file. This ensures that these targets are
    always evaluated because there is no rule to create a .PHONY file
    and that will force make to think the rule is out of date and needs
    to be rebuilt.
    
    This commit consistently associates virtual targets with .PHONY by
    declaring the .PHONY dependency immediately above the make rule. This
    should avoid race conditions and avoidable rebuilds across multiple make
    invocations.
    indygreg committed May 15, 2023
  7. gh-67056: document that registering/unregistering an atexit func from…

    … within an atexit func is undefined (#104473)
    iritkatriel committed May 15, 2023
  8. gh-104487: PYTHON_FOR_REGEN must be minimum Python 3.10 (#104488)

    Also include Python 3.12 in the list of accepted versions.
    erlend-aasland committed May 15, 2023

Commits on May 13, 2023

  1. gh-104454: Fix refleak in AttributeError_reduce (#104455)

    * Fix the reference leak introduced by #103333
    
    Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
    csm10495 and Eclips4 committed May 13, 2023
  2. gh-75710: IDLE - add docstrings and comments to editor module (#104446)

    Commit extracted from PR #3669.  Will edit more later.
    
    Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
    terryjreedy and csabella committed May 13, 2023
  3. gh-99836: IDLE - update news.txt for 3.12 (#104444)

    * gh-99836: IDLE 3.12 news.txt
    
    * gh-99836: IDLE - update news.txt for 3.12
    terryjreedy committed May 13, 2023

Commits on May 12, 2023

  1. gh-103333: Pickle the keyword attributes of AttributeError (#103352)

    * Pickle the `name` and `args` attributes of AttributeError when present.
    
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
    3 people committed May 12, 2023
  2. gh-103204: http.server - Enforce that HTTP version numbers must con…

    …sist only of digits (#103205)
    
    Reject HTTP requests with invalid http/x.y version numbers: x or y being non-digits or too-long.
    
    ---------
    
    Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    3 people committed May 12, 2023
  3. GH-86275: Run hypothesis tests in parallel (#104427)

    Run hypothesis tests in parallel
    pganssle committed May 12, 2023
  4. gh-91896: Fixup some docs issues following ByteString deprecation (#1…

    …04422)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    AlexWaygood and JelleZijlstra committed May 12, 2023
  5. GH-86275: Implementation of hypothesis stubs for property-based tests…

    …, with zoneinfo tests (#22863)
    
    These are stubs to be used for adding hypothesis (https://hypothesis.readthedocs.io/en/latest/) tests to the standard library.
    
    When the tests are run in an environment where `hypothesis` and its various dependencies are not installed, the stubs will turn any tests with examples into simple parameterized tests and any tests without examples are skipped.
    
    It also adds hypothesis tests for the `zoneinfo` module, and a Github Actions workflow to run the hypothesis tests as a non-required CI job.
    
    The full hypothesis interface is not stubbed out — missing stubs can be added as necessary.
    
    Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
    pganssle and Zac-HD committed May 12, 2023
  6. GH-103082: Filter LINE events in VM, to simplify tool implementation. (

    …GH-104387)
    
    When monitoring LINE events, instrument all instructions that can have a predecessor on a different line.
    Then check that the a new line has been hit in the instrumentation code.
    This brings the behavior closer to that of 3.11, simplifying implementation and porting of tools.
    markshannon committed May 12, 2023
Older