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 Apr 8, 2023

  1. gh-100176: Tools/iobench: Remove redundant compat code for Python <= …

    …3.2 (#100197)
    
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    hugovk and AlexWaygood committed Apr 8, 2023
  2. gh-75729: Fix os.spawn tests not handling spaces on Windows (#99150)

    * Quote paths in os.spawn tests on Windows so they work with spaces
    
    * Add NEWS entry for os spawn test fix
    
    * Fix code style to avoid double negative in os.spawn tests
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    
    ---------
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    CAM-Gerlach and JelleZijlstra committed Apr 8, 2023

Commits on Apr 7, 2023

  1. gh-83004: Harden _socket init (GH-103261)

    Automerge-Triggered-By: GH:erlend-aasland
    erlend-aasland committed Apr 7, 2023
  2. gh-74690: Document changes made to runtime-checkable protocols in 3.12 (

    #103348)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    AlexWaygood and JelleZijlstra committed Apr 7, 2023
  3. gh-100220: Fix error handling in make rules (GH-100328)

    Set `SHELL = /bin/sh -e` to ensure that complex recipes fail on the first error rather than incorrectly reporting success.
    
    Co-authored-by: Zachary Ware <zach@python.org>
    mgorny and zware committed Apr 7, 2023
  4. gh-103225: Fixed zero lineno issue for pdb (#103265)

    Co-authored-by: Artem Mukhin <ortem00@gmail.com>
    gaogaotiantian and artemmukhin committed Apr 7, 2023
  5. gh-103193: Celebrate performance improvements to `inspect.getattr_sta…

    …tic` in 'What's New in Python 3.12' (#103349)
    AlexWaygood committed Apr 7, 2023
  6. bpo-46523: fix tests rerun when setUp[Class|Module] fails (#30895)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    3 people committed Apr 7, 2023
  7. gh-103256: Fix hmac algorithm to support fallback implementation (gh-…

    …103286)
    
    
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    corona10 and gpshead committed Apr 7, 2023

Commits on Apr 6, 2023

  1. gh-103193: Speedup and inline inspect._is_type (#103321)

    Improve performance of `inspect.getattr_static`
    AlexWaygood committed Apr 6, 2023
  2. gh-100227: Use an Array for _PyRuntime's Set of Locks During Init (gh…

    …-103315)
    
    This cleans things up a bit and simplifies adding new granular global locks.
    ericsnowcurrently committed Apr 6, 2023
  3. gh-101659: Add _Py_AtExit() (gh-103298)

    The function is like Py_AtExit() but for a single interpreter.  This is a companion to the atexit module's register() function, taking a C callback instead of a Python one.
    
    We also update the _xxinterpchannels module to use _Py_AtExit(), which is the motivating case.  (This is inspired by pain points felt while working on gh-101660.)
    ericsnowcurrently committed Apr 6, 2023
  4. gh-93910: [Enum] remove member.member deprecation (GH-103236)

    i.e. Color.RED.BLUE is now officially supported.
    ethanfurman committed Apr 6, 2023

Commits on Apr 5, 2023

  1. gh-101659: Use the Raw Allocator in the _xxinterpchannels Module (gh-…

    …103287)
    
    Using the raw allocator for any of the global state makes sense, especially as we move to a per-interpreter obmalloc state (gh-101660).
    ericsnowcurrently committed Apr 5, 2023
  2. gh-99069: Consolidate checks for static_assert (#94766)

    Several platforms don't define the static_assert macro despite having
    compiler support for the _Static_assert keyword. The macro needs to be
    defined since it is used unconditionally in the Python code. So it
    should always be safe to define it if undefined and not in C++11 (or
    later) mode.
    
    Hence, remove the checks for particular platforms or libc versions,
    and just define static_assert anytime it needs to be defined but isn't.
    That way, all platforms that need the fix will get it, regardless of
    whether someone specifically thought of them.
    
    Also document that certain macOS versions are among the platforms that
    need this.
    
    The C2x draft (currently expected to become C23) makes static_assert
    a keyword to match C++. So only define the macro for up to C17.
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    jmroot and vstinner committed Apr 5, 2023
Older