]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Sergey B Kirpichev [Mon, 10 Nov 2025 15:36:01 +0000 (18:36 +0300)]
gh-141004: Deprecate Py_MATH_El and Py_MATH_PIl macros (#141035)
Co-authored-by: Victor Stinner <vstinner@python.org>
dr-carlos [Mon, 10 Nov 2025 14:56:45 +0000 (01:26 +1030)]
gh-141174: Improve `annotationlib._Stringifier` test coverage (#141220)
* Test `_Stringifier.__convert_to_ast()` for containers
* Test partial evaluation of `ForwardRef`s in `_Stringifier`
Yongzi Li [Mon, 10 Nov 2025 14:55:15 +0000 (22:55 +0800)]
gh-141343: Fix swapped words in `sorted` doc (GH-141348)
dr-carlos [Mon, 10 Nov 2025 14:54:50 +0000 (01:24 +1030)]
gh-141174: Improve `annotationlib.call_annotate_function()` test coverage (#141176)
* Test passing unsupported Format values to call_annotate_function()
* Test call_evaluate_function with fake globals that raise errors
* Fix typo and comparison in test_fake_global_evaluation
dr-carlos [Mon, 10 Nov 2025 14:53:40 +0000 (01:23 +1030)]
gh-141174: Improve `ForwardRef` test coverage (#141175)
* Test unsupported format in ForwardRef.evaluate()
* Test dict cell closure with multiple variables
* Test all options in ForwardRef repr
* Test ForwardRef being a final class
Victor Stinner [Mon, 10 Nov 2025 14:50:51 +0000 (15:50 +0100)]
gh-141341: Rename COMPILER macro to _Py_COMPILER on Windows (#141342)
dr-carlos [Mon, 10 Nov 2025 14:45:22 +0000 (01:15 +1030)]
gh-141174: Improve `annotationlib.get_annotations()` test coverage (#141286)
* Test `get_annotations(format=Format.VALUE)` for stringized annotations on custom objects
* Test `get_annotations(format=Format.VALUE)` for stringized annotations on wrapped partial functions
* Update test_stringized_annotations_with_star_unpack() to actually test stringized annotations
* Test __annotate__ returning a non-dict
* Test passing globals and locals to stringized `get_annotations()`
David Ellis [Mon, 10 Nov 2025 13:57:11 +0000 (13:57 +0000)]
gh-137530: generate an __annotate__ function for dataclasses __init__ (GH-137711)
Petr Viktorin [Mon, 10 Nov 2025 13:42:18 +0000 (14:42 +0100)]
gh-136702: Clear codec caches for refleak tests; use test.support helpers (GH-141345)
This should fix refleak buildbots.
Stan Ulbrych [Mon, 10 Nov 2025 13:37:34 +0000 (13:37 +0000)]
gh-139707: Specify `winreg`, `msvcrt` and `winsound` module availability in docs (GH-140429)
Karina Souza [Mon, 10 Nov 2025 12:39:49 +0000 (04:39 -0800)]
gh-140500: Update download.html instructions (#141320)
Co-authored-by: Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
Stan Ulbrych [Mon, 10 Nov 2025 10:05:06 +0000 (10:05 +0000)]
gh-141004: Document `pyctype.h` macros (GH-141272)
Stan Ulbrych [Mon, 10 Nov 2025 00:43:03 +0000 (00:43 +0000)]
gh-141004: Document `Py_DTSF_*` macros (GH-141310)
KarnbirKhera [Sun, 9 Nov 2025 23:45:38 +0000 (15:45 -0800)]
gh-62480: De-personalize "Partial mocking" section in `unittest.mock` examples (#141321)
* Refine some wording in unittest partial mock doc
Some of the descriptions were addressed in first person,
but have now been changed to address the user reading the documentation instead.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Elena O [Sun, 9 Nov 2025 23:42:22 +0000 (15:42 -0800)]
gh-62480: De-personalize "Mocking Unbound Methods" section in `unittest.mock` examples (#141322)
* Rewrite Mocking Unbound Methods paragraph to second person
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Stan Ulbrych [Sun, 9 Nov 2025 19:53:56 +0000 (19:53 +0000)]
gh-141004: Document `PySuper_Type` (GH-141315)
Lakshya Upadhyaya [Sun, 9 Nov 2025 18:59:06 +0000 (00:29 +0530)]
gh-140980: document `SET_FUNCTION_ATTRIBUTE` flag for `annotate` function (#141306)
Peter Bierma [Sun, 9 Nov 2025 18:03:38 +0000 (13:03 -0500)]
gh-141004: Document `PyClassMethod*` and `PyStaticMethod*` APIs (GH-141296)
Peter Bierma [Sun, 9 Nov 2025 17:49:17 +0000 (12:49 -0500)]
gh-141004: Document `PyFunction_SetKwDefaults` (GH-141294)
Peter Bierma [Sun, 9 Nov 2025 17:09:09 +0000 (12:09 -0500)]
gh-141004: Document `PyExceptionInstance*` APIs (GH-141301)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Peter Bierma [Sun, 9 Nov 2025 16:21:44 +0000 (11:21 -0500)]
gh-141004: Document `Py_func_type_input` (GH-141273)
Bénédikt Tran [Sun, 9 Nov 2025 15:44:26 +0000 (16:44 +0100)]
gh-141004: document `curses` C API (#141254)
Stan Ulbrych [Sun, 9 Nov 2025 15:32:39 +0000 (15:32 +0000)]
gh-141004: Document `PyWeakref_CheckRefExact` (GH-141279)
Peter Bierma [Sun, 9 Nov 2025 15:06:38 +0000 (10:06 -0500)]
gh-141004: Document deprecated aliases for memory allocation (GH-141146)
Bénédikt Tran [Sun, 9 Nov 2025 14:14:08 +0000 (15:14 +0100)]
gh-111389: replace deprecated occurrences of `_PyHASH_*` macros (#141236)
Bénédikt Tran [Sun, 9 Nov 2025 12:45:38 +0000 (13:45 +0100)]
gh-100218: correctly set `errno` when `socket.if_{nametoindex,indextoname}` raise `OSError` (#140905)
Previously, socket.if_nametoindex() and socket.if_indextoname() could raise
an `OSError` with a `None` errno. Now, the errno from libc is propagated.
Bénédikt Tran [Sun, 9 Nov 2025 12:41:08 +0000 (13:41 +0100)]
gh-140530: fix a reference leak in an error path for `raise exc from cause` (#140908)
Fix a reference leak in `raise E from T` when `T` is an exception
subtype for which `T.__new__` does not return an exception instance.
Stan Ulbrych [Sun, 9 Nov 2025 12:37:34 +0000 (12:37 +0000)]
gh-136702: Deprecate passing non-ascii *encoding* (str) to `encodings.normalize_encoding` (#140030)
Closes #136702
Chilla Kalyan [Sun, 9 Nov 2025 08:57:34 +0000 (14:27 +0530)]
gh-141127: Clarify o?s.symlink() documentation for argument order (#141144)
Mohsin Mehmood [Sun, 9 Nov 2025 04:49:29 +0000 (09:49 +0500)]
gh-141186: document `asyncio.Task` cancellation propagation behavior (#141249)
Stan Ulbrych [Sat, 8 Nov 2025 19:22:05 +0000 (19:22 +0000)]
gh-141004: Document `Py_BUILD_ASSERT*` macros (GH-141266)
Stan Ulbrych [Sat, 8 Nov 2025 18:12:03 +0000 (18:12 +0000)]
gh-141004: Document the `PyDoc_VAR` macro (GH-141263)
Peter Bierma [Sat, 8 Nov 2025 17:29:31 +0000 (12:29 -0500)]
gh-141004: Document `PyBUF_WRITEABLE` (GH-141255)
Peter Bierma [Sat, 8 Nov 2025 15:47:09 +0000 (10:47 -0500)]
gh-141004: Document `PyErr_ProgramTextObject` and `PyErr_ProgramText` (GH-141250)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
莯凛 [Sat, 8 Nov 2025 14:56:48 +0000 (22:56 +0800)]
gh-141246: Link to correct Windows docs in `time.sleep()` doc (#141248)
Bénédikt Tran [Sat, 8 Nov 2025 12:22:02 +0000 (13:22 +0100)]
gh-141004: correctly document `Py_HASH_*` and `PyHASH_*` as `hash_info` attributes (#141233)
Naitree Zhu [Sat, 8 Nov 2025 10:19:42 +0000 (19:19 +0900)]
gh-139741: Make `dist-pdf` docs archive build work for macOS (#140837)
Serhiy Storchaka [Sat, 8 Nov 2025 10:17:59 +0000 (12:17 +0200)]
gh-140615: Update docstrings in the fcntl module (GH-140619)
* Refer to bytes objects or bytes-like objects instead of strings.
* Remove backticks -- they do not have effect on formatting.
* Re-wrap lines to ensure the pydoc output fits in 80 coluimns.
* Remove references to the 1024 bytes limit.
Serhiy Storchaka [Sat, 8 Nov 2025 10:07:27 +0000 (12:07 +0200)]
gh-140793: Improve documentatation and tests for the ensure_ascii option in the json module (GH-140906)
* Document that ensure_ascii=True forces escaping not only non-ASCII, but also
non-printable characters (the only affected ASCII character is U+007F).
* Ensure that the help output for the json module does not exceed 80
columns (except one long line in an example and generated lines).
* Add more tests.
Bénédikt Tran [Sat, 8 Nov 2025 09:10:27 +0000 (10:10 +0100)]
gh-141004: fix `versionadded` typo for `Py_HASH_SIPHASH13` (#141223)
Brandon Hubacher [Sat, 8 Nov 2025 09:08:19 +0000 (03:08 -0600)]
fix typos in contextvars asyncio support example docs (#141219)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Steve Dower [Sat, 8 Nov 2025 06:28:01 +0000 (06:28 +0000)]
gh-140849: Update bundled liblzma to 5.8.1 on Windows (#141022)
Peter Bierma [Fri, 7 Nov 2025 18:46:47 +0000 (13:46 -0500)]
gh-141004: Document `PyTraceBack*` APIs (GH-141192)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Bénédikt Tran [Fri, 7 Nov 2025 18:25:32 +0000 (19:25 +0100)]
gh-141004: Document `Py_HASH_*` macros (#141205)
Peter Bierma [Fri, 7 Nov 2025 16:19:14 +0000 (11:19 -0500)]
gh-141004: Document `PyErr_WarnExplicitFormat` (GH-141187)
Peter Bierma [Fri, 7 Nov 2025 14:09:38 +0000 (09:09 -0500)]
gh-141004: Document `PyCapsule_Type` (GH-141079)
W. H. Wang [Fri, 7 Nov 2025 13:34:49 +0000 (21:34 +0800)]
Update NaNs handling description in `c-api/float.rst` (#141179)
Clarified the behavior of NaNs on IEEE platforms regarding signaling and quiet NaNs.
Petr Viktorin [Fri, 7 Nov 2025 13:17:47 +0000 (14:17 +0100)]
Clarify argument/result ownership/validity for PyModule_* functions (GH-141159)
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Benel Tayar [Fri, 7 Nov 2025 10:47:25 +0000 (12:47 +0200)]
gh-141141: Make base64.b85decode() thread safe (GH-141149)
Bénédikt Tran [Fri, 7 Nov 2025 09:54:02 +0000 (10:54 +0100)]
gh-140734: fix off-by-one error when comparing to `_SUN_PATH_MAX` (#140903)
The limit includes a NULL terminator.
yihong [Fri, 7 Nov 2025 00:02:47 +0000 (08:02 +0800)]
gh-141125: delete unused import textwrap in interpreter.py (#141126)
Savannah Ostrowski [Thu, 6 Nov 2025 19:58:01 +0000 (11:58 -0800)]
GH-136895: Fixes for pulling LLVM as a release artifact (#141002)
Rodrigo Girão Serrão [Thu, 6 Nov 2025 17:11:50 +0000 (17:11 +0000)]
Minor documentation improvements (#140626)
Serhiy Storchaka [Thu, 6 Nov 2025 16:48:58 +0000 (18:48 +0200)]
Remove duplicated tests in test_base64 (gh-125346) (GH-141153)
Peter Bierma [Thu, 6 Nov 2025 16:37:52 +0000 (11:37 -0500)]
gh-141004: Document `Py_GetRecursionLimit` and `Py_SetRecursionLimit` (GH-141151)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
AN Long [Thu, 6 Nov 2025 15:33:30 +0000 (00:33 +0900)]
gh-140826: Update winreg's docstring (GH-141050)
Dino Viehland [Thu, 6 Nov 2025 15:16:56 +0000 (10:16 -0500)]
gh-141150: Don't rely on implicit conversion from void * to pointer in _PyModule… (#141147)
Don't rely on implicit conversion from void * to pointer in _PyModule_GetToken
Victor Stinner [Thu, 6 Nov 2025 15:10:39 +0000 (16:10 +0100)]
gh-134745: Use "pymutex" for sys.thread_info on Windows (#141140)
Peter Bierma [Thu, 6 Nov 2025 14:01:48 +0000 (09:01 -0500)]
gh-141004: Document `PyLong_FromPid` and `PyLong_AsPid` (GH-141028)
Co-authored-by: Victor Stinner <vstinner@python.org>
Stan Ulbrych [Thu, 6 Nov 2025 13:48:42 +0000 (13:48 +0000)]
gh-141004: Document `Py_hexdigits` (GH-141059)
Co-authored-by: Victor Stinner <vstinner@python.org>
Peter Bierma [Thu, 6 Nov 2025 12:29:04 +0000 (07:29 -0500)]
gh-141004: Document built-in iterator types in the C API (GH-141006)
Adds documentation for each of the following:
- PyEnum_Type
- PyFilter_Type
- PyMap_Type
- PyReversed_Type
- PyZip_Type
In addition, PyRange_Type and PyRange_Check are also documented.
Petr Viktorin [Thu, 6 Nov 2025 10:49:44 +0000 (11:49 +0100)]
gh-139707: Add docs for optional modules (GH-140171)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Emma Smith <emma@emmatyping.dev>
Co-authored-by: Author: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Victor Stinner <vstinner@python.org>
Lysandros Nikolaou [Thu, 6 Nov 2025 10:20:02 +0000 (11:20 +0100)]
gh-137232: Update free-threading HOWTOs with up-to-date info for 3.14 (#140817)
Serhiy Storchaka [Thu, 6 Nov 2025 09:34:32 +0000 (11:34 +0200)]
gh-125346: Add more base64 tests (GH-141061)
Add more tests for the altchars argument of b64decode() and for the map01
argument of b32decode().
Stan Ulbrych [Thu, 6 Nov 2025 08:21:02 +0000 (08:21 +0000)]
Minor fixes to `idle.rst` and regenerate `help.html` (#140037)
Terry Jan Reedy [Thu, 6 Nov 2025 08:08:24 +0000 (03:08 -0500)]
gh-129876: Move misplaced IDLE news item (#141118)
Stan Ulbrych [Thu, 6 Nov 2025 05:50:57 +0000 (05:50 +0000)]
gh-140939: Fix memory leak in `_PyBytes_FormatEx` error path (#140957)
RayXu [Thu, 6 Nov 2025 05:48:30 +0000 (13:48 +0800)]
docs: fix a grammatical error in function.rst (#140990)
Bartosz Sławecki [Thu, 6 Nov 2025 05:39:07 +0000 (06:39 +0100)]
gh-140569: recommend the new REPL in the asyncio REPL docs (#140570)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Kumar Aditya [Thu, 6 Nov 2025 04:51:13 +0000 (10:21 +0530)]
gh-118516: clarify that subprocess are automatically killed if transport gets garbage collected (#140997)
Savannah Ostrowski [Wed, 5 Nov 2025 22:46:30 +0000 (14:46 -0800)]
GH-108009: Add clarification of parser and argument defaults in argparse docs (#124154)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Peter Bierma [Wed, 5 Nov 2025 22:32:12 +0000 (17:32 -0500)]
gh-141004: Document `PyDict_GET_SIZE` (GH-141078)
Zenith [Wed, 5 Nov 2025 22:00:36 +0000 (17:00 -0500)]
gh-76007: remove curses.__version__ doc (#141052)
Peter Bierma [Wed, 5 Nov 2025 22:00:26 +0000 (17:00 -0500)]
gh-141004: Document `Py_RETURN_NAN` and `Py_RETURN_INF` (GH-141029)
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
AN Long [Wed, 5 Nov 2025 21:49:45 +0000 (06:49 +0900)]
gh-140916: Remove unused codes in winreg.c (#140934)
Edward Xu [Wed, 5 Nov 2025 21:20:40 +0000 (05:20 +0800)]
gh-133467: Fix typeobject `tp_base` race in free threading (gh-140549)
Victor Stinner [Wed, 5 Nov 2025 20:16:37 +0000 (21:16 +0100)]
gh-83714: Fix stat_nanosecond_timestamp() for 32-bit time_t (#141069)
Victor Stinner [Wed, 5 Nov 2025 19:18:45 +0000 (20:18 +0100)]
Fix compiler warnings in remote debugging (#141060)
Example of fixed warnings on 32-bit Windows:
Python\remote_debugging.c(24,53): warning C4244: 'function':
conversion from 'uint64_t' to 'uintptr_t', possible loss of data
Modules\_remote_debugging_module.c(789,44): warning C4244:
'function': conversion from 'uint64_t' to 'size_t', possible loss
of data
Sachin Shah [Wed, 5 Nov 2025 19:15:27 +0000 (14:15 -0500)]
gh-140650: Fix write(), flush() and close() methods of io.BufferedWriter (GH-140653)
They could raise SystemError or crash when getting the "closed" attribute
or converting it to boolean raises an exception.
Mikhail Efimov [Wed, 5 Nov 2025 19:12:56 +0000 (22:12 +0300)]
gh-131527: Stackref debug borrow checker (#140599)
Add borrow checking to the stackref debug mode
---------
Co-authored-by: mpage <mpage@meta.com>
Sebastian Pipping [Wed, 5 Nov 2025 18:59:59 +0000 (19:59 +0100)]
gh-139313: Improve docs on XML security (GH-139460)
Clarify that:
- it takes parsing for an attack
- that some doors are closed by default
- only Expat version 2.7.2 has all the fixes
- use of the bundle depends on configuration
Victor Stinner [Wed, 5 Nov 2025 18:00:32 +0000 (19:00 +0100)]
Fix a compiler warning in _randommodule.c (#141058)
The test just before the cast ensures that the cast cannot overflow.
Fix the warning on 32-bit Windows:
Modules\_randommodule.c(525,28): warning C4244: '=': conversion
from 'uint64_t' to 'Py_ssize_t', possible loss of data
Victor Stinner [Wed, 5 Nov 2025 17:37:06 +0000 (18:37 +0100)]
Remove internal _PyTime_AsLong() function (#141053)
* Replace _PyTime_AsLong() with PyLong_FromInt64()
* Replace _PyTime_FromLong() with PyLong_AsInt64().
Victor Stinner [Wed, 5 Nov 2025 17:31:35 +0000 (18:31 +0100)]
gh-83714: Fix a compiler warning in stat_nanosecond_timestamp() (#141043)
Disable the fast path on systems with 32-bit long.
Victor Stinner [Wed, 5 Nov 2025 16:57:06 +0000 (17:57 +0100)]
gh-140550: Run make regen-limited-abi (#141056)
Peter Bierma [Wed, 5 Nov 2025 16:45:13 +0000 (11:45 -0500)]
gh-141004: Document `PyMemoryView_Type` (GH-141034)
Peter Bierma [Wed, 5 Nov 2025 14:13:57 +0000 (09:13 -0500)]
gh-141004: Document missing iterator types in the C API (GH-141010)
Add documentation for each of the following:
- PyByteArrayIter_Type
- PyBytesIter_Type
- PyListIter_Type
- PyListRevIter_Type
- PySetIter_Type
- PyTupleIter_Type
- PyRangeIter_Type
- PyLongRangeIter_Type
- PyDictIterKey_Type
- PyDictRevIterKey_Type
- PyDictIterValue_Type
- PyDictRevIterValue_Type
- PyDictIterItem_Type
- PyDictRevIterItem_Type
---------
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Petr Viktorin [Wed, 5 Nov 2025 11:31:42 +0000 (12:31 +0100)]
gh-140550: Initial implementation of PEP 793 – PyModExport (GH-140556)
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Petr Viktorin [Wed, 5 Nov 2025 10:52:11 +0000 (11:52 +0100)]
gh-140691: urllib.request: Close FTP control socket if data socket can't connect (GH-140835)
Co-authored-by: codenamenam <bluetire27@gmail.com>
Lê Nam Khánh [Wed, 5 Nov 2025 07:23:25 +0000 (14:23 +0700)]
Fix typo in Apple/__main__.py (#141038)
Corrected a typo in a return value docstring.
Clifford Gama [Wed, 5 Nov 2025 00:29:25 +0000 (02:29 +0200)]
Docs: Fix cached calls count in factorial example (gh-140882)
alex [Wed, 5 Nov 2025 00:05:49 +0000 (00:05 +0000)]
gh-141007: update string module source code link (#141008)
In 3.14, the former string.py became `__init__.py` within a new `string` directory that also contains a new submodule file, `templatelib.py`.
Miro Hrončok [Tue, 4 Nov 2025 22:29:15 +0000 (23:29 +0100)]
gh-140454: Normalize the JIT stencils filename on Linux to avoid mismatches between the Makefile and the generator (#140823)
Petr Viktorin [Tue, 4 Nov 2025 21:58:53 +0000 (22:58 +0100)]
gh-138189: Document type slots, and other constants, as part of Limited API (GH-138190)
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Stan Ulbrych [Tue, 4 Nov 2025 21:19:06 +0000 (21:19 +0000)]
gh-141004: Document `Py_UNICODE_{HIGH, LOW}_SURROGATE` functions (GH-141019)
Filip Łajszczak [Tue, 4 Nov 2025 19:46:07 +0000 (20:46 +0100)]
gh-139434: Update selected RFC 2822 references to RFC 5322 (#139435)
Update selected RFC 2822 references to RFC 5322
RFC 2822 was obsoleted by RFC 5322 in 2008. This updates references
to use the current standard in documentation, docstrings, and comments.
It preserves RFC 2822 references in legacy API components to maintain their
historical context.
RFC 822 → RFC 2822 → RFC 5322 progression is explained where relevant.
In some places specific sections of RFC are referenced where it seems helpful.
Scout rule was applied in some places and RFC mentions format was
normalized in doc strings and comments.
Guo Ci [Tue, 4 Nov 2025 19:29:13 +0000 (14:29 -0500)]
Docs: Fix typo in `email.headerregistry.rst` (#140965)
Fix missing 'Header' suffix on header class name in `email.headerregistry.rst`
Vinay Sajip [Tue, 4 Nov 2025 18:29:44 +0000 (18:29 +0000)]
gh-134817: Restore accidentally deleted line in documentation. (GH-141013)
Brett Cannon [Tue, 4 Nov 2025 18:28:17 +0000 (10:28 -0800)]
Document that returning `sys.monitoring.DISABLE` in response to a global event raises `ValueError` (#140726)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Savannah Ostrowski [Tue, 4 Nov 2025 16:31:35 +0000 (08:31 -0800)]
GH-139946: Colorize error and warning messages in argparse (#140695)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>