Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ashm-dev/cpython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: python/cpython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 17 commits
  • 52 files changed
  • 17 contributors

Commits on Oct 13, 2026

  1. pythongh-157649: Use more warmups in test_cext to check for refleaks (p…

    …ython#159378)
    
    Use 3 warmups instead of 1 before checking for reference leaks. Also,
    always call gc.collect() before reading sys.gettotalrefcount().
    vstinner authored Oct 13, 2026
    Configuration menu
    Copy the full SHA
    cab7ace View commit details
    Browse the repository at this point in the history
  2. pythongh-159044: Restore string conversion for HTTP tunnel header val…

    …ues (pythonGH-159216)
    
    Co-authored-by: LorenaMBorges <lborgescomp@gmail.com>
    bielpieroli and LorenaMBorges authored Oct 13, 2026
    Configuration menu
    Copy the full SHA
    8138bf1 View commit details
    Browse the repository at this point in the history
  3. pythonGH-158628: Implement sys._wasi_info (pythonGH-159039)

    Starting off with WASI version, WASI SDK version, and whether cooperative multithreading is available. All values are required as WASI SDK is the officially  supported compiler according to PEP 11.
    brettcannon authored Oct 13, 2026
    Configuration menu
    Copy the full SHA
    084aff8 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2026

  1. pythongh-159293: Restore the recursion limit after the free-threading…

    … race test (python#159311)
    
    Adds a cleanup to ensure interpreter state is restored after testing recursion
    limit changes.
    zolaski333 authored Oct 14, 2026
    Configuration menu
    Copy the full SHA
    aeff4cb View commit details
    Browse the repository at this point in the history
  2. pythongh-153711: Test availability for dup3() and pipe2() on iOS (pyt…

    …hon#155222)
    
    Modifies the configure test for dup3 and pipe2 to allow for iOS. These symbols
    exist, but are unlinkable on iOS 26.
    
    Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
    Co-authored-by: Ned Deily <nad@python.org>
    3 people authored Oct 14, 2026
    Configuration menu
    Copy the full SHA
    32fd69b View commit details
    Browse the repository at this point in the history
  3. pythongh-159385: Add support for free-threaded and debug builds for i…

    …OS (python#159386)
    
    Modify the iOS build tools to support the building free threaded, debug,
    and potentiall other abiflag variants of Python for iOS.
    freakboy3742 authored Oct 14, 2026
    Configuration menu
    Copy the full SHA
    d6f2129 View commit details
    Browse the repository at this point in the history
  4. pythongh-157899: Define HAVE_FREADLINK_RUNTIME on FreeBSD 16 (pythonG…

    …H-159397)
    
    The commit 4b0e334 added support for
    freadlink() on macOS. The function is also available on FreeBSD 16.
    Define HAVE_FREADLINK_RUNTIME on FreeBSD.
    vstinner authored Oct 14, 2026
    Configuration menu
    Copy the full SHA
    2ec4744 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    efc6211 View commit details
    Browse the repository at this point in the history
  6. pythongh-159320: Enable stack size detection on Android (python#159321)

    Extend the use of pthread_getattr_np in stack size detection from any glibc linux to any glibc *or* android linux. Update tests for android's new recursion limit.
    
    Co-authored-by: Malcolm Smith <smith@chaquo.com>
    Yhg1s and mhsmith authored Oct 14, 2026
    Configuration menu
    Copy the full SHA
    8ff41c2 View commit details
    Browse the repository at this point in the history
  7. Reuse assert_python_ok() in test_cmd_line (python#159377)

    support.script_helper no longer strips refcount from -X showrefcount
    stderr.
    vstinner authored Oct 14, 2026
    Configuration menu
    Copy the full SHA
    2514548 View commit details
    Browse the repository at this point in the history
  8. pythongh-150751: Ignore optional whitespace around Content-Length in …

    …http.client (pythonGH-159156)
    
    pythongh-150752 started validating the Content-Length value against the
    RFC 9112 grammar (1*DIGIT), but the compat32 header parser keeps
    trailing SP/HTAB in the field value, so "Content-Length: 5 " is now
    treated as a missing header. HTTPResponse then assumes that the
    connection will close and read() blocks until the server closes it,
    which never happens on a keep-alive connection.
    
    RFC 9112, section 5.1 says that optional whitespace around a field
    value is excluded by parsers. Strip SP/HTAB before the grammar check;
    values such as "+5", "5_0" and "5 0" are still rejected.
    danilablagorodniy37 authored Oct 14, 2026
    Configuration menu
    Copy the full SHA
    9f52b44 View commit details
    Browse the repository at this point in the history
  9. Set default arguments in _testlimitedcapi/unicode.c (python#159380)

    Some optional arguments had no default value leading to undefined
    behavior if they were omitted.
    vstinner authored Oct 14, 2026
    Configuration menu
    Copy the full SHA
    e96d943 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9124802 View commit details
    Browse the repository at this point in the history
  11. pythongh-159288: Avoid segfault by adding missing recursion checks wh…

    …en walking lazy import chains (python#159289)
    
    Add missing recursion checks when walking lazy import chains
    
    `lazy import a.b.c as d` nests one placeholder per name component.
    lazy_import_path() and lazy_import_replay_from() recursed over that
    chain without a recursion check, so a very long dotted name could
    overflow the C stack. Raise RecursionError instead, as the rest of
    lazy import resolution does.
    brittanyrey authored Oct 14, 2026
    Configuration menu
    Copy the full SHA
    2588362 View commit details
    Browse the repository at this point in the history
  12. pythongh-159431: Handle immortal objects in _PyObject_XDecRefDelayed() (

    pythongh-159433)
    
    Skip immortal objects both when queueing and when processing the
    queue, and remove the now redundant caller-side checks.
    nascheme authored Oct 14, 2026
    Configuration menu
    Copy the full SHA
    b70a512 View commit details
    Browse the repository at this point in the history
  13. pythongh-156026: Add warning about link targets to tarfile.tar_filter (…

    …pythonGH-159019)
    
    Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
    encukou and ethanfurman authored Oct 14, 2026
    Configuration menu
    Copy the full SHA
    a6b4aa6 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2026

  1. pythongh-159440: Pass --work-tree to the git commands used for the ve…

    …rsion tag (python#159442)
    
    `--git-dir` alone does not imply a work tree, so in an out-of-tree build
    git checked the build directory, and every tracked file looked deleted:
    `sys.version` always carried a spurious "-dirty" suffix.
    sendaoYan authored Oct 15, 2026
    Configuration menu
    Copy the full SHA
    637fb36 View commit details
    Browse the repository at this point in the history
Loading