]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Michael Droettboom [Sat, 25 Jan 2025 12:56:13 +0000 (07:56 -0500)]
gh-129244: Remove workaround for MSVC compiler crash (#129263)
* Remove compiler workaround
* Remote _Py_USING_PGO
partev [Sat, 25 Jan 2025 11:41:32 +0000 (06:41 -0500)]
gh-126022: make license.rst consistent with LICENSE (#128516)
Chris Eibl [Sat, 25 Jan 2025 10:33:26 +0000 (11:33 +0100)]
Remove unused DPRINTF in ceval.c (GH-129282)
remove unused DPRINTF in ceval.c
sobolevn [Sat, 25 Jan 2025 09:44:23 +0000 (12:44 +0300)]
Replace `strict_concatenate = True` with `extra_checks = True` (#126391)
Russell Keith-Magee [Sat, 25 Jan 2025 08:49:39 +0000 (16:49 +0800)]
gh-129248: Filter out the iOS log prefix from testbed runner output. (#129252)
Filter out the iOS log prefix from testbed runner output.
Adam Turner [Sat, 25 Jan 2025 03:47:55 +0000 (03:47 +0000)]
GH-125722: Remove Sphinx patches (#129277)
Bénédikt Tran [Sat, 25 Jan 2025 01:04:31 +0000 (02:04 +0100)]
gh-111178: fix UBSan failures in `Modules/cjkcodecs/multibytecodec.c` (gh-129090)
Giles Copp [Fri, 24 Jan 2025 22:31:52 +0000 (17:31 -0500)]
gh-112713 : Add support for 'partitioned' attribute in http.cookies (GH-112714)
* Add support for 'partitioned' attribute in http.cookies
Co-authored-by: Giles Copp <gilesc@dropbox.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
Pablo Galindo Salgado [Fri, 24 Jan 2025 20:36:32 +0000 (20:36 +0000)]
gh-129223: Do not allow the compiler to optimise away symbols for debug sections (#129225)
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Kumar Aditya [Fri, 24 Jan 2025 17:40:24 +0000 (23:10 +0530)]
gh-128002: fix `test_all_tasks_different_thread` in asyncio (#129267)
Serhiy Storchaka [Fri, 24 Jan 2025 16:33:40 +0000 (18:33 +0200)]
Improve tests for _colorize.can_colorize() (#129234)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Kumar Aditya [Fri, 24 Jan 2025 15:42:56 +0000 (21:12 +0530)]
gh-128002: use `_PyObject_SetMaybeWeakref` when creating tasks in asyncio (#128885)
Victor Stinner [Fri, 24 Jan 2025 13:29:36 +0000 (14:29 +0100)]
gh-129185: Simplify PyTraceMalloc_Track() (#129256)
Since tracemalloc uses PyMutex, it becomes safe to use TABLES_LOCK()
even after _PyTraceMalloc_Fini(): remove the "pre-check" in
PyTraceMalloc_Track() and PyTraceMalloc_Untrack().
PyTraceMalloc_Untrack() no longer needs to acquire the GIL.
_PyTraceMalloc_Fini() can be called earlier during Python
finalization.
Sergey B Kirpichev [Fri, 24 Jan 2025 12:17:10 +0000 (15:17 +0300)]
gh-128863: Deprecate _PyLong_FromDigits() function (#127939)
Sergey B Kirpichev [Fri, 24 Jan 2025 11:05:52 +0000 (14:05 +0300)]
gh-127937: Convert decimal to use PEP 757 import API (#127925)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Victor Stinner [Fri, 24 Jan 2025 10:38:13 +0000 (11:38 +0100)]
gh-119182: Use public PyUnicodeWriter in _json.c (#129249)
Replace the private _PyUnicodeWriter API with the public
PyUnicodeWriter API.
Victor Stinner [Fri, 24 Jan 2025 10:25:24 +0000 (11:25 +0100)]
gh-129185: Use PyMutex in tracemalloc (#129246)
Bénédikt Tran [Fri, 24 Jan 2025 10:25:03 +0000 (11:25 +0100)]
gh-129173: Use `_PyUnicodeError_GetParams` in `PyCodec_IgnoreErrors` (#129174)
We also cleanup `PyCodec_StrictErrors` and the error message rendered
when an object of incorrect type is passed to codec error handlers.
Victor Stinner [Thu, 23 Jan 2025 23:31:49 +0000 (00:31 +0100)]
gh-119182: Use public PyUnicodeWriter in stringio.c (#129243)
Replace the private _PyUnicodeWriter API with the public
PyUnicodeWriter API.
Jeong, YunWon [Thu, 23 Jan 2025 21:20:40 +0000 (06:20 +0900)]
gh-109975: Add list of 3.13 removed library replacements (#127816)
Add list of 3.13 removed library replacements
Łukasz Langa [Thu, 23 Jan 2025 18:26:36 +0000 (19:26 +0100)]
gh-91048: Also clear and set ts->asyncio_running_task with eager tasks (#129197)
This was missing from gh-124640. It's already covered by the new
test_asyncio/test_free_threading.py in combination with the runtime
assertion in set_ts_asyncio_running_task.
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Terry Jan Reedy [Thu, 23 Jan 2025 18:25:14 +0000 (13:25 -0500)]
gh-71339: Use new assertion methods in test_idle (#129213)
Revise 10 tests in 7 files, with 1 test split into 2.
sobolevn [Thu, 23 Jan 2025 18:08:51 +0000 (21:08 +0300)]
gh-91048: Improve example in `asyncio-graph.rst` doc (#129224)
Andy Fiddaman [Thu, 23 Jan 2025 17:30:08 +0000 (17:30 +0000)]
gh-128330: Terminal control characters should be restored on repl exit (#128331)
Thomas Grainger [Thu, 23 Jan 2025 15:53:53 +0000 (15:53 +0000)]
gh-128479: fix asyncio staggered race leaking tasks, and logging unhandled exception.append exception (#128475)
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Bénédikt Tran [Thu, 23 Jan 2025 15:06:16 +0000 (16:06 +0100)]
gh-126004: Remove redundant safeguards for codecs handlers tests (#127680)
We remove the safeguards that were added in `Lib/test/test_capi/test_codecs.py`
since they are now redundant (see
32e07fd377f81cbeb8c108fc791a3e7d631319b6
for additional context).
Indeed, the codecs handlers now correctly handle the `start` and `end` positions
of `UnicodeError` objects and thus should not crash.
Victor Stinner [Thu, 23 Jan 2025 14:50:04 +0000 (15:50 +0100)]
gh-128690: Update test_embed for getpath.py exec_prefix change (#129137)
Bénédikt Tran [Thu, 23 Jan 2025 14:49:36 +0000 (15:49 +0100)]
gh-118761: Improve import time for `pstats` and `zipfile` (#128981)
Importing `pstats` or `zipfile` is now roughly 20% faster.
This is achieved by removing type annotations depending on `typing`.
gh-129149: Add fast path in PYLONG_FROM_UINT macro for compact integers (#129168)
Add fast path in PyLong_From*() functions for compact integers.
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Yan Yanchii <yyanchiy@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Sergey B Kirpichev [Thu, 23 Jan 2025 13:55:25 +0000 (16:55 +0300)]
gh-101410: support custom messages for domain errors in the math module (#124299)
This adds basic support to override default messages for domain errors
in the math_1() helper. The sqrt(), atanh(), log2(), log10() and log()
functions were modified as examples. New macro supports gradual
changing of error messages in other 1-arg functions.
Co-authored-by: CharlieZhao <zhaoyu_hit@qq.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Bénédikt Tran [Thu, 23 Jan 2025 13:28:33 +0000 (14:28 +0100)]
gh-126004: Fix positions handling in `codecs.backslashreplace_errors` (#127676)
This fixes how `PyCodec_BackslashReplaceErrors` handles the `start` and `end`
attributes of `UnicodeError` objects via the `_PyUnicodeError_GetParams` helper.
Sergey B Kirpichev [Thu, 23 Jan 2025 12:50:34 +0000 (15:50 +0300)]
gh-128863: Deprecate _PyLong_New() function (#129212)
Victor Stinner [Thu, 23 Jan 2025 12:49:35 +0000 (13:49 +0100)]
gh-129185: Remove internal TRACE_RAW_MALLOC macro (#129218)
Always build tracemalloc with PyMem_RawMalloc() hooks.
Victor Stinner [Thu, 23 Jan 2025 11:07:34 +0000 (12:07 +0100)]
gh-129185: Fix PyTraceMalloc_Untrack() at Python exit (#129191)
Support calling PyTraceMalloc_Track() and PyTraceMalloc_Untrack()
during late Python finalization.
* Call _PyTraceMalloc_Fini() later in Python finalization.
* Test also PyTraceMalloc_Untrack() without the GIL
* PyTraceMalloc_Untrack() now gets the GIL.
* Test also PyTraceMalloc_Untrack() in test_tracemalloc_track_race().
Bénédikt Tran [Thu, 23 Jan 2025 10:44:18 +0000 (11:44 +0100)]
gh-126004: Fix positions handling in `codecs.replace_errors` (#127674)
This fixes how `PyCodec_ReplaceErrors` handles the `start` and `end` attributes
of `UnicodeError` objects via the `_PyUnicodeError_GetParams` helper.
Bénédikt Tran [Thu, 23 Jan 2025 10:42:38 +0000 (11:42 +0100)]
gh-126004: Fix positions handling in `codecs.xmlcharrefreplace_errors` (#127675)
This fixes how `PyCodec_XMLCharRefReplaceErrors` handles the `start` and `end`
attributes of `UnicodeError` objects via the `_PyUnicodeError_GetParams` helper.
Sam Gross [Thu, 23 Jan 2025 09:26:25 +0000 (04:26 -0500)]
Revert "GH-128914: Remove conditional stack effects from `bytecodes.c` and the code generators (GH-128918)" (GH-129202)
The commit introduced a ~2.5-3% regression in the free threading build.
This reverts commit
ab61d3f4303d14a413bc9ae6557c730ffdf7579e .
Sergey B Kirpichev [Thu, 23 Jan 2025 02:54:23 +0000 (05:54 +0300)]
gh-127936, PEP 757: Convert marshal module to use import/export API for ints (#128530)
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Victor Stinner [Thu, 23 Jan 2025 02:11:53 +0000 (03:11 +0100)]
gh-128863: Deprecate _PyLong_Sign() function (#129176)
Replace _PyLong_Sign() with PyLong_GetSign().
Victor Stinner [Thu, 23 Jan 2025 00:57:37 +0000 (01:57 +0100)]
gh-119182: Use public PyUnicodeWriter in Python-ast.c (#129209)
Replace the private _PyUnicodeWriter API with the public
PyUnicodeWriter API.
Use PyUnicodeWriter_WriteRepr() in ast_repr_list().
Victor Stinner [Thu, 23 Jan 2025 00:44:43 +0000 (01:44 +0100)]
gh-119182: Use public PyUnicodeWriter in ast_unparse.c (#129208)
Replace the private _PyUnicodeWriter API with the public
PyUnicodeWriter API.
* Add append_char() function.
* Add APPEND_CHAR() and APPEND_CHAR_FINISH() macros.
* Replace APPEND_STR() and APPEND_STR_FINISH() of single character
with APPEND_CHAR() and APPEND_CHAR_FINISH().
Victor Stinner [Thu, 23 Jan 2025 00:18:26 +0000 (01:18 +0100)]
gh-119182: Use public PyUnicodeWriter in wrap_strftime() (#129206)
Replace the private _PyUnicodeWriter API with the public
PyUnicodeWriter API.
Victor Stinner [Thu, 23 Jan 2025 00:18:03 +0000 (01:18 +0100)]
gh-119182: Use public PyUnicodeWriter in time_strftime() (#129207)
Replace the private _PyUnicodeWriter API with the public
PyUnicodeWriter API.
Hood Chatham [Thu, 23 Jan 2025 00:02:04 +0000 (00:02 +0000)]
gh-128627: Emscripten: Fix address calculation for wasm-gc trampoline (#128782)
Modifies the memory calculation to divide the entire memory address by 4, not just the base address.
Hugo van Kemenade [Wed, 22 Jan 2025 21:22:21 +0000 (23:22 +0200)]
Add colour to GitHub Actions output (#129196)
Kirill Podoprigora [Wed, 22 Jan 2025 20:39:26 +0000 (22:39 +0200)]
gh-129192: Use `EnvironmentVarGuard` to restore environment variables (#129193)
Co-authored-by: Cody Maloney <cmaloney@theoreticalchaos.com>
Łukasz Langa [Wed, 22 Jan 2025 18:27:58 +0000 (19:27 +0100)]
GH-91048: Don't attempt to run on FreeBSD (#129189)
Yury Selivanov [Wed, 22 Jan 2025 16:25:29 +0000 (08:25 -0800)]
GH-91048: Add utils for capturing async call stack for asyncio programs and enable profiling (#124640)
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Co-authored-by: Jacob Coffee <jacob@z7x.org>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Pablo Galindo Salgado [Wed, 22 Jan 2025 16:24:54 +0000 (16:24 +0000)]
gh-124363: Treat debug expressions in f-string as raw strings (#128399)
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Tomas R. [Wed, 22 Jan 2025 16:15:23 +0000 (17:15 +0100)]
gh-128636: Fix crash in PyREPL when `os.environ` is overwritten with an invalid value (#128653)
Łukasz Langa [Wed, 22 Jan 2025 13:52:45 +0000 (14:52 +0100)]
gh-129158: Fix unwanted trailing whitespace in test_asyncio.test_subprocess (#129181)
Mikhail Efimov [Wed, 22 Jan 2025 12:50:01 +0000 (15:50 +0300)]
gh-125723: Fix crash with f_locals when generator frame outlive their generator (#126956)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Thomas Grainger [Wed, 22 Jan 2025 12:48:33 +0000 (12:48 +0000)]
gh-128770: fix ResourceWarning in test_pyrepl (#128906)
sobolevn [Wed, 22 Jan 2025 12:47:03 +0000 (15:47 +0300)]
gh-128894: Fix `TracebackException._format_syntax_error` on custom `SyntaxError` metadata (#128946)
Pablo Galindo Salgado [Wed, 22 Jan 2025 12:25:42 +0000 (12:25 +0000)]
gh-129158: Ensure we restore unix_events.can_use_pidfd after SubprocessThreadedWatcherTests finishes (#129160)
Victor Stinner [Wed, 22 Jan 2025 11:04:19 +0000 (12:04 +0100)]
gh-128863: Deprecate private C API functions (#128864)
Deprecate private C API functions:
* _PyBytes_Join()
* _PyDict_GetItemStringWithError()
* _PyDict_Pop()
* _PyThreadState_UncheckedGet()
* _PyUnicode_AsString()
* _Py_HashPointer()
* _Py_fopen_obj()
Replace _Py_HashPointer() with Py_HashPointer().
Remove references to deprecated functions.
Mark Shannon [Wed, 22 Jan 2025 10:51:37 +0000 (10:51 +0000)]
GH-128682: Change a couple of functions to only steal references on success. (GH-129132)
Change PyTuple_FromStackRefSteal and PyList_FromStackRefSteal to only steal on success to avoid escaping
Petr Viktorin [Wed, 22 Jan 2025 09:59:20 +0000 (10:59 +0100)]
gh-61103: Add What's New entry for complex types in ctypes (GH-129129)
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Joshua Root [Wed, 22 Jan 2025 09:25:30 +0000 (20:25 +1100)]
gh-128902: Fix check for fallthrough attribute support (#128903)
Clang versions prior to 10 (which corresponds to Apple Clang 12) do not
support the GCC extension syntax __attribute__((fallthrough)), but do
evaluate __has_attribute(fallthrough) to 1 because they support the
C++11 style syntax [[fallthrough]]. The only way to tell if the GCC
style syntax is supported is thus to check the clang version.
Ref: https://github.com/llvm/llvm-project/commit/
1e0affb6e564b7361b0aadb38805f26deff4ecfc
Ken Jin [Wed, 22 Jan 2025 01:22:25 +0000 (09:22 +0800)]
gh-128563: Move GO_TO_INSTRUCTION and PREDICT to cases generator (GH-129115)
Tomas R. [Wed, 22 Jan 2025 00:26:37 +0000 (01:26 +0100)]
gh-129093: Fix f-string debug text sometimes getting cut off when expression contains `!` (#129159)
Adam Turner [Tue, 21 Jan 2025 23:28:32 +0000 (23:28 +0000)]
GH-121970: Extract ``pydoc_topics`` into a new extension (#129116)
Daniel Hollas [Tue, 21 Jan 2025 21:06:13 +0000 (21:06 +0000)]
gh-118878: Pyrepl: show completions menu below the current line (#118939)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Lysandros Nikolaou [Tue, 21 Jan 2025 21:04:30 +0000 (22:04 +0100)]
gh-123024: Correctly prepare/restore around help and show-history commands (#124485)
Co-authored-by: Emily Morehouse <emily@cuttlesoft.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Pieter Eendebak [Tue, 21 Jan 2025 20:14:10 +0000 (21:14 +0100)]
gh-126332: Fix pyrepl crash for double ctrl-z in line overflow (#126650)
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Michael Kashirin [Tue, 21 Jan 2025 20:05:19 +0000 (23:05 +0300)]
gh-126172: Fix a misleading statement in PYTHON_BASIC_REPL documentation (#127203)
Fix a misleading statement in PYTHON_BASIC_REPL documentation.
Sergey B Kirpichev [Tue, 21 Jan 2025 20:04:07 +0000 (23:04 +0300)]
gh-122845: fix parameter_list_starargs in function definition pseudo-grammar (#122847)
Thanks to Artur Chakhvadze for bugfix.
Tomas R. [Tue, 21 Jan 2025 19:58:44 +0000 (20:58 +0100)]
gh-125553: Fix backslash continuation in `untokenize` (#126010)
Wim Jeantine-Glenn [Tue, 21 Jan 2025 19:52:21 +0000 (13:52 -0600)]
gh-128720: Fix doc inacurracy about __main__.__file__ existence in the REPL (#128721)
Fix doc inacurracy about __main__.__file__ existence in the REPL
Barney Gale [Tue, 21 Jan 2025 18:35:37 +0000 (18:35 +0000)]
GH-128520: Make `pathlib._abc.WritablePath` a sibling of `ReadablePath` (#129014)
In the private pathlib ABCs, support write-only virtual filesystems by
making `WritablePath` inherit directly from `JoinablePath`, rather than
subclassing `ReadablePath`.
There are two complications:
- `ReadablePath.open()` applies to both reading and writing
- `ReadablePath.copy` is secretly an object that supports the *read* side
of copying, whereas `WritablePath.copy` is a different kind of object
supporting the *write* side
We untangle these as follow:
- A new `pathlib._abc.magic_open()` function replaces the `open()` method,
which is dropped from the ABCs but remains in `pathlib.Path`. The
function works like `io.open()`, but additionally accepts objects with
`__open_rb__()` or `__open_wb__()` methods as appropriate for the mode.
These new dunders are made abstract methods of `ReadablePath` and
`WritablePath` respectively. If the pathlib ABCs are made public, we
could consider blessing an "openable" protocol and supporting it in
`io.open()`, removing the need for `pathlib._abc.magic_open()`.
- `ReadablePath.copy` becomes a true method, whereas `WritablePath.copy` is
deleted. A new `ReadablePath._copy_reader` property provides a
`CopyReader` object, and similarly `WritablePath._copy_writer` is a
`CopyWriter` object. Once GH-125413 is resolved, we'll be able to move
the `CopyReader` functionality into `ReadablePath.info` and eliminate
`ReadablePath._copy_reader`.
Michael Droettboom [Tue, 21 Jan 2025 18:13:33 +0000 (13:13 -0500)]
gh-129141: Fix build on gcc-9.4.0 (GH-129142)
Hugo van Kemenade [Tue, 21 Jan 2025 16:10:08 +0000 (18:10 +0200)]
gh-127873: Only check `sys.flags.ignore_environment` for `PYTHON*` env vars (#127877)
Petr Viktorin [Tue, 21 Jan 2025 15:29:02 +0000 (16:29 +0100)]
gh-128889: Zero out memory ctypes for generated struct layout tests (GH-128944)
Serhiy Storchaka [Tue, 21 Jan 2025 14:45:20 +0000 (16:45 +0200)]
gh-71339: Fix an order-dependent failure in test_unittest (GH-129133)
It failed if it was preceded by test_builtin.
Ken Jin [Tue, 21 Jan 2025 14:17:15 +0000 (22:17 +0800)]
gh-128563: Move lltrace into the frame struct (GH-129113)
Victor Stinner [Tue, 21 Jan 2025 13:43:31 +0000 (14:43 +0100)]
gh-128679: Use _PyThreadState_GET() in tracemalloc.c (#129126)
Replace uncommon PyGILState_GetThisThreadState() with common
_PyThreadState_GET().
Bénédikt Tran [Tue, 21 Jan 2025 11:43:09 +0000 (12:43 +0100)]
gh-129064: Fix RST markup for the NEWS and What's New entries (#129131)
This amends the NEWS and What's New entries introduced in
0a6412f9cc9e694e76299cfbd73ec969b7d47af6 .
Victor Stinner [Tue, 21 Jan 2025 11:02:38 +0000 (12:02 +0100)]
gh-126925: Make PyConfig.use_system_logger read-only (#129124)
The variable is only used once during early Python initialization, it
doesn't make sense to modify it at runtime.
Victor Stinner [Tue, 21 Jan 2025 10:58:43 +0000 (11:58 +0100)]
Remove PyInit__imp() function (#129125)
This function was exposed by mistake to the public C API. It's the
only "PyInit" function which is exposed.
Bénédikt Tran [Tue, 21 Jan 2025 10:50:13 +0000 (11:50 +0100)]
gh-111178: fix UBSan failures in `Modules/_ctypes` (#129071)
This fixes UBSan failures for the following objects:
- `DictRemoverObject` and `StructParamObject`,
- `CDataObject` and `CFieldObject`, and
- `PyCFuncPtrObject` and `PyCArgObject`.
On the default build, we convert the `LOCK_PTR` and `UNLOCK_PTR` macros to
functions with an unused parameter to ease "unused variable" compiler warnings
suppression. Finally, we also remove some redundant casts to `PyObject *`.
Bénédikt Tran [Tue, 21 Jan 2025 10:45:53 +0000 (11:45 +0100)]
gh-127787: allow retrieving the clipped slice length in `_PyUnicodeError_GetParams` (GH-128980)
Petr Viktorin [Tue, 21 Jan 2025 10:28:34 +0000 (11:28 +0100)]
gh-126349: test_turtle: Add cleanup to avoid reference leaks (GH-129079)
Mark Shannon [Tue, 21 Jan 2025 10:15:02 +0000 (10:15 +0000)]
GH-128563: Add new frame owner type for interpreter entry frames (GH-129078)
Add new frame owner type for interpreter entry frames
Petr Viktorin [Tue, 21 Jan 2025 09:59:18 +0000 (10:59 +0100)]
gh-128156: Guard use of `ffi_type_complex_double` on macOS system libffi (GH-128680)
* Determine ffi complex support at runtime
* Also, generate SIMPLE_TYPE_CHARS once at runtime
Mark Shannon [Tue, 21 Jan 2025 09:33:23 +0000 (09:33 +0000)]
GH-127953: Make line number lookup O(1) regardless of the size of the code object (GH-128350)
Serhiy Storchaka [Tue, 21 Jan 2025 09:24:19 +0000 (11:24 +0200)]
gh-71339: Use new assertion methods in test_import and test_importlib (GH-129052)
smelnikov [Tue, 21 Jan 2025 09:22:13 +0000 (13:22 +0400)]
Docs: fix typo in `Doc/howto/mro.rst` (GH-129095)
Hugo van Kemenade [Tue, 21 Jan 2025 09:20:54 +0000 (11:20 +0200)]
gh-128595: Fix `test__colorize` unexpected keyword argument 'file' on buildbots (#129070)
Adam Turner [Mon, 20 Jan 2025 23:53:33 +0000 (23:53 +0000)]
Revert "doc: add social cards generation support in sphinxext-opengraph (#129085)" (#129106)
Adam Turner [Mon, 20 Jan 2025 23:53:08 +0000 (23:53 +0000)]
GH-121970: Extract ``changes`` into a new extension (#129105)
Adam Turner [Mon, 20 Jan 2025 22:32:31 +0000 (22:32 +0000)]
Add Adam Turner to CODEOWNERS (#129104)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Filipe Laíns 🇵🇸 [Mon, 20 Jan 2025 21:25:14 +0000 (21:25 +0000)]
GH-92897: schedule the check_home deprecation to 3.15 (#129102)
Bénédikt Tran [Mon, 20 Jan 2025 20:43:55 +0000 (21:43 +0100)]
gh-111178: fix UBSan failures in `Modules/_multiprocessing/semaphore.c` (#129084)
fix UBSan failures for `SemLockObject`
Filipe Laíns 🇵🇸 [Mon, 20 Jan 2025 20:41:27 +0000 (20:41 +0000)]
doc: add social cards generation support in sphinxext-opengraph (#129085)
Filipe Laíns 🇵🇸 [Mon, 20 Jan 2025 19:04:05 +0000 (19:04 +0000)]
doc: fix venv creating for the local Python using uv (#129094)
Wulian [Mon, 20 Jan 2025 18:12:29 +0000 (02:12 +0800)]
gh-91279: ZipFile.writestr now respect SOURCE_DATE_EPOCH (#124435)
5ec1cff [Mon, 20 Jan 2025 18:04:43 +0000 (02:04 +0800)]
GH-128131: Completely support random read access of uncompressed unencrypted files in ZipFile (#128143)
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Thomas Grainger [Mon, 20 Jan 2025 17:13:01 +0000 (17:13 +0000)]
gh-128588: gh-128550: remove eager tasks optimization that missed and introduced incorrect cancellations (#129063)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Mark Shannon [Mon, 20 Jan 2025 17:09:23 +0000 (17:09 +0000)]
GH-128914: Remove conditional stack effects from `bytecodes.c` and the code generators (GH-128918)
Filipe Laíns 🇵🇸 [Mon, 20 Jan 2025 17:03:44 +0000 (17:03 +0000)]
GH-129064: deprecate sysconfig.expand_makefile_vars (#129082)