Bénédikt Tran
a02cf19dee
gh-72570: mention the incompatibility of XOFs with HMAC ( #136676 )
2025-07-15 14:03:21 +02:00
Adam Turner
c89a66feb1
GH-133711: Enable UTF-8 mode by default (PEP 686) ( #133712 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-07-15 10:45:41 +01:00
Sergey B Kirpichev
e4654e0b3e
gh-136663: fix signatures of PyFloat_Pack/Unpack in docs ( #136664 )
2025-07-15 11:00:12 +05:30
Alper
9363703bd3
gh-116738: Make grp module thread-safe ( #135434 )
...
Make grp module methods getgrgid() and getgrnam() thread-safe when the GIL is disabled and getgrgid_r()/getgrnam_r() C APIs are not available.
---------
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-07-14 11:18:41 -07:00
Garry Cairns
75e2c5dd34
gh-134567: Move unittest What’s New entry ( #136630 )
2025-07-14 13:32:10 +03:00
Hugo van Kemenade
5bbf30e89e
Partially revert "gh-101100: Fix sphinx warnings in library/email.parser.rst ( #136475 )" ( #136629 )
2025-07-14 12:13:15 +03:00
Stan Ulbrych
a93d9aaf62
gh-42237: Link to complete list of codec aliases ( #136625 )
...
Closes #42237
2025-07-13 13:12:46 +00:00
Serhiy Storchaka
e18829a8ad
gh-132629: Deprecate accepting out-of-range values for unsigned integers in PyArg_Parse (GH-132630)
...
For unsigned integer formats in the PyArg_Parse* functions,
accepting Python integers with value that is larger than
the maximal value the corresponding C type or less than
the minimal value for the corresponding signed integer type
is now deprecated.
2025-07-13 12:44:54 +03:00
Peter Bierma
3dbe02ccd3
gh-132346: Docs: Clarify that reference counts aren't stable between versions (GH-132352)
2025-07-13 05:10:37 -04:00
Peter Bierma
0d4fd10fba
Docs: Fix and improve the PyUnstable_Object_EnableDeferredRefcount documentation (GH-135323)
2025-07-13 02:46:13 -04:00
Yongzi Li
609d5adc7c
gh-134833: improve docs for del s[i:j] in Mutable Sequence Types ( #134834 )
2025-07-13 11:26:31 +05:30
Stan Ulbrych
42b251bceb
gh-134939: Correct concurrent.interpreters source code link ( #136564 )
2025-07-13 11:05:57 +05:30
Weilin Du
47b01da4cc
gh-101100: Fix sphinx warnings in Doc/library/platform.rst (GH-136562)
2025-07-12 21:15:04 +03:00
Illia Volochii
5a20e79725
gh-99813: Start using SSL_sendfile when available ( #99907 )
...
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-07-12 12:42:35 +00:00
Furkan Onder
dda70fa771
gh-99631: Add custom loads and dumps support for the shelve module ( #118065 )
...
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-07-12 14:27:32 +02:00
Bénédikt Tran
2301cdb559
gh-135853: add math.fmax and math.fmin ( #135888 )
2025-07-12 11:31:10 +00:00
Weilin Du
252e2f710e
gh-101100: Fix sphinx warnings in Doc/library/functools.rst (GH-136424)
...
Add index entries and anchors for cache_info, cache_clear and register.
2025-07-11 20:03:13 +03:00
Stan Ulbrych
975b57d945
gh-76637: Note that undefined Codec is for testing ( #136531 )
...
Closes #76637
2025-07-11 12:50:21 +02:00
Weilin Du
515b3d18ed
gh-101100: Fix sphinx warnings in library/email.parser.rst ( #136475 )
2025-07-11 12:37:01 +03:00
László Kiss Kollár
59acdba820
gh-135953: Implement sampling tool under profile.sample ( #135998 )
...
Implement a statistical sampling profiler that can profile external
Python processes by PID. Uses the _remote_debugging module and converts
the results to pstats-compatible format for analysis.
Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
2025-07-10 18:44:24 +01:00
Stan Ulbrych
4b41b2043b
gh-82663: Clarify codecs.iterdecode/encode docs ( #136497 )
...
Closes #82663
2025-07-10 17:31:08 +02:00
Petr Viktorin
85bc89f35f
gh-136209: Add .. c:var:: declarations for C exception types (GH-136210)
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-07-10 13:07:55 +02:00
Victor Stinner
9c4d287775
gh-102740: Clarify time.monotonic() "system-wide" in the doc ( #136431 )
2025-07-10 01:06:48 +02:00
Zachary Ware
92f392ad9e
gh-136145: Define 'standard library' and 'stdlib' in the glossary (GH-136146)
...
---------
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Éric <merwok@netwok.org>
2025-07-09 21:33:45 +00:00
Oskar Roesler
591abcc01f
gh-81520: Document unexpected os.path.ismount behaviour with btrfs subvolumes (GH-136058)
2025-07-09 11:54:58 -04:00
NekrodNIK
6a6cd3c07c
gh-131825: Fix sqlite3 timezone-naive adapter recipe (GH-136270)
2025-07-09 10:06:42 -04:00
Geoffrey Thomas
3c43df4dbd
Docs: unittest.enterModuleContext is not a classmethod ( #136464 )
2025-07-09 14:52:39 +01:00
Stan Ulbrych
f1dcf3c7bf
gh-53243: Document codecs.readbuffer_encode() ( #136284 )
...
Closes #53243
2025-07-09 09:39:55 +02:00
Vinay Sajip
301b29dd30
gh-94503: Update logging cookbook example with info on addressing log injection. (GH-136446)
...
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-07-09 08:30:56 +01:00
Stan Ulbrych
ffd7f2f231
gh-136162: Document encodings package functions ( #136164 )
...
Closes #136162 .
2025-07-08 23:34:48 +02:00
Yuki Kobayashi
0152df5fff
gh-101100: Fix sphinx warnings in Doc/library/exceptions.rst ( #136309 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-07-08 15:05:05 +03:00
Weilin Du
5b78c85fb4
gh-101100: Fix sphinx warnings in whatsnew/3.11.rst ( #136402 )
2025-07-08 11:55:13 +05:30
Weilin Du
0b62523959
gh-101100: Fix Sphinx warnings in library/email.compat32-message.rst ( #136323 )
2025-07-07 19:28:44 +03:00
Maciej Olko
c45da6ae16
gh-136155: Docs: only add custom OpenGraph protocol meta tags for HTML builds ( #136187 )
...
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
2025-07-07 16:29:27 +03:00
Petr Viktorin
73e1207a4e
gh-135913: Document ob_refcnt, ob_type, ob_size (GH-135914)
...
* gh-135913: Document ob_refcnt, ob_type, ob_size
In `typeobj.rst`, instead of `:c:member:` it would be better to
use `.. c:member::` with a `:no-index:` option, see:
See ref. https://www.sphinx-doc.org/en/master/usage/domains/index.html#basic-markup
However, `c:member` currently does not support `:no-index:`.
2025-07-07 14:05:17 +02:00
Anthony Sottile
11f074b243
gh-86682: Add versionadded for sys._getframemodulename ( #136325 )
...
add versionadded for sys._getframemodulename
2025-07-07 16:52:04 +05:30
Petr Viktorin
9aac5a3d44
gh-131591: Document Py_REMOTE_DEBUG (GH-135929)
2025-07-07 12:56:29 +02:00
sobolevn
0a33221594
gh-101100: Fix sphinx warnings in whatsnew/3.9 ( #136163 )
2025-07-07 13:41:11 +03:00
Petr Viktorin
2468aafe98
gh-135755: Document __future__.* and CO_* as proper Sphinx objects (GH-135980)
...
* Turn the __future__ table to list-table.
This'll make it easier to add entries that need longer markup
* Semantic markup for __future__ feature descriptions.
* Document CO_* C macros.
2025-07-07 12:31:13 +02:00
Victor Stinner
cb99d99277
gh-127502: Remove XML vulnerability table (GH-135294)
...
* Remove the table
* Replace warnings with notes
Latest releases of Python 3.9-3.15 include expat 2.7.1 which is not vulnerable.
expat 2.6.0 was released in February 2024.
2025-07-07 11:03:07 +02:00
Vinay Sajip
d05423a90c
gh-94503: Update logging cookbook with an example of uniformly handling newlines in output. (GH-136217)
2025-07-07 10:01:03 +01:00
AN Long
77a8bd29da
gh-109070: Document that get_context in multiprocessing have side effect ( #136341 )
...
Document that get_context in multiprocessing have side effect
2025-07-06 11:26:26 -07:00
W. H. Wang
1953713d0d
gh-136032: Fix argparse.BooleanOptionalAction doc ( #136133 )
2025-07-05 15:54:26 -07:00
Weilin Du
f0c7344a8f
gh-101100: Fix references in http.cookiejar docs (GH-136238)
2025-07-05 09:29:02 -04:00
Rafael Fontenelle
ade1988094
Docs: Move "or" outside monospace syntax in tarfile.rst (GH-136263)
2025-07-04 10:40:32 -04:00
Cody Maloney
48cb9b6112
gh-133982: Test _pyio.BytesIO in free-threaded tests (gh-136218)
2025-07-04 11:27:21 +09:00
Brett Cannon
b4991056f4
Clarify some details regarding sys.monitoring ( #133981 )
2025-07-03 14:04:01 -07:00
Emma Smith
938a5d7e62
gh-135252: Document Zstandard integration across zipfile, shutil, and tarfile ( #135311 )
...
Document Zstandard integration across zipfile, shutil, and tarfile
2025-07-03 20:28:25 +00:00
Victor Stinner
da79ac9d26
gh-135075: Make PyObject_SetAttr() fail with NULL value and exception ( #136180 )
...
Make PyObject_SetAttr() and PyObject_SetAttrString() fail if called
with NULL value and an exception set.
2025-07-03 14:51:44 +02:00
Sergey B Kirpichev
b2e498ac26
gh-115119: Recommend upstream libmpdec in build requirements ( #136205 )
...
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-07-03 14:44:59 +02:00