Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-74929: Implement PEP 667 (GH-115153) | Tian Gao | 2024-05-04 | 2 | -0/+7 | |
| | ||||||
* | gh-113081: Print colorized exception just like built-in traceback in pdb ↵ | Tian Gao | 2024-05-04 | 1 | -0/+1 | |
| | | | | (#113082) | |||||
* | gh-111997: C-API for signalling monitoring events (#116413) | Irit Katriel | 2024-05-04 | 1 | -0/+1 | |
| | ||||||
* | gh-107674: Improve performance of `sys.settrace` (GH-117133) | Tian Gao | 2024-05-03 | 1 | -0/+1 | |
| | | | | | | * Check tracing in RESUME_CHECK * Only change to RESUME_CHECK if not tracing | |||||
* | gh-83856: Honor atexit for all multiprocessing start methods (GH-114279) | Tian Gao | 2024-05-03 | 1 | -0/+1 | |
| | | | | | Use atexit for all multiprocessing start methods to cleanup. See the GH-114279 PR discussion and related issue for details as to why. | |||||
* | gh-115119: Update macOS installer to build with libmpdec 4.0.0 (GH-118382) | Erlend E. Aasland | 2024-05-03 | 1 | -0/+1 | |
| | | | Co-authored-by: Ned Deily <nad@python.org> | |||||
* | gh-115119: Update Windows installer to mpdecimal 4.0.0 (#118506) | Erlend E. Aasland | 2024-05-03 | 2 | -4/+5 | |
| | ||||||
* | gh-116322: Add Py_mod_gil module slot (#116882) | Brett Simmers | 2024-05-03 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | This PR adds the ability to enable the GIL if it was disabled at interpreter startup, and modifies the multi-phase module initialization path to enable the GIL when loading a module, unless that module's spec includes a slot indicating it can run safely without the GIL. PEP 703 called the constant for the slot `Py_mod_gil_not_used`; I went with `Py_MOD_GIL_NOT_USED` for consistency with gh-104148. A warning will be issued up to once per interpreter for the first GIL-using module that is loaded. If `-v` is given, a shorter message will be printed to stderr every time a GIL-using module is loaded (including the first one that issues a warning). | |||||
* | gh-117514: Add `sys._is_gil_enabled()` function (#118514) | Sam Gross | 2024-05-03 | 1 | -0/+4 | |
| | | | | | The function returns `True` or `False` depending on whether the GIL is currently enabled. In the default build, it always returns `True` because the GIL is always enabled. | |||||
* | gh-118513: Fix sibling comprehensions with a name bound in one and global in ↵ | Carl Meyer | 2024-05-03 | 1 | -0/+1 | |
| | | | | | | the other (#118526) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> | |||||
* | gh-101732: Modules/_ssl.c: use Y2038 compatible openssl function when ↵ | Alexander Kanavin | 2024-05-03 | 1 | -0/+1 | |
| | | | | available (GH-118425) | |||||
* | gh-116126: Implement PEP 696 (#116129) | Jelle Zijlstra | 2024-05-03 | 1 | -0/+2 | |
| | | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> | |||||
* | gh-118500: Add pdb support for zipapp (#118501) | Tian Gao | 2024-05-02 | 1 | -0/+1 | |
| | ||||||
* | gh-90848: Fixed create_autospec ignoring configure_mock style kwargs (#118163) | infohash | 2024-05-02 | 1 | -0/+1 | |
| | ||||||
* | gh-93502: Add new C-API functions to trace object creation and destruction ↵ | Pablo Galindo Salgado | 2024-05-02 | 1 | -0/+4 | |
| | | | | (#115945) | |||||
* | gh-105879: Add support for keyword arguments to eval and exec (#105885) | Raphael Gaschignard | 2024-05-02 | 1 | -0/+2 | |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-82062: Fix support of parameter defaults on methods in extension modules ↵ | Sergey B Kirpichev | 2024-05-02 | 1 | -0/+3 | |
| | | | | | | | | | (GH-115270) Now inspect.signature() supports references to the module globals in parameter defaults on methods in extension modules. Previously it was only supported in functions. The workaround was to specify the fully qualified name, including the module name. | |||||
* | gh-118486: Support mkdir(mode=0o700) on Windows (GH-118488) | Steve Dower | 2024-05-02 | 1 | -0/+2 | |
| | ||||||
* | gh-118216: Don't consider dotted `__future__` imports (#118267) | Crowthebird | 2024-05-02 | 1 | -0/+1 | |
| | ||||||
* | gh-118335: Make REGEN_JIT_COMMAND empty if tier2 interpreter enabled (#118493) | Guido van Rossum | 2024-05-01 | 1 | -0/+3 | |
| | | | | Also patch up news blurb for gh-118339 (add warning that PYTHON_UOPS is now PYTHON_JIT). | |||||
* | gh-117607: Speedup os.path.relpath() (GH-117608) | Nice Zombies | 2024-05-01 | 1 | -0/+1 | |
| | ||||||
* | gh-110850: Add PyTime_TimeRaw() function (#118394) | Victor Stinner | 2024-05-01 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | Add "Raw" variant of PyTime functions: * PyTime_MonotonicRaw() * PyTime_PerfCounterRaw() * PyTime_TimeRaw() Changes: * Add documentation and tests. Tests release the GIL while calling raw clock functions. * py_get_system_clock() and py_get_monotonic_clock() now check that the GIL is hold by the caller if raise_exc is non-zero. * Reimplement "Unchecked" functions with raw clock functions. Co-authored-by: Petr Viktorin <encukou@gmail.com> | |||||
* | gh-116622: Android sysconfig updates (#118352) | Malcolm Smith | 2024-05-01 | 1 | -0/+2 | |
| | ||||||
* | gh-99730: urllib.request: Keep HEAD method on redirect (GH-99731) | Harmen Stoppels | 2024-05-01 | 1 | -0/+1 | |
| | ||||||
* | gh-117958: Expose JIT code via method in UOpExecutor (#117959) | Anthony Shaw | 2024-05-01 | 1 | -0/+2 | |
| | ||||||
* | gh-99180: Remove traceback anchors in return and assign statements that ↵ | Pablo Galindo Salgado | 2024-05-01 | 1 | -0/+2 | |
| | | | | cover all the displayed range (#112670) | |||||
* | gh-116767: fix crash on 'async with' with many context managers (GH-118348) | Irit Katriel | 2024-05-01 | 1 | -0/+1 | |
| | | | | | | | Account for `add_stopiteration_handler` pushing a block for `async with`. To allow generator functions that previously almost hit the `CO_MAXBLOCKS` limit by nesting non-async blocks, the limit is increased by 1. This increase allows one more block in non-generator functions. | |||||
* | GH-117881: fix athrow().throw()/asend().throw() concurrent access (GH-117882) | Thomas Grainger | 2024-05-01 | 1 | -0/+1 | |
| | ||||||
* | gh-116622: Add Android testbed (GH-117878) | Malcolm Smith | 2024-05-01 | 1 | -0/+1 | |
| | | | | | | | Add code and config for a minimal Android app, and instructions to build and run it. Improve Android build instructions in general. Add a tool subcommand to download the Gradle wrapper (with its binary blob). Android studio must be downloaded manually (due to the license). | |||||
* | gh-118335: Configure Tier 2 interpreter at build time (#118339) | Guido van Rossum | 2024-05-01 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | The code for Tier 2 is now only compiled when configured with `--enable-experimental-jit[=yes|interpreter]`. We drop support for `PYTHON_UOPS` and -`Xuops`, but you can disable the interpreter or JIT at runtime by setting `PYTHON_JIT=0`. You can also build it without enabling it by default using `--enable-experimental-jit=yes-off`; enable with `PYTHON_JIT=1`. On Windows, the `build.bat` script supports `--experimental-jit`, `--experimental-jit-off`, `--experimental-interpreter`. In the C code, `_Py_JIT` is defined as before when the JIT is enabled; the new variable `_Py_TIER2` is defined when the JIT *or* the interpreter is enabled. It is actually a bitmask: 1: JIT; 2: default-off; 4: interpreter. | |||||
* | gh-118124: Use static_assert() in Py_BUILD_ASSERT() on C11 (#118398) | Victor Stinner | 2024-04-30 | 1 | -0/+3 | |
| | | | | | | Use static_assert() in Py_BUILD_ASSERT() and Py_BUILD_ASSERT_EXPR() on C11 and newer and C++11 and newer. Add tests to test_cext and test_cppext. | |||||
* | gh-118218: Reuse return tuple in itertools.pairwise (GH-118219) | Shantanu | 2024-04-30 | 1 | -0/+1 | |
| | ||||||
* | gh-118406: Add signature for sqlite3.Connection objects (#118428) | Erlend E. Aasland | 2024-04-30 | 1 | -0/+1 | |
| | ||||||
* | gh-118272: Clear generator frame's locals when the generator is closed (#118277) | Irit Katriel | 2024-04-30 | 1 | -0/+2 | |
| | | | Co-authored-by: Thomas Grainger <tagrain@gmail.com> | |||||
* | gh-117618: Make package.module searchable for breakpoints and clean up docs ↵ | Tian Gao | 2024-04-30 | 1 | -0/+1 | |
| | | | | (#117619) | |||||
* | gh-118402: Fix inspect.signature() for functools.cmp_to_key() result (GH-118427) | Serhiy Storchaka | 2024-04-30 | 1 | -0/+2 | |
| | ||||||
* | gh-116622: Redirect stdout and stderr to system log when embedded in an ↵ | Malcolm Smith | 2024-04-30 | 1 | -0/+1 | |
| | | | | Android app (#118063) | |||||
* | gh-118404: Fix inspect.signature() for non-comparable callables (GH-118405) | Serhiy Storchaka | 2024-04-30 | 1 | -0/+1 | |
| | ||||||
* | GH-118306: Update JIT to use LLVM 18 (GH-118307) | Savannah Ostrowski | 2024-04-29 | 1 | -0/+1 | |
| | ||||||
* | gh-118347: Fix Windows installer not updating launcher (GH-118386) | Steve Dower | 2024-04-29 | 1 | -0/+1 | |
| | ||||||
* | gh-118285: Fix signatures of operator.{attrgetter,itemgetter,methodcaller} ↵ | Serhiy Storchaka | 2024-04-29 | 1 | -0/+4 | |
| | | | | | | | | | instances (GH-118316) * Allow to specify the signature of custom callable instances of extension type by the __text_signature__ attribute. * Specify signatures of operator.attrgetter, operator.itemgetter, and operator.methodcaller instances. | |||||
* | gh-107674: Lazy load line number to improve performance of tracing (GH-118127) | Tian Gao | 2024-04-29 | 1 | -0/+1 | |
| | ||||||
* | gh-115119: Detect _decimal dependencies using pkg-config (#115406) | Erlend E. Aasland | 2024-04-29 | 1 | -0/+2 | |
| | | | pkg-config is supported for libmpdec 4.0.0 and newer. | |||||
* | gh-118293: Suppress mouse cursor feedback when launching Windows processes ↵ | Henrik Tunedal | 2024-04-28 | 1 | -0/+2 | |
| | | | | with multiprocessing (GH-118315) | |||||
* | gh-101100: Fix Sphinx warnings in `whatsnew/3.9.rst` (#118364) | Hugo van Kemenade | 2024-04-28 | 5 | -10/+10 | |
| | ||||||
* | gh-109118: Make comprehensions work within annotation scopes, but without ↵ | Jelle Zijlstra | 2024-04-28 | 1 | -0/+3 | |
| | | | | | inlining (#118160) Co-authored-by: Carl Meyer <carl@oddbird.net> | |||||
* | Correct spelling error in recent NEWS entry (#118308) | Xie Yanbo | 2024-04-27 | 1 | -1/+1 | |
| | ||||||
* | bpo-32839: Add the after_info() method for Tkinter widgets (GH-5664) | Cheryl Sabella | 2024-04-26 | 1 | -0/+1 | |
| | ||||||
* | gh-117385: Remove unhooked events on sys.settrace (GH-117386) | Tian Gao | 2024-04-26 | 1 | -0/+1 | |
| | ||||||
* | gh-117928: Bump the minimum Sphinx version to 6.2.1 (#117853) | Kirill Podoprigora | 2024-04-26 | 1 | -0/+1 | |
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> |