main
Name already in use
Commits on Apr 8, 2023
-
gh-100176: Tools/iobench: Remove redundant compat code for Python <= …
…3.2 (#100197) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
-
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>
-
Commits on Apr 7, 2023
-
gh-83004: Harden _socket init (GH-103261)
Automerge-Triggered-By: GH:erlend-aasland
-
gh-74690: Document changes made to runtime-checkable protocols in 3.12 (
#103348) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
-
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>
-
gh-103225: Fixed zero lineno issue for pdb (#103265)
Co-authored-by: Artem Mukhin <ortem00@gmail.com>
-
gh-103193: Celebrate performance improvements to `inspect.getattr_sta…
…tic` in 'What's New in Python 3.12' (#103349)
-
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>
-
gh-103256: Fix hmac algorithm to support fallback implementation (gh-…
…103286) Co-authored-by: Gregory P. Smith <greg@krypto.org>
Commits on Apr 6, 2023
-
gh-103193: Speedup and inline
inspect._is_type(#103321)Improve performance of `inspect.getattr_static`
-
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.
-
-
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.)
-
gh-93910: [Enum] remove member.member deprecation (GH-103236)
i.e. Color.RED.BLUE is now officially supported.
Commits on Apr 5, 2023
-
-
gh-101659: Use the Raw Allocator in the _xxinterpchannels Module (gh-…
-
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>