Mohsin Mehmood
b36f01d03f
gh-141186: document asyncio.Task cancellation propagation behavior ( #141249 )
2025-11-09 10:19:29 +05:30
Stan Ulbrych
0ac890bea7
gh-141004: Document Py_BUILD_ASSERT* macros (GH-141266)
2025-11-08 14:22:05 -05:00
Stan Ulbrych
545299773b
gh-141004: Document the PyDoc_VAR macro (GH-141263)
2025-11-08 13:12:03 -05:00
Peter Bierma
5e5fc0404e
gh-141004: Document PyBUF_WRITEABLE (GH-141255)
2025-11-08 12:29:31 -05:00
Peter Bierma
be1c72a45d
gh-141004: Document PyErr_ProgramTextObject and PyErr_ProgramText (GH-141250)
...
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-08 10:47:09 -05:00
莯凛
6545a4e8f8
gh-141246: Link to correct Windows docs in time.sleep() doc ( #141248 )
2025-11-08 15:56:48 +01:00
Bénédikt Tran
87942d911b
gh-141004: correctly document Py_HASH_* and PyHASH_* as hash_info attributes ( #141233 )
2025-11-08 12:22:02 +00:00
Naitree Zhu
9c3994663b
gh-139741: Make dist-pdf docs archive build work for macOS ( #140837 )
2025-11-08 12:19:42 +02:00
Serhiy Storchaka
610377056b
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.
2025-11-08 12:17:59 +02:00
Serhiy Storchaka
7e90bac3cc
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.
2025-11-08 12:07:27 +02:00
Bénédikt Tran
8cec3d3a9d
gh-141004: fix versionadded typo for Py_HASH_SIPHASH13 ( #141223 )
2025-11-08 09:10:27 +00:00
Brandon Hubacher
c1785129c3
fix typos in contextvars asyncio support example docs ( #141219 )
...
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-11-08 09:08:19 +00:00
Steve Dower
cd0b3e5d12
gh-140849: Update bundled liblzma to 5.8.1 on Windows ( #141022 )
2025-11-07 22:28:01 -08:00
Peter Bierma
d13ee0ae18
gh-141004: Document PyTraceBack* APIs (GH-141192)
...
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-07 13:46:47 -05:00
Bénédikt Tran
3989e12d39
gh-141004: Document Py_HASH_* macros ( #141205 )
2025-11-07 19:25:32 +01:00
Peter Bierma
9420795b47
gh-141004: Document PyErr_WarnExplicitFormat (GH-141187)
2025-11-07 11:19:14 -05:00
Peter Bierma
7af9b5354d
gh-141004: Document PyCapsule_Type (GH-141079)
2025-11-07 09:09:38 -05:00
W. H. Wang
920286d6b2
Update NaNs handling description in c-api/float.rst ( #141179 )
...
Clarified the behavior of NaNs on IEEE platforms regarding signaling and quiet NaNs.
2025-11-07 14:34:49 +01:00
Petr Viktorin
ffd64737d0
Clarify argument/result ownership/validity for PyModule_* functions (GH-141159)
...
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-07 14:17:47 +01:00
Benel Tayar
a7bf27f7f5
gh-141141: Make base64.b85decode() thread safe (GH-141149)
2025-11-07 10:47:25 +00:00
Bénédikt Tran
9a19900673
gh-140734: fix off-by-one error when comparing to _SUN_PATH_MAX ( #140903 )
...
The limit includes a NULL terminator.
2025-11-07 09:54:02 +00:00
yihong
c77441ef1d
gh-141125: delete unused import textwrap in interpreter.py ( #141126 )
2025-11-06 16:02:47 -08:00
Savannah Ostrowski
42d0140860
GH-136895: Fixes for pulling LLVM as a release artifact ( #141002 )
2025-11-06 11:58:01 -08:00
Rodrigo Girão Serrão
9bf5100037
Minor documentation improvements ( #140626 )
2025-11-06 19:11:50 +02:00
Serhiy Storchaka
e95e783dff
Remove duplicated tests in test_base64 (gh-125346) (GH-141153)
2025-11-06 16:48:58 +00:00
Peter Bierma
0b260305d3
gh-141004: Document Py_GetRecursionLimit and Py_SetRecursionLimit (GH-141151)
...
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-06 16:37:52 +00:00
AN Long
bea0d3d12b
gh-140826: Update winreg's docstring (GH-141050)
2025-11-06 17:33:30 +02:00
Dino Viehland
13f09a60f4
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
2025-11-06 07:16:56 -08:00
Victor Stinner
2e5e6fd380
gh-134745: Use "pymutex" for sys.thread_info on Windows ( #141140 )
2025-11-06 16:10:39 +01:00
Peter Bierma
bcc524f82d
gh-141004: Document PyLong_FromPid and PyLong_AsPid (GH-141028)
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-11-06 09:01:48 -05:00
Stan Ulbrych
54110e20e0
gh-141004: Document Py_hexdigits (GH-141059)
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-11-06 08:48:42 -05:00
Peter Bierma
1697cb5710
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.
2025-11-06 07:29:04 -05:00
Petr Viktorin
d2ce6d708a
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>
2025-11-06 11:49:44 +01:00
Lysandros Nikolaou
86ab7bb87a
gh-137232: Update free-threading HOWTOs with up-to-date info for 3.14 ( #140817 )
2025-11-06 11:20:02 +01:00
Serhiy Storchaka
13360efd38
gh-125346: Add more base64 tests (GH-141061)
...
Add more tests for the altchars argument of b64decode() and for the map01
argument of b32decode().
2025-11-06 11:34:32 +02:00
Stan Ulbrych
4e6e208be9
Minor fixes to idle.rst and regenerate help.html ( #140037 )
2025-11-06 03:21:02 -05:00
Terry Jan Reedy
6a7c969d00
gh-129876: Move misplaced IDLE news item ( #141118 )
2025-11-06 03:08:24 -05:00
Stan Ulbrych
d6c89a2df2
gh-140939: Fix memory leak in _PyBytes_FormatEx error path ( #140957 )
2025-11-06 11:20:57 +05:30
RayXu
9037a386c6
docs: fix a grammatical error in function.rst ( #140990 )
2025-11-06 11:18:30 +05:30
Bartosz Sławecki
8822166200
gh-140569: recommend the new REPL in the asyncio REPL docs ( #140570 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-11-06 11:09:07 +05:30
Kumar Aditya
101c9c0a21
gh-118516: clarify that subprocess are automatically killed if transport gets garbage collected ( #140997 )
2025-11-06 10:21:13 +05:30
Savannah Ostrowski
95f6e1275b
GH-108009: Add clarification of parser and argument defaults in argparse docs ( #124154 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2025-11-05 22:46:30 +00:00
Peter Bierma
f0ab07f22c
gh-141004: Document PyDict_GET_SIZE (GH-141078)
2025-11-05 17:32:12 -05:00
Zenith
227f4abacd
gh-76007: remove curses.__version__ doc ( #141052 )
2025-11-06 00:00:36 +02:00
Peter Bierma
5b02c6e920
gh-141004: Document Py_RETURN_NAN and Py_RETURN_INF (GH-141029)
...
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2025-11-05 17:00:26 -05:00
AN Long
11fc411f98
gh-140916: Remove unused codes in winreg.c ( #140934 )
2025-11-05 22:49:45 +01:00
Edward Xu
b83f379a97
gh-133467: Fix typeobject tp_base race in free threading (gh-140549)
2025-11-05 16:20:40 -05:00
Victor Stinner
986bb0a1a2
gh-83714: Fix stat_nanosecond_timestamp() for 32-bit time_t ( #141069 )
2025-11-05 21:16:37 +01:00
Victor Stinner
f458ac01ba
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
2025-11-05 20:18:45 +01:00
Sachin Shah
1d25b751c5
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.
2025-11-05 21:15:27 +02:00