summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-118402: Fix inspect.signature() for functools.cmp_to_key() result (GH-118427)Serhiy Storchaka2024-04-303-3/+23
|
* gh-102402: Make test_relativeCreated_has_higher_precision less ↵Serhiy Storchaka2024-04-301-15/+45
| | | | implementation dependent (GH-118062)
* gh-117860: Add tests for resolving names when import rebind names (GH-118176)Serhiy Storchaka2024-04-308-0/+149
| | | | | | Add tests for "import", pkgutil.resolve_name() and unittest.mock.path() for cases when "import a.b as x" and "from a import b as x" give different results.
* gh-116622: Redirect stdout and stderr to system log when embedded in an ↵Malcolm Smith2024-04-307-0/+511
| | | | Android app (#118063)
* gh-118404: Fix inspect.signature() for non-comparable callables (GH-118405)Serhiy Storchaka2024-04-303-2/+15
|
* GH-118095: Add tier 2 support for YIELD_VALUE (GH-118380)Mark Shannon2024-04-309-16/+92
|
* gh-85453: Consistent backquotes on None occurences across datetime.rst (#118282)edson duarte2024-04-301-1/+1
|
* gh-118392: Add note about random.random for multi thread app (gh-118396)Donghee Na2024-04-301-0/+6
|
* GH-118306: Update JIT to use LLVM 18 (GH-118307)Savannah Ostrowski2024-04-298-37/+55
|
* gh-118359: Improve docs for Bdb.user_call (#118368)Tian Gao2024-04-291-0/+3
| | | The `argument_list` parameter of bdb.Bdb.user_call has been useless for 25 years. It is retained for backwards compatibility, but it will always be None.
* gh-118347: Fix Windows installer not updating launcher (GH-118386)Steve Dower2024-04-293-6/+7
|
* gh-117657: TSAN fix race on `gstate->young.count` (#118313)Alex Turner2024-04-292-13/+13
|
* gh-118331: Handle errors in _PyObject_SetManagedDict (#118334)Sam Gross2024-04-293-13/+20
| | | | | When detaching a dict, the `copy_values` call may fail due to out-of-memory errors. This can be triggered by test_no_memory in test_repl.
* gh-118401: Docs: Use Sphinx short options (#118403)Hugo van Kemenade2024-04-291-1/+1
|
* gh-117953: Share More Machinery Code Between Builtin and Dynamic Extensions ↵Eric Snow2024-04-293-156/+197
| | | | | (gh-118204) This change will make some later changes simpler. It also brings more consistent behavior and lower maintenance costs.
* gh-117783: Immortalize objects that use deferred reference counting (#118112)Sam Gross2024-04-2913-8/+134
| | | | | | | | | Deferred reference counting is not fully implemented yet. As a temporary measure, we immortalize objects that would use deferred reference counting to avoid multi-threaded scaling bottlenecks. This is only performed in the free-threaded build once the first non-main thread is started. Additionally, some tests, including refleak tests, suppress this behavior.
* Docs: Upgrade to Sphinx 7.3 (#118397)Hugo van Kemenade2024-04-292-2/+2
|
* gh-118331: Don't raise an error if tuple allocation fails when clearing ↵mpage2024-04-292-1/+29
| | | | | | | | | | weakrefs (#118338) It's not safe to raise an exception in `PyObject_ClearWeakRefs()` if one is not already set, since it may be called by `_Py_Dealloc()`, which requires that the active exception does not change. Additionally, make sure we clear the weakrefs even when tuple allocation fails.
* gh-118285: Fix signatures of operator.{attrgetter,itemgetter,methodcaller} ↵Serhiy Storchaka2024-04-296-5/+76
| | | | | | | | | 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-118351: Adapt support.TEST_MODULES_ENABLED for builds without the config ↵Kirill Podoprigora2024-04-292-4/+7
| | | | variable (GH-118354)
* gh-117953: Split Up _PyImport_LoadDynamicModuleWithSpec() (gh-118203)Eric Snow2024-04-295-144/+192
| | | | | | | Basically, I've turned most of _PyImport_LoadDynamicModuleWithSpec() into two new functions (_PyImport_GetModInitFunc() and _PyImport_RunModInitFunc()) and moved the rest of it out into _imp_create_dynamic_impl(). There shouldn't be any changes in behavior. This change makes some future changes simpler. This is particularly relevant to potentially calling each module init function in the main interpreter first. Thus the critical part of the PR is the addition of _PyImport_RunModInitFunc(), which is strictly focused on running the init func and validating the result. A later PR will take it a step farther by capturing error information rather than raising exceptions. FWIW, this change also helps readers by clarifying a bit more about what happens when an extension/builtin module is imported.
* Uncomment one grammar test (#118361)Nikita Sobolev2024-04-291-1/+1
|
* gh-114099: Fix typos in iOS/README.rst (GH-118378)Xie Yanbo2024-04-291-2/+2
|
* Fix typo in Doc/c-api/exceptions.rst (GH-118371)Xie Yanbo2024-04-291-1/+1
|
* Fix typo in Doc/howto/timerfd.rst (GH-118376)Xie Yanbo2024-04-291-1/+1
|
* Fix typo in Doc/c-api/typeobj.rst (GH-118377)Xie Yanbo2024-04-291-1/+1
|
* gh-107674: Lazy load line number to improve performance of tracing (GH-118127)Tian Gao2024-04-294-19/+61
|
* gh-115119: Detect _decimal dependencies using pkg-config (#115406)Erlend E. Aasland2024-04-295-104/+211
| | | pkg-config is supported for libmpdec 4.0.0 and newer.
* GH-118095: Allow a variant of RESUME_CHECK in tier 2 (GH-118286)Mark Shannon2024-04-296-103/+189
|
* gh-118374: test_ast: Add ``ctx`` argument to ``ast.Name`` calls (#118375)Kirill Podoprigora2024-04-291-3/+3
|
* gh-118293: Suppress mouse cursor feedback when launching Windows processes ↵Henrik Tunedal2024-04-285-1/+71
| | | | with multiprocessing (GH-118315)
* gh-101100: Fix Sphinx warnings in `whatsnew/3.10.rst` (#118356)Hugo van Kemenade2024-04-281-37/+37
|
* gh-101100: Fix Sphinx warnings in `library/faulthandler.rst` (#118353)Hugo van Kemenade2024-04-282-8/+9
|
* gh-101100: Fix Sphinx warnings in `whatsnew/3.9.rst` (#118364)Hugo van Kemenade2024-04-287-37/+37
|
* Fix typo in Tools/wasm/README.md(#118358)Xie Yanbo2024-04-281-1/+1
|
* gh-109118: Make comprehensions work within annotation scopes, but without ↵Jelle Zijlstra2024-04-284-34/+39
| | | | | inlining (#118160) Co-authored-by: Carl Meyer <carl@oddbird.net>
* gh-118323: Document `&&` grammar syntax (#118324)Nikita Sobolev2024-04-271-0/+3
|
* Correct typo in iOS README (#118341)Wulian2332024-04-271-1/+1
|
* Correct spelling error in recent NEWS entry (#118308)Xie Yanbo2024-04-271-1/+1
|
* gh-110693: Use a Larger Queue for Per-Interpreter Pending Calls (gh-118302)Eric Snow2024-04-272-4/+6
| | | This is an improvement over the status quo, reducing the likelihood of completely filling the pending calls queue. However, the problem won't go away completely unless we move to an unbounded linked list or add a mechanism for waiting until the queue isn't full.
* bpo-32839: Add the after_info() method for Tkinter widgets (GH-5664)Cheryl Sabella2024-04-264-0/+59
|
* gh-112730: Respect tests that require environment variables with no-colorize ↵Pablo Galindo Salgado2024-04-262-2/+5
| | | | fixes (#118288)
* gh-116749: Disable GIL by default in free-threaded build (#118295)Sam Gross2024-04-261-3/+1
| | | | Switch GIL to disabled by default in free-threaded build so that the free-threaded CIs catch thread-safety issues.
* GH-118095: Add dynamic exit support and FOR_ITER_GEN support to tier 2 ↵Mark Shannon2024-04-2612-139/+315
| | | | (GH-118279)
* gh-117680: Fix msvc warning in instruction_sequence.c (#118326)neonene2024-04-261-2/+2
|
* gh-117385: Remove unhooked events on sys.settrace (GH-117386)Tian Gao2024-04-262-3/+3
|
* gh-117657: Fix race data race in `_Py_IsOwnedByCurrentThread()` (#118258)mpage2024-04-262-1/+4
|
* Fix note in Enum.__new__ docs (#118284)Philipp A2024-04-261-5/+5
|
* gh-117928: Bump the minimum Sphinx version to 6.2.1 (#117853)Kirill Podoprigora2024-04-266-40/+24
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-118235: Skip RAISE_SYNTAX_ERROR rules in the grammar spec (GH-118237)Petr Viktorin2024-04-261-0/+2
|