Stan Ulbrych
622d97b8bb
gh-139198: Remove Tools/scripts/checkpip.py script (GH-139199)
...
Commit
2025-10-30 11:50:16 +01:00
Donghee Na
c45e6e1bb3
gh-137821: Improve Argument Clinic definitions in the `_json` module ( #140780 )
2025-10-30 10:32:08 +00:00
Stan Ulbrych
dbe3950a76
gh-129117: Add unicodedata.isxidstart() function ( #140269 )
...
Expose `_PyUnicode_IsXidContinue/Start` in `unicodedata`:
add isxidstart() and isxidcontinue() functions.
Co-authored-by: Victor Stinner <vstinner@python.org >
2025-10-30 10:18:12 +00:00
Yoonho Hann
25bd72d683
gh-137821: Convert _json module to use Argument Clinic (gh-140778)
2025-10-30 09:42:09 +00:00
Guo Ci
b85e10fd12
gh-120057: add os.reload_environ to __all__ ( #140763 )
...
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2025-10-29 21:21:26 +00:00
Stan Ulbrych
c74793c450
gh-140741: Fix test added in gh-140745 ( #140760 )
...
Commit
2025-10-29 16:10:58 +00:00
Mikhail Efimov
8706167474
gh-140576: Fixed crash produced by lexer in case of dedented zero byte ( #140583 )
2025-10-29 13:27:35 +00:00
Cody Maloney
6ff62ac4fb
gh-140082: Forward colorizing from libregrtest to unittest ( #140083 )
...
libregrtest redirects test output to a file as part of its operation.
When `unittest` checks to see if it should colorize with
`isatty(sys.stdout)` that fails resulting in no colorizing of the
unittest output.
Update `libregrtest` to set `FORCE_COLOR=1` when redirecting test output
so that unittest will do color printing.
Co-authored-by: Victor Stinner <vstinner@python.org >
2025-10-29 13:33:44 +01:00
Victor Stinner
376559bf54
gh-140702: Log color and GHA env vars in test.pythoninfo ( #140747 )
2025-10-29 13:29:10 +01:00
Stan Ulbrych
d3aa5f689c
gh-140741: Fix profiling.sampling handling of error raised by target ( #140745 )
2025-10-29 11:38:28 +00:00
Mikhail Efimov
02202c117b
gh-140551: Fix dict crash if clear is called at lookup stage ( #140558 )
...
Co-authored-by: Inada Naoki <songofacandy@gmail.com >
2025-10-29 14:36:23 +05:30
Russell Keith-Magee
9f8d005d29
gh-140702: Add test skip for Unix Datagram tests on iOS when on Github Actions ( #140740 )
...
Exposes the GITHUB_ACTIONS environment variable to iOS simulator test runs, and
uses this variable to skip a Unix Datagram socketserver test that is unreliable
in the iOS GitHub Actions environment.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com >
2025-10-29 08:33:04 +00:00
Frost Ming
058bc182b9
gh-139940: Handle RuntimeError when attaching to a non-existing process in pdb. ( #139941 )
2025-10-28 23:12:12 -07:00
tconley1428
c41f84ff61
gh-140228: Avoid making unnecessary syscalls in linecache for frozen modules ( #140377 )
2025-10-28 23:06:22 -07:00
Maciej Olko
ce4b0ede16
gh-139588: Increase maximum LaTeX list depth ( #140709 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com >
2025-10-28 19:56:23 +00:00
Victor Stinner
c6d4c79c9a
gh-140657: Don't rerun test_import single phase init test (GH-140712)
...
test_basic_multiple_interpreters_main_no_reset() leaks memory:
import_in_subinterp() is called with postcleanup=False.
2025-10-28 18:05:03 +01:00
Victor Stinner
80f20f58b2
gh-125434: Fix non-ASCII thread names in faulthandler on Windows ( #140700 )
...
Add _Py_DumpWideString() function to dump a wide string as ASCII. It
supports surrogate pairs.
Replace _Py_EncodeLocaleRaw() with _Py_DumpWideString()
in write_thread_name().
2025-10-28 14:41:51 +01:00
Peter Bierma
2cefa70eb9
gh-140544: Always assume that thread locals are available (GH-140690)
...
Python has required thread local support since 3.12 (see GH-103324). By assuming that thread locals are always supported, we can improve the performance of third-party extensions by allowing them to access the attached thread and interpreter states directly.
2025-10-28 09:07:19 -04:00
Mikhail Efimov
88ad41fa34
gh-139951: Tests on tuple GC tracking ( #140575 )
2025-10-28 10:55:41 +01:00
Sergey Miryanov
d26686a7f8
GH-140590: Fix setstate for functools.partial C-module (GH-140671)
...
Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com >
2025-10-28 10:28:32 +01:00
Russell Keith-Magee
f4e6370582
gh-140189: Add CI job to test iOS builds. ( #140190 )
...
Adds a CI configuration to test iOS builds on every build.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com >
2025-10-28 13:46:38 +08:00
Kumar Aditya
f5394c257c
gh-140544: fix build for including pycore_pystate.h when HAVE_THREAD_LOCAL is not defined ( #140623 )
2025-10-28 01:40:41 +05:30
Serhiy Storchaka
364ae607d8
gh-140634: Fix a reference counting bug in os.sched_param.__reduce__() (GH-140667)
2025-10-27 21:42:32 +02:00
Ken Jin
a716091227
gh-140104: Set next_instr properly in the JIT during exceptions (GH-140233)
...
Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com >
Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com >
2025-10-27 18:26:47 +00:00
Cody Maloney
0f0a362768
gh-140607: Validate returned byte count in RawIOBase.read ( #140611 )
...
While `RawIOBase.readinto` should return a count of bytes between 0 and
the length of the given buffer, it is not required to. Add validation
inside RawIOBase.read() that the returned byte count is valid.
Co-authored-by: Shamil <ashm.tech@proton.me >
Co-authored-by: Victor Stinner <vstinner@python.org >
2025-10-27 18:06:46 +00:00
Victor Stinner
313145eab5
gh-125434: Display thread name in faulthandler on Windows ( #140675 )
2025-10-27 18:41:18 +01:00
alm
1753ccb432
gh-138050: [WIP] JIT - Streamline MAKE_WARM - move coldness check to executor creation (GH-138240)
2025-10-27 16:37:37 +00:00
Stan Ulbrych
e03d8e4f50
gh-79922: Remove always false test skips in test_time ( #136202 )
2025-10-27 15:09:25 +00:00
Alper
9479a62a51
gh-116738: Use PyMutex for bz2 module (gh-140555)
...
The methods are already wrapped with a lock, which makes them thread-safe in
free-threaded build. This replaces `PyThread_acquire_lock` with `PyMutex` and
removes some macros and allocation handling code.
Also add a test for free-threading to ensure we aren't getting data races and
that the locking is working.
2025-10-27 09:52:30 -04:00
Itamar Oren
e8b5cb8f33
gh-140641: Break out of inittab search on match (GH-140642)
2025-10-27 15:18:58 +02:00
Victor Stinner
c636477523
gh-140487: Fix Py_RETURN_NOTIMPLEMENTED in limited C API 3.11 (GH-140636)
...
Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE have already been
fixed by commit 9258f3da91 (issue gh-134989).
2025-10-27 12:59:56 +01:00
Petr Viktorin
18e4a89e42
gh-134160: Add more comments for the xxlimited module (GH-140214)
2025-10-27 11:39:42 +01:00
RayXu
d12086e822
Docs: Replace "encoder" with "decoder" in Doc/c-api/codec.rst ( #140613 )
2025-10-27 10:43:24 +01:00
Petr Viktorin
3416e7c8dc
gh-140633: AppleFrameworkLoader: Ignore AttributeError when setting __file__ (GH-140635)
2025-10-27 10:09:22 +01:00
Shamil
7d70a147f5
Remove dead stores to 'size' in UTF-8 decoder (unicodeobject.c) ( #140637 )
2025-10-27 11:55:57 +03:00
da-woods
f5da369e20
Fix typo in TLS docs ( #140640 )
2025-10-27 10:28:30 +05:30
Brian Schubert
3dab11f888
gh-138944: Fix SyntaxError message for invalid syntax following valid import-as statement ( #138945 )
2025-10-26 22:35:21 +00:00
yihong
9d34623eb1
gh-140609: delete unused _stdlib_enums in enum.py ( #140618 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2025-10-26 18:37:31 +01:00
Bartosz Sławecki
06c779474c
gh-137568: Ignore startup file in test_dumb_terminal_exits_cleanly (GH-140295)
2025-10-26 10:48:03 -04:00
Sebastian Pipping
e34a5e3304
gh-140593: Fix a memory leak in function my_ElementDeclHandler of pyexpat ( #140602 )
...
Ensure that the memory allocated for the content model
passed to `my_ElementDeclHandler` is freed in all error
paths.
2025-10-26 13:45:32 +00:00
Bénédikt Tran
37827c1752
gh-133346: add tests for _colorize.Theme ( #139687 )
2025-10-26 12:07:31 +00:00
Bénédikt Tran
387ac2d2f3
gh-133346: make _colorize.Argparse kw-only constructible ( #140620 )
...
Other themes are kw-only constructible.
2025-10-26 11:33:57 +00:00
Stan Ulbrych
00026d19c2
gh-76007: Deprecate __version__ attribute in decimal ( #140302 )
...
Co-authored-by: Victor Stinner <vstinner@python.org >
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com >
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com >
2025-10-26 12:01:04 +01:00
RayXu
33b2ca80bb
Docs: Fix a grammatical error in Doc/c-api/codec.rst ( #140612 )
2025-10-26 10:39:32 +01:00
Zachary Ware
421a475c87
gh-124694: Add versionadded note to InterpreterPoolExecutor ( #140468 )
2025-10-25 18:29:46 -05:00
RayXu
d74a96366d
Fix typo in Doc/c-api/code.rst ( #140586 )
2025-10-25 17:34:45 +02:00
Shamil
2a1c9bd616
Remove unreachable break statements in _ctypes_test.c ( #140585 )
2025-10-25 14:59:12 +00:00
Kumar Aditya
df07364106
gh-140544: use faster _PyInterpreterState_GET for type lock ( #140584 )
2025-10-25 14:53:26 +00:00
Kumar Aditya
ef4665f918
gh-140544: store pointer to interpreter state as a thread local for fast access ( #140573 )
2025-10-25 19:56:07 +05:30
RayXu
4ad599501f
Docs: Fix a grammatical error in Doc/c-api/capsule.rst (GH-140577)
...
"who" -> "which"
2025-10-25 09:54:52 -04:00