]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Zhikang Yan [Fri, 2 May 2025 11:38:50 +0000 (19:38 +0800)]
gh-130482: Add ability to specify name for tkinter.OptionMenu and tkinter.ttk.OptionMenu (GH-130502)
sobolevn [Fri, 2 May 2025 11:28:17 +0000 (14:28 +0300)]
gh-133197: Improve error message for incompatible string / bytes prefixes (#133242)
sobolevn [Fri, 2 May 2025 10:12:24 +0000 (13:12 +0300)]
gh-133210: Fix `test_pydoc` in `--without-doc-strings` mode (#133271)
sobolevn [Fri, 2 May 2025 08:34:13 +0000 (11:34 +0300)]
gh-123539: Improve SyntaxError msg for `import as` with not a name (#123629)
Hugo van Kemenade [Fri, 2 May 2025 08:18:24 +0000 (11:18 +0300)]
gh-123299: Add missing pending removals (#133082)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Xuehai Pan [Thu, 1 May 2025 22:41:44 +0000 (06:41 +0800)]
gh-119605: Respect `follow_wrapped` for `__init__` and `__new__` when getting class signature with `inspect.signature` (#132055)
Michael Droettboom [Thu, 1 May 2025 18:49:39 +0000 (14:49 -0400)]
gh-133259: Show path to python.sh script on successful build (#133268)
* gh-133259: Show path to python.sh script on successful build
* wasmtime -> (generic) wasm runtime
Irit Katriel [Thu, 1 May 2025 17:15:53 +0000 (18:15 +0100)]
gh-133258: Fix crash in test_index (GH-133262)
Victor Stinner [Thu, 1 May 2025 17:13:03 +0000 (19:13 +0200)]
gh-133261: Use __builtin_frame_address() on GCC 9 and older (#133269)
GCC 9 and older don't have __has_builtin(), but have
__builtin_frame_address() function.
Stan Ulbrych [Thu, 1 May 2025 16:30:24 +0000 (17:30 +0100)]
gh-130197: Test pygettext --output option (GH-133041)
sobolevn [Thu, 1 May 2025 16:08:35 +0000 (19:08 +0300)]
gh-133210: Fix `test_inspect` in `--without-doc-strings` mode (#133250)
Victor Stinner [Thu, 1 May 2025 15:55:49 +0000 (17:55 +0200)]
gh-133256: Add _Py_NONSTRING macro (#133257)
Fix GCC 15 compiler warnings such as:
Modules/fcntlmodule.c:27:36: warning: initializer-string for
array of 'char' truncates NUL terminator but destination lacks
'nonstring' attribute (9 chars into 8 available)
[-Wunterminated-string-initialization]
static const char guard[GUARDSZ] = "\x00\xfa\x69\xc4\x67\xa3\x6c\x58";
Sergey B Kirpichev [Thu, 1 May 2025 14:20:36 +0000 (17:20 +0300)]
gh-130317: Fix test_pack_unpack_roundtrip() and add docs (#133204)
* Skip sNaN's testing in 32-bit mode.
* Drop float_set_snan() helper.
* Use memcpy() workaround for sNaN's in PyFloat_Unpack4().
* Document, that sNaN's may not be preserved by PyFloat_Pack/Unpack API.
Steve Dower [Thu, 1 May 2025 13:41:17 +0000 (14:41 +0100)]
gh-132930: Include IDLE path in registry for PyManager packages (GH-133246)
Tomas R. [Thu, 1 May 2025 13:32:11 +0000 (15:32 +0200)]
gh-130197: Improve test coverage of msgfmt.py (GH-133048)
neonene [Thu, 1 May 2025 12:32:57 +0000 (21:32 +0900)]
gh-133166: Fix missing error emission of PyType_GetModuleByDef (GH-133240)
Victor Stinner [Thu, 1 May 2025 11:42:42 +0000 (13:42 +0200)]
gh-124715: Fix method_dealloc(): use PyObject_GC_UnTrack() (#133199)
Replace _PyObject_GC_UNTRACK() with PyObject_GC_UnTrack() to not fail
if the method was already untracked.
Tomas R. [Thu, 1 May 2025 11:13:08 +0000 (13:13 +0200)]
gh-130655: Add a test for big-endian MO files in gettext (GH-132469)
Adam Turner [Thu, 1 May 2025 11:07:53 +0000 (12:07 +0100)]
Remove duplicate includes: Python/{bytecodes,ceval,optimizer_analysis}.c (#132622)
Irit Katriel [Thu, 1 May 2025 10:28:52 +0000 (11:28 +0100)]
gh-100239: specialize BINARY_OP/SUBSCR for list-slice (#132626)
Mark Shannon [Thu, 1 May 2025 10:02:51 +0000 (11:02 +0100)]
PyStats: Make sure that the `failure_kinds` array is big enough. (#133245)
Adam Turner [Thu, 1 May 2025 08:28:44 +0000 (09:28 +0100)]
Lint: Create a project-wide ``.ruff.toml`` settings file (#133124)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
sobolevn [Thu, 1 May 2025 07:17:07 +0000 (10:17 +0300)]
gh-133196: Guard PEP 750 grammar with `CHECK_VERSION` (#133225)
Malcolm Smith [Thu, 1 May 2025 04:17:41 +0000 (05:17 +0100)]
gh-131531: Make Android build retry after network failures (#133193)
Adds a retry strategy when downloading compilation resources for Android, plus some other cleanups.
Semyon Moroz [Thu, 1 May 2025 04:11:36 +0000 (08:11 +0400)]
gh-130167: Improve ``difflib.IS_LINE_JUNK`` performance by using string methods (#130170)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Tim Peters <tim.peters@gmail.com>
Nybblista [Thu, 1 May 2025 03:36:59 +0000 (06:36 +0300)]
Add missing whitespace in `is_running_main` comment (#133174)
Russell Keith-Magee [Thu, 1 May 2025 02:57:49 +0000 (10:57 +0800)]
Bump the HACL* revision. (#133226)
Bump the HACL* revision to include iOS platform identification.
Russell Keith-Magee [Thu, 1 May 2025 02:35:33 +0000 (10:35 +0800)]
gh-133183: Include IPHONEOS_DEPLOYMENT_TARGET in iOS shim targets. (#133184)
Include IPHONEOS_DEPLOYMENT_TARGET in iOS shim targets.
Eric Snow [Thu, 1 May 2025 02:35:20 +0000 (20:35 -0600)]
Revert "gh-132775: Add _PyCode_GetVarCounts() (gh-133128)" (gh-133232)
The change broke the s390 builds, so I'm reverting it while I investigate.
This reverts commit
94b4fcd806e7b692955173d309ea3b70a193ad96 .
Mae Hood [Wed, 30 Apr 2025 23:39:26 +0000 (00:39 +0100)]
dict: Remove redundant incref of immortal object Py_EMPTY_KEYS (GH-133200)
Eric Snow [Wed, 30 Apr 2025 23:34:05 +0000 (17:34 -0600)]
gh-132775: Add _PyPickle_GetXIData() (gh-133107)
There's some extra complexity due to making sure we we get things right when handling functions and classes defined in the __main__ module. This is also reflected in the tests, including the addition of extra functions in test.support.import_helper.
Russell Keith-Magee [Wed, 30 Apr 2025 22:21:57 +0000 (06:21 +0800)]
GH-125515: Remove two unused error branches. (#133181)
Remove two unused error branches in the generated bytecode handling.
Tian Gao [Wed, 30 Apr 2025 22:19:13 +0000 (15:19 -0700)]
gh-133153: Use rlcompleter for pdb's interact command (#133176)
sobolevn [Wed, 30 Apr 2025 19:38:25 +0000 (22:38 +0300)]
gh-133213: Add tests for `string.templatelib.TemplateIter` (#133215)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Eric Snow [Wed, 30 Apr 2025 18:19:20 +0000 (12:19 -0600)]
gh-132775: Add _PyCode_GetVarCounts() (gh-133128)
This helper is useful in a variety of ways, including in demonstrating how the different counts relate to one another.
It will be used in a later change to help identify if a function is "stateless", meaning it doesn't have any free vars or globals.
Note that a majority of this change is tests.
Savannah Ostrowski [Wed, 30 Apr 2025 18:03:57 +0000 (11:03 -0700)]
GH-114809: Add support for macOS multi-arch builds with the JIT enabled (#131751)
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com>
Rafael Fontenelle [Wed, 30 Apr 2025 16:52:03 +0000 (13:52 -0300)]
Apply 'mod' role to typing module (#133201)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
sobolevn [Wed, 30 Apr 2025 16:20:44 +0000 (19:20 +0300)]
gh-133197: Improve error message for `ft""` and `bt""` cases (#133202)
Hugo van Kemenade [Wed, 30 Apr 2025 16:12:28 +0000 (19:12 +0300)]
Remove redundant ``--keep-going`` when running Sphinx (#133156)
sobolevn [Wed, 30 Apr 2025 16:03:19 +0000 (19:03 +0300)]
gh-133211: Test that PEP750 types are final (#133212)
sobolevn [Wed, 30 Apr 2025 13:41:50 +0000 (16:41 +0300)]
gh-133167: Fix compilation process with `--enable-optimizations` and `--without-docstrings` (#133187)
Petr Viktorin [Wed, 30 Apr 2025 13:14:24 +0000 (15:14 +0200)]
gh-87135: test_threading: Wait on thread, not an Event it sets (GH-133198)
When the event is set the thread might not be done yet.
This is a fix-up for commit
4ebbfcf30e0e2d87ff6036d4d1de0f6f0ef7c46a
Matt Wozniski [Wed, 30 Apr 2025 13:09:41 +0000 (09:09 -0400)]
gh-131591: Add tests for _PdbClient (#132976)
dgpb [Wed, 30 Apr 2025 12:24:40 +0000 (15:24 +0300)]
gh-89867: string.Formatter auto numbering doc updates (GH-129617)
sobolevn [Wed, 30 Apr 2025 10:39:26 +0000 (13:39 +0300)]
gh-133194: Add `CHECK_VERSION` to new PEP758 grammar (#133195)
Mark Shannon [Wed, 30 Apr 2025 10:37:53 +0000 (11:37 +0100)]
GH-124715: Move trashcan mechanism into `Py_Dealloc` (GH-132280)
Victor Stinner [Wed, 30 Apr 2025 10:01:06 +0000 (12:01 +0200)]
gh-130317: Skip test_pack_unpack_roundtrip_for_nans() on x86 (#133155)
Reduce also the number of iterations from 1000 to 10 to ease
debugging failures and prevent "command line too line" error when
tests are re-run.
Lysandros Nikolaou [Wed, 30 Apr 2025 09:46:41 +0000 (11:46 +0200)]
gh-132661: Implement PEP 750 (#132662)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Wingy <git@wingysam.xyz>
Co-authored-by: Koudai Aono <koxudaxi@gmail.com>
Co-authored-by: Dave Peck <davepeck@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Paul Everitt <pauleveritt@me.com>
Co-authored-by: sobolevn <mail@sobolevn.me>
sobolevn [Wed, 30 Apr 2025 08:45:58 +0000 (11:45 +0300)]
gh-133117: Run mypy on `tomllib` in CI (#133118)
Rafael Fontenelle [Wed, 30 Apr 2025 08:35:15 +0000 (05:35 -0300)]
Remove trailing whitespace from python.gram (#133175)
Russell Keith-Magee [Wed, 30 Apr 2025 08:28:31 +0000 (16:28 +0800)]
gh-127604: Optimize -ldl usage on platforms that use dlopen for libFFI. (#133081)
Optimize -ldl usage on platforms that use dlopen for libFFI.
sobolevn [Wed, 30 Apr 2025 07:53:45 +0000 (10:53 +0300)]
Add `profile-gen-stamp` to `.gitignore` (#133188)
Shantanu [Wed, 30 Apr 2025 05:18:06 +0000 (22:18 -0700)]
gh-116436: Improve error message when TypeError occurs during dict update (#116443)
Inada Naoki [Wed, 30 Apr 2025 01:11:09 +0000 (10:11 +0900)]
gh-133036: Deprecate codecs.open (#133038)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Brandt Bucher [Wed, 30 Apr 2025 00:21:53 +0000 (17:21 -0700)]
Get rid of ERROR_IF's "label" parameter (GH-132654)
Brandt Bucher [Wed, 30 Apr 2025 00:21:14 +0000 (17:21 -0700)]
GH-125515: Mark code after "return" as unreachable in the cases generator (#133178)
Mark code after "return" as unreachable
Russell Keith-Magee [Tue, 29 Apr 2025 21:35:36 +0000 (05:35 +0800)]
gh-133131: Discover an appropriate iOS simulator rather than hard-coding iPhone SE 3rd gen (#133132)
Determines a candidate simulator at runtime rather than hardcoding iPhone SE.
Serhiy Storchaka [Tue, 29 Apr 2025 17:26:51 +0000 (20:26 +0300)]
gh-120220: Deprecate legacy methods for tracing variables in Tkinter (GH-120223)
They do not work with Tcl 9.0.
Use new methods added in Python 3.6.
Yongzi Li [Tue, 29 Apr 2025 17:20:50 +0000 (01:20 +0800)]
Docs: fix typo in `InternalDocs/garbage_collector.md` (gh-133151)
Fix typo in `InternalDocs/garbage_collector.md`.
Mark Shannon [Tue, 29 Apr 2025 17:00:35 +0000 (18:00 +0100)]
GH-132508: Use tagged integers on the evaluation stack for the last instruction offset (GH-132545)
Tian Gao [Tue, 29 Apr 2025 16:28:24 +0000 (09:28 -0700)]
gh-121468: Support async breakpoint in pdb (#132576)
Serhiy Storchaka [Tue, 29 Apr 2025 16:27:07 +0000 (19:27 +0300)]
gh-132987: Support __index__() in the socket module (GH-133093)
ntohl(), htonl(), if_indextoname(), getaddrinfo() now use __index__() if
available.
Also fix the Argument Clinic names for module-level functions (although
this does not affect the user).
Serhiy Storchaka [Tue, 29 Apr 2025 16:25:44 +0000 (19:25 +0300)]
gh-132987: Support __index__() in the stat module (GH-133097)
Use it for the mode arguments in filemode(), S_IMODE(), S_ISDIR(), etc.
Chris Eibl [Tue, 29 Apr 2025 16:03:45 +0000 (18:03 +0200)]
GH-130328: pasting in new REPL is slow on Windows (GH-132884)
Steve Dower [Tue, 29 Apr 2025 15:20:41 +0000 (16:20 +0100)]
gh-132930: Fixes PEP 514 registration for PyManager packages on x64 (GH-133154)
Victor Stinner [Tue, 29 Apr 2025 14:27:50 +0000 (16:27 +0200)]
gh-130317: Fix strict aliasing in PyFloat_Pack8() (#133150)
* Fix strict aliasing in PyFloat_Pack8() and PyFloat_Pack4().
* Fix _testcapi.float_set_snan() on x86 (32-bit).
Johannes Holmberg [Tue, 29 Apr 2025 14:14:46 +0000 (16:14 +0200)]
gh-132933: zipapp - apply the filter when creating the list of files to add (gh-132934)
Serhiy Storchaka [Tue, 29 Apr 2025 14:14:33 +0000 (17:14 +0300)]
gh-132987: Support __index__() in the lzma module (GH-133099)
Serhiy Storchaka [Tue, 29 Apr 2025 13:55:14 +0000 (16:55 +0300)]
gh-132987: Support __index__() in the select.kqueue_event constructor (GH-133094)
Serhiy Storchaka [Tue, 29 Apr 2025 13:28:47 +0000 (16:28 +0300)]
gh-132987: Support __index__() in the ssl.SSLContext.options setter (GH-133098)
Serhiy Storchaka [Tue, 29 Apr 2025 13:16:05 +0000 (16:16 +0300)]
gh-132987: Support __index__() in hashlib.scrypt() (GH-133100)
Even if such signature is not supported by PyArg_ParseTupleAndKeywords(),
Argument Clinic supports it with inlined converters.
Serhiy Storchaka [Tue, 29 Apr 2025 13:14:47 +0000 (16:14 +0300)]
gh-132987: Support __index__() in the posix module (GH-133096)
Support it for the dev_t values in mknod(), major(), minor() and makedev(),
CPU numbers in sched_setaffinity(), group numbers in setgroups(),
configuration name in fpathconf(), pathconf(), confstr(), and sysconf().
Stan Ulbrych [Tue, 29 Apr 2025 12:23:06 +0000 (13:23 +0100)]
gh-46236: Document `PyUnicodeIter_Type` (GH-132925)
Stan Ulbrych [Tue, 29 Apr 2025 11:22:15 +0000 (12:22 +0100)]
gh-57281: Fix duplicate deprecation note: array 'u' format (#133113)
Petr Viktorin [Tue, 29 Apr 2025 10:56:20 +0000 (12:56 +0200)]
gh-133079: Remove Py_C_RECURSION_LIMIT & PyThreadState.c_recursion_remaining (GH-133080)
Both were added in 3.13, are undocumented, and don't make sense in 3.14 due to
changes in the stack overflow detection machinery (gh-112282).
PEP 387 exception for skipping a deprecation period: https://github.com/python/steering-council/issues/288
Adam Turner [Tue, 29 Apr 2025 08:53:43 +0000 (09:53 +0100)]
gh-132930: Fix use of ALIAS_WPREFIX in pymanager builds (GH-133120)
Adam Turner [Tue, 29 Apr 2025 08:28:04 +0000 (09:28 +0100)]
GH-132930: Display 'free-threaded' in pymanager builds (GH-133119)
Mark Shannon [Tue, 29 Apr 2025 08:00:14 +0000 (09:00 +0100)]
GH-132554: Add stats for GET_ITER (GH-132592)
* Add stats for GET_ITER
* Look for common iterable types, not iterator types
* Add stats for self iter and fix naming in summary
sobolevn [Tue, 29 Apr 2025 07:53:12 +0000 (10:53 +0300)]
Run mypy workflow on `_colorize.py` and `Misc/mypy/**` changes (#133116)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Neil Schemenauer [Tue, 29 Apr 2025 06:38:29 +0000 (23:38 -0700)]
Revert gh-127266: avoid data races when updating type slots (gh-131174) (gh-133129)
This is triggering deadlocks in test_opcache. See GH-133130 for stack trace.
Raymond Hettinger [Tue, 29 Apr 2025 04:05:37 +0000 (23:05 -0500)]
gh-132893: Minor edits to the statistics module PR (gh-133106)
Eric Snow [Tue, 29 Apr 2025 02:21:47 +0000 (20:21 -0600)]
gh-87859: Track Code Object Local Kinds For Arguments (gh-132980)
Doing this was always the intention. I was finally motivated to find the time to do it.
See #87859 (comment).
Eric Snow [Tue, 29 Apr 2025 02:12:52 +0000 (20:12 -0600)]
gh-132775: Add _PyCode_ReturnsOnlyNone() (gh-132981)
The function indicates whether or not the function has a return statement.
This is used by a later change related treating some functions like scripts.
Donghee Na [Tue, 29 Apr 2025 00:48:53 +0000 (09:48 +0900)]
gh-132070: Use _PyObject_IsUniquelyReferenced in unicodeobject (gh-133039)
---------
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Eric Snow [Mon, 28 Apr 2025 23:23:46 +0000 (17:23 -0600)]
gh-132775: Add _PyMarshal_GetXIData() (gh-133108)
Note that the bulk of this change is tests.
Neil Schemenauer [Mon, 28 Apr 2025 21:17:34 +0000 (14:17 -0700)]
gh-125142: add REPL help text for keyboard shortcuts (gh-125143)
Neil Schemenauer [Mon, 28 Apr 2025 20:32:39 +0000 (13:32 -0700)]
Add internal docs about the free-threaded GC. (gh-132562)
Neil Schemenauer [Mon, 28 Apr 2025 20:28:44 +0000 (13:28 -0700)]
gh-127266: avoid data races when updating type slots (gh-131174)
In the free-threaded build, avoid data races caused by updating type slots
or type flags after the type was initially created. For those (typically
rare) cases, use the stop-the-world mechanism. Remove the use of atomics
when reading or writing type flags. The use of atomics is not sufficient to
avoid races (since flags are sometimes read without a lock and without
atomics) and are no longer required.
Neil Schemenauer [Mon, 28 Apr 2025 19:54:55 +0000 (12:54 -0700)]
gh-122320: Limit dict key versions used by test_opcache. (gh-132961)
The `test_load_global_module()` test consumes a lot of dict key versions.
Skip the test if we have consumed half of the available versions that can be
used for the "load global" cache.
Barney Gale [Mon, 28 Apr 2025 19:18:56 +0000 (20:18 +0100)]
GH-128520: pathlib ABCs tests: use explicit text encoding (#133105)
Follow-up to
fbffd70 . Set `encoding='utf-8'` when reading and writing text
in the tests for the private pathlib ABCs, which allows the tests to run
with `-W error -X warn_default_encoding`
Eric Snow [Mon, 28 Apr 2025 18:52:36 +0000 (12:52 -0600)]
gh-132775: Add _PyBytes_GetXIData() (gh-133101)
This is the base for several other XIData wrappers, like pickle and marshal. It is essentially a refactor of the existing bytes XIData code.
Neil Schemenauer [Mon, 28 Apr 2025 18:52:08 +0000 (11:52 -0700)]
gh-132942: Fix races in type lookup cache (gh-133032)
Two races related to the type lookup cache, when used in the
free-threaded build. This caused test_opcache to sometimes fail (as
well as other hard to re-produce failures).
Eric Snow [Mon, 28 Apr 2025 18:46:22 +0000 (12:46 -0600)]
gh-132775: Drop PyUnstable_InterpreterState_GetMainModule() (gh-132978)
We replace it with _Py_GetMainModule(), and add _Py_CheckMainModule(), but both in the internal-only C-API. We also add _PyImport_GetModulesRef(), which is the equivalent of _PyImport_GetModules(), but which increfs before the lock is released.
This is used by a later change related to pickle and handling __main__.
Eric Snow [Mon, 28 Apr 2025 18:41:32 +0000 (12:41 -0600)]
gh-132775: Add _PyModule_GetFilenameObject() and _PyModule_GetFilenameUTF8() (gh-132979)
They are derived from the existing `PyModule_GetFilenameObject().
They are used by a later change related to pickle and handling __main__.
Serhiy Storchaka [Mon, 28 Apr 2025 18:41:09 +0000 (21:41 +0300)]
gh-132742: Fix newly added tcflush() tests on Android (GH-133070)
Steve Dower [Mon, 28 Apr 2025 18:09:20 +0000 (19:09 +0100)]
gh-132930: Improve the names of IDLE and PyDoc shortcuts (GH-133091)
Barney Gale [Mon, 28 Apr 2025 18:04:20 +0000 (19:04 +0100)]
GH-128520: pathlib ABCs: raise text encoding warnings at correct stack level (#133051)
Ensure that warnings about unspecified text encodings are emitted from
`ReadablePath.read_text()`, `WritablePath.write_text()` and `magic_open()`
with the correct stack level set.
Eric Snow [Mon, 28 Apr 2025 17:55:15 +0000 (11:55 -0600)]
gh-132775: Cleanup Related to crossinterp.c Before Further Changes (gh-132974)
This change consists of adding tests and moving code around, with some renaming thrown in.
sobolevn [Mon, 28 Apr 2025 16:09:28 +0000 (19:09 +0300)]
gh-133054: Skip `test_pyrepl` tests when `cannot use pyrepl` is reported (#133055)
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Jelle Zijlstra [Mon, 28 Apr 2025 15:38:56 +0000 (08:38 -0700)]
gh-132952: Speed up startup by importing _io instead of io (#132957)