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
Weilin Du
135ba86212
gh-136135: Doc: Fix some broken links (GH-136137)
2025-07-02 20:51:31 -04:00
sobolevn
7afe1adb00
Replace capi-sig mailing list with discuss.python.org ( #136211 )
2025-07-02 20:43:43 +03:00
Garry Cairns
51ab66b3d5
gh-134567: Add the formatter parameter in unittest.TestCase.assertLogs (GH-134570)
2025-07-02 09:51:19 +00:00
Sergey B Kirpichev
b19c9da401
gh-115119: Defer removal of bundled libmpdec to 3.16 ( #133997 )
...
Rename libmpdecimal -> libmpdec
see https://www.bytereef.org/mpdecimal/doc/libmpdec/index.html
2025-07-02 11:20:00 +02:00
Sam Gross
f41e9c750e
gh-134009: Expose PyMutex_IsLocked in the public C API (gh-134365)
...
The `PyMutex_IsLocked()` function is useful in assertions for verifying
that code maintains certain locking invariants.
2025-07-01 13:26:13 -04:00
Sergey B Kirpichev
17cf0a343b
gh-115119: Remove implicit fallback to the bundled libmpdec ( #134078 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-07-01 17:50:51 +02:00
Stan Ulbrych
93809a918f
gh-105456: Remove 3 deprecated sre_* modules ( #135994 )
2025-07-01 17:31:07 +02:00
Vladyslav Lazoryk
9c0cb5beb8
gh-136169: Update parameter name in fractions.from_float method ( #136172 )
...
Update parameter name in fractions.from_float method
2025-07-01 16:23:48 +03:00
Stan Ulbrych
31b56df3bb
gh-133447: Update sqlite3 What's New 3.15 entry (GH-136079)
2025-07-01 12:30:51 +02:00
Petr Viktorin
fe119a0817
gh-87135: threading.Lock: Raise rather than hang on Python finalization (GH-135991)
...
After Python finalization gets to the point where no other thread
can attach thread state, attempting to acquire a Python lock must hang.
Raise PythonFinalizationError instead of hanging.
2025-07-01 10:57:42 +02:00
Eric Snow
fc82cb91ba
gh-134939: Fill Out the concurrent.interpreters Docs (gh-135902)
2025-06-30 10:54:53 -06:00
Stan Ulbrych
486587da42
gh-63207: Update time.time documentation after #116822 ( #136068 )
2025-06-30 18:10:24 +02:00
sedram
a87f3e0282
gh-136122: Fix video link for math.tau documentation ( #136129 )
2025-06-30 17:43:39 +03:00
Stan Ulbrych
2bdd50309f
gh-48181: Document codecs.charmap_build ( #135997 )
2025-06-30 15:42:08 +02:00
Adam Dangoor
75f40595e5
gh-131885: Update documented signatures for csv.{writer,reader} (GH-136085)
2025-06-30 09:32:51 -04:00
Serhiy Storchaka
536a5ff153
gh-132813: Fix the csv documentation for quoting and escaping ( #133209 )
2025-06-30 10:42:00 +03:00
Kanishk Pachauri
fb9f933b8e
gh-130160: use .. program:: directive for documenting venv CLI (GH-130699)
...
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-06-30 06:41:57 +01:00