Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
2299 commits
Select commit Hold shift + click to select a range
ef75726
[3.14] Docs: fix missing period in `Doc/library/stdtypes.rst` (GH-145…
miss-islington Mar 14, 2026
1749b3c
[3.14] gh-143636: fix a crash when calling ``__replace__`` on invalid…
miss-islington Mar 14, 2026
331ac07
[3.14] gh-141004: Document `PyDTrace*` (GH-141856) (GH-145959)
miss-islington Mar 15, 2026
54fd676
[3.14] Bump mypy to 1.19.1 (GH-145956) (#145971)
miss-islington Mar 15, 2026
5fa025a
[3.14] gh-69223: Document that add_argument() returns an Action objec…
miss-islington Mar 15, 2026
64e2acb
[3.14] gh-142518: Document thread-safety guarantees of bytearray obje…
miss-islington Mar 15, 2026
e0a8a6d
[3.14] gh-145986: Avoid unbound C recursion in `conv_content_model` i…
miss-islington Mar 15, 2026
36805f6
[3.14] gh-145990: Sort `python --help-xoptions` by option name (GH-14…
gpshead Mar 15, 2026
b8cb837
[3.14] gh-145990: sort `--help-env` sections by environment variable …
gpshead Mar 15, 2026
a887eae
[3.14] gh-140814: Fix freeze_support() setting start method as side e…
miss-islington Mar 16, 2026
a1f2fef
[3.14] gh-144986: Fix memory leak in atexit.register() (GH-144987) (#…
miss-islington Mar 16, 2026
88e52ac
[3.14] Docs: fix a form error and a grammatical error in float.rst (G…
miss-islington Mar 16, 2026
cccd9dd
[3.14] gh-145376: Fix GC tracking in `structseq.__replace__` (GH-1458…
miss-islington Mar 16, 2026
8bc3aa9
[3.14] gh-145649: Fix man page text wrapping for -X option (GH-145656…
miss-islington Mar 16, 2026
62ceb39
[3.14] gh-145599, CVE 2026-3644: Reject control characters in `http.c…
miss-islington Mar 16, 2026
9743d88
[3.14] gh-135329: Remove flaky test_repl_eio test (gh-145932) (#146028)
miss-islington Mar 16, 2026
e050831
[3.14] Docs: remove unmatched parenthesis for `asyncio.TaskGroup` not…
miss-islington Mar 16, 2026
0548f41
[3.14] gh-144984: Fix crash in Expat's `ExternalEntityParserCreate` e…
miss-islington Mar 17, 2026
f06961e
[3.14] gh-145176 Move Emscripten files into Platforms/emscripten (GH-…
miss-islington Mar 17, 2026
4601007
[3.14] Docs: a brief note in the sets tutorial about order (GH-145984…
miss-islington Mar 17, 2026
7ad3093
[3.14] gh-141707: Skip TarInfo DIRTYPE normalization during GNU long …
miss-islington Mar 17, 2026
a005f32
[3.14] gh-144545: Improve handling of default values in Argument Clin…
serhiy-storchaka Mar 17, 2026
b3c2ef5
[3.14] gh-134043: use stackrefs for dict lookup in `_PyObject_GetMeth…
colesbury Mar 17, 2026
c990073
[3.14] gh-146054: Limit the growth of `encodings.search_function` cac…
miss-islington Mar 18, 2026
f20a637
[3.14] gh-142518: Add thread safety notes for the buffer protocol (GH…
miss-islington Mar 18, 2026
6980b94
[3.14] gh-146076: Fix crash when a `ZoneInfo` subclass is missing a `…
miss-islington Mar 18, 2026
19cbcc0
[3.14] gh-142183: Cache one datachunk per tstate to prevent alloc/dea…
miss-islington Mar 18, 2026
3ebf54e
[3.14] gh-142518: Annotate PyList_* C APIs for thread safety (GH-1461…
miss-islington Mar 18, 2026
5feedc7
[3.14] gh-146093: Fix csv _set_str(): check if PyUnicode_DecodeASCII(…
miss-islington Mar 18, 2026
8eeb800
[3.14] gh-146092: Handle _PyFrame_GetFrameObject() failures properly …
vstinner Mar 18, 2026
888026f
[3.14] gh-145805: Add `python Platforms/emscripten run` subcommand (G…
miss-islington Mar 19, 2026
cfdc5e8
[3.14] gh-145254: Fix formatting of thread safety annotations (GH-146…
miss-islington Mar 19, 2026
7f29c1d
[3.14] gh-146092: Fix error handling in _BINARY_OP_ADD_FLOAT opcode (…
vstinner Mar 19, 2026
fa3143a
[3.14] gh-145779: Improve classmethod/staticmethod scaling in free-th…
colesbury Mar 19, 2026
0a9f397
[3.14] gh-145177: Put node version into emscripten/config.toml. (GH-1…
miss-islington Mar 19, 2026
6a84361
[3.14] gh-145177: Add make-dependencies command to emscripten build s…
miss-islington Mar 19, 2026
bc6edf8
[3.14] gh-145177: Add emscripten run --test, uses test args from conf…
miss-islington Mar 19, 2026
7ba9580
[3.14] gh-145754: Update signature retrieval in unittest.mock to use …
miss-islington Mar 20, 2026
2105187
[3.14] Improve tests for the PyUnicodeWriter C API (GH-146157) (GH-14…
serhiy-storchaka Mar 20, 2026
8b447fb
[3.14] gh-91279: Note `SOURCE_DATE_EPOCH` support in `ZipFile.writest…
miss-islington Mar 20, 2026
6e73225
[3.14] gh-146196: Fix Undefined Behavior in _PyUnicodeWriter_WriteASC…
vstinner Mar 20, 2026
a2a45d7
[3.14] gh-146092: Raise MemoryError on allocation failure in _zoneinf…
miss-islington Mar 20, 2026
73e74ee
[3.14] gh-146227: Fix wrong type in _Py_atomic_load_uint16 in pyatomi…
colesbury Mar 20, 2026
6bd5992
[3.14] gh-129849: Add tests for `Py_tp_bases` (GH-143208) (#146225)
aisk Mar 21, 2026
d6e0066
[3.14] GH-100108: Add async generators best practices section (GH-141…
miss-islington Mar 21, 2026
f2c7024
[3.14] gh-138234: clarify returncode behavior for subprocesses create…
miss-islington Mar 21, 2026
9737ce2
[3.14] gh-139588: Docs: fix PDF build (#145741)
m-aciek Mar 21, 2026
d65e8d9
[3.14] Docs: replace all `datetime` imports with `import datetime as …
miss-islington Mar 21, 2026
7965133
[3.14] gh-146056: Fix repr() for lists and tuples containing NULLs (G…
serhiy-storchaka Mar 22, 2026
69a37be
[3.14] gh-146245: Fix reference and buffer leaks via audit hook in so…
miss-islington Mar 22, 2026
114d1c3
[3.14] gh-143959: Fix test_datetime if _datetime is unavailable (GH-1…
miss-islington Mar 22, 2026
8e7c62b
[3.14] gh-145144: Add more tests for UserList, UserDict, etc (GH-1451…
miss-islington Mar 22, 2026
f883bbd
[3.14] gh-108907: ctypes: Document _type_ codes (GH-145837) (GH-146328)
miss-islington Mar 23, 2026
c6dd764
[3.14] gh-146197: Run -m test.pythoninfo on the Emscripten CI (#14633…
vstinner Mar 23, 2026
1b2f0bd
[3.14] gh-136672: Docs: Move parts of Enum HOWTO to API Docs (GH-1391…
miss-islington Mar 23, 2026
dd4ea46
[3.14] gh-141732: Fix ExceptionGroup repr changing when original exce…
dr-carlos Mar 23, 2026
74d104d
[3.14] gh-145305: Update ocert.org URLs in docs from http to https (G…
miss-islington Mar 23, 2026
abd276a
[3.14] docs: fix f-string in ExceptionGroup example (GH-146108) (GH-1…
miss-islington Mar 23, 2026
7c8a46b
[3.14] gh-146197: Add Emscripten to CI (GH-146198) (GH-146331)
hoodmane Mar 23, 2026
9669a91
[3.14] gh-143930: Reject leading dashes in webbrowser URLs (GH-146214)
miss-islington Mar 23, 2026
e31c551
[3.14] gh-145264: Do not ignore excess Base64 data after the first pa…
serhiy-storchaka Mar 23, 2026
c334bde
[3.14] GH-131296: Fix clang-cl warning on Windows in socketmodule.h (…
miss-islington Mar 23, 2026
cbb1985
[3.14] GH-131296: Suppress clang-cl warnings in socketmodule.c (GH-13…
miss-islington Mar 23, 2026
d64665b
[3.14] gh-136728: Combine OpenSSL and AWS-LC CI configurations (GH-14…
zware Mar 23, 2026
c1df96a
[3.14] gh-145870: Fix Format.SOURCE reference in get_annotations docs…
miss-islington Mar 23, 2026
ad273f7
[3.14] gh-146202: Create tmp_dir in regrtest worker (GH-146347) (#146…
miss-islington Mar 24, 2026
ac2fff4
[3.14] gh-140196: Added constructor behavior changes in ast.rst for p…
miss-islington Mar 24, 2026
58c5eda
[3.14] gh-146308: Fix error handling issues in _remote_debugging modu…
pablogsal Mar 25, 2026
f2b5131
[3.14] gh-146041: Avoid lock in sys.intern() for already interned str…
colesbury Mar 25, 2026
4f5f6ea
[3.14] gh-144984: Skip test under tracerefs (GH-146218) (GH-146384)
miss-islington Mar 25, 2026
498559a
[3.14] gh-146352: In Emscripten pyrepl test, pick port dynamically (G…
hoodmane Mar 25, 2026
ce78904
[3.14] gh-145098: Run Apple Silicon macOS CI on macos-26 (Tahoe) (GH-…
miss-islington Mar 25, 2026
e34945a
[3.14] gh-146358: Fix warnings.catch_warnings on Free Threading (GH-1…
miss-islington Mar 25, 2026
c8e0ead
[3.14] Fix typo in 3.14 What's New tail call interpreter docs (GH-146…
miss-islington Mar 25, 2026
7efa72a
[3.14] gh-138573: Filter out failing math tests on Solaris (GH-146402…
miss-islington Mar 26, 2026
8a25840
[3.14] gh-145633: Fix struct.pack('f') on s390x (GH-146422) (#146460)
miss-islington Mar 26, 2026
25714b3
[3.14] gh-146318: Document that signal.SIGSTOP is Unix-only (GH-14631…
miss-islington Mar 26, 2026
e8c3d31
[3.14] gh-146059: Call fast_save_leave() in pickle save_frozenset() (…
miss-islington Mar 26, 2026
de54353
[3.14] gh-144837: Improve documentation for more collection methods (…
miss-islington Mar 26, 2026
6a5354e
[3.14] gh-146446: Miscellaneous improvements to iOS XCframework build…
miss-islington Mar 26, 2026
74c21ae
[3.14] gh-146498: Ensure binary content is correctly processed in mul…
miss-islington Mar 27, 2026
4d61fd6
[3.14] gh-146244: Fix initconfig.c SET_ITEM macro leaks dict on expre…
miss-islington Mar 27, 2026
cba5497
[3.14] gh-146059: Cleanup pickle fast_save_enter() test (GH-146481) (…
miss-islington Mar 27, 2026
d7e04e7
[3.14] gh-146480: Override the exception in _PyErr_SetKeyError() (GH-…
miss-islington Mar 27, 2026
67862fc
[3.14] gh-142518: add thread safety docs on bytes C-API (GH-146415) (…
miss-islington Mar 27, 2026
8fde8fa
[3.14] gh-142518: add thread safety annotations for bytearray C-API (…
miss-islington Mar 27, 2026
bc8497b
[3.14] Mention _Float16 (type from Annex H of the C23) in the struct …
miss-islington Mar 27, 2026
70affe0
[3.14] gh-145616: Detect Android sysconfig ABI correctly on 32-bit AR…
miss-islington Mar 27, 2026
b4a0c8d
[3.14] gh-146310: Fix ensurepip to treat empty WHEEL_PKG_DIR as unset…
miss-islington Mar 27, 2026
ed38c20
[3.14] Fix possible memory leak in OrderedDict popitem (GH-145247) (#…
sergey-miryanov Mar 27, 2026
28d3b9b
[3.14] gh-146004: propagate all -X options to multiprocessing child p…
miss-islington Mar 28, 2026
85f5ea1
[3.14] Docs: don't rely on implicit 'above' directions in socket docs…
miss-islington Mar 28, 2026
801f67c
[3.14] gh-146544: Fix `asyncio.Queue` docstring ambiguity (GH-146545)…
miss-islington Mar 28, 2026
525f8e4
[3.14] gh-146004: fix test_args_from_interpreter_flags on windows (GH…
miss-islington Mar 29, 2026
883b6d2
[3.14] gh-146080: fix a crash in SNI callbacks when the SSL object is…
picnixz Mar 29, 2026
1458ea0
[3.14] gh-146090: fix memory management of internal `sqlite3` callbac…
miss-islington Mar 29, 2026
36c22d0
[3.14] gh-146083: Upgrade bundled Expat to 2.7.5 (GH-146085) (#146603)
miss-islington Mar 29, 2026
7317e9d
[3.14] gh-146556: Fix infinite loop in annotationlib.get_annotations(…
miss-islington Mar 30, 2026
de234fc
[3.14] gh-146579: _zstd: Fix decompression options dict error message…
miss-islington Mar 30, 2026
836e5ab
[3.14] gh-146444: Make Platforms/Apple/ compatible with Python 3.9 (G…
miss-islington Mar 30, 2026
487fb7e
[3.14] gh-146444: Don't package as part of iOS 'build hosts' target (…
miss-islington Mar 30, 2026
ec11485
[3.14] gh-146416: Emscripten: Improve standard stream handling in nod…
miss-islington Mar 30, 2026
3c434f7
[3.14] gh-146250: Fix memory leak in re-initialization of `SyntaxErro…
miss-islington Mar 30, 2026
99f333d
[3.14] gh-146376: Reduce timeout in Emscripten GHA workflow (GH-14637…
miss-islington Mar 30, 2026
ed557e6
[3.14] gh-146615: Fix crash in __get__() for METH_METHOD descriptors …
miss-islington Mar 31, 2026
9ac758e
[3.14] gh-146615: Fix format specifiers in Python/ directory (GH-1466…
miss-islington Mar 31, 2026
3866c29
[3.14] gh-146615: Fix format specifiers in test cextensions (GH-14661…
miss-islington Mar 31, 2026
e5ec90e
[3.14] gh-146615: Fix format specifiers in Objects/ directory (GH-146…
miss-islington Mar 31, 2026
58c7259
[3.14] gh-146615: Fix format specifiers in extension modules (GH-1466…
serhiy-storchaka Mar 31, 2026
2d1515d
[3.14] gh-145563: Add thread-safety annotation for PyCapsule C-API (G…
miss-islington Mar 31, 2026
e387bac
[3.14] gh-126835: Fix _PY_IS_SMALL_INT() macro (GH-146631) (#147187)
miss-islington Mar 31, 2026
25b48b8
[3.14] gh-143050: Correct PyLong_FromString() to use _PyLong_Negate()…
miss-islington Mar 31, 2026
6ea4f84
[3.14] gh-144438: Fix false sharing between QSBR and tlbc_index (gh-1…
colesbury Mar 31, 2026
b406d85
[3.14] gh-146615: Fix format specifiers in extension modules (GH-1466…
sunmy2019 Apr 1, 2026
ea9ecc8
[3.14] gh-146488: hash-pin all action references (gh-146489) (#147983)
woodruffw Apr 2, 2026
dbba26d
[3.14] gh-142533: Document CRLF injection vulnerabilities in http.ser…
miss-islington Apr 2, 2026
6996c83
[3.14] gh-146907: Clarify ABI compatibility between debug and release…
miss-islington Apr 3, 2026
3d49e49
[3.14] gh-148022: Add threat model to remote debugging docs (GH-14802…
miss-islington Apr 3, 2026
242eded
[3.14] gh-125895: Fix static asset location for `sphinx-notfound-page…
miss-islington Apr 3, 2026
594b5a0
[3.14] gh-143930: Tweak the exception message and increase test cover…
miss-islington Apr 3, 2026
f4c9bc8
[3.14] gh-126676: Expand argparse docs for type=bool with warning and…
miss-islington Apr 3, 2026
ab3d37f
[3.14] gh-146541: Allow building the Android testbed for 32-bit targe…
freakboy3742 Apr 4, 2026
83ee46c
[3.14] gh-146450: Normalise feature set of Android build script with …
miss-islington Apr 4, 2026
1c3e3fb
[3.14] gh-143394: Skip pyrepl test_no_newline() basic REPL if readlin…
miss-islington Apr 4, 2026
58756bf
[3.14] gh-145098: Use `macos-15-intel` instead of unstable `macos-26-…
miss-islington Apr 4, 2026
61c919c
[3.14] gh-148074: Fix `typeobject.c` missing error return (GH-148075)…
miss-islington Apr 4, 2026
64207c9
[3.14] gh-145883: Fix two heap-buffer-overflows in `_zoneinfo` (GH-14…
miss-islington Apr 4, 2026
8040b20
[3.14] Regex HOWTO: invalid string literals result in `SyntaxWarning`…
miss-islington Apr 4, 2026
3530d32
[3.14] Docs: Fix a typo in the 'Non-ASCII characters in names' sectio…
miss-islington Apr 4, 2026
26c57c0
[3.14] Docs: Standardize documentation authors (GH-148102) (#148104)
miss-islington Apr 4, 2026
f74e2ee
[3.14] Add `permissions: {}` to all reusable workflows (#148114) (#14…
ezio-melotti Apr 4, 2026
9bc5bc5
[3.14] gh-94632: document the subprocess need for extra_groups=() wit…
miss-islington Apr 5, 2026
e99b801
[3.14] gh-145098: Use `macos-15-intel` instead of unstable `macos-26-…
miss-islington Apr 5, 2026
636946f
[3.14] gh-148144: Initialize visited on copied interpreter frames (GH…
miss-islington Apr 5, 2026
bf6bd15
[3.14] gh-144418: Increase Android testbed emulator RAM to 4 GB (GH-1…
miss-islington Apr 6, 2026
90ae938
[3.14] Docs: Update "Installing Python modules" (GH-146249) (#148159)
miss-islington Apr 6, 2026
40a0a94
[3.14] gh-148157: Check for `_PyPegen_add_type_comment_to_arg` fail i…
miss-islington Apr 6, 2026
07158b6
[3.14] gh-146613: Fix re-entrant use-after-free in `itertools._groupe…
miss-islington Apr 6, 2026
8f59d40
[3.14] gh-137586: Open external osascript program with absolute path …
miss-islington Apr 7, 2026
25369a8
[3.14] gh-144503: Pass sys.argv to forkserver as real argv elements (…
gpshead Apr 7, 2026
d786d59
[3.14] gh-146121: Clarify security model of pkgutil.getdata (GH-14819…
miss-islington Apr 7, 2026
383c291
[3.14] GH-146128: Remove the buggy AArch64 "33rx" relocation (GH-1462…
hugovk Apr 7, 2026
23116f9
Python 3.14.4
hugovk Apr 7, 2026
3da4e09
Post 3.14.4
hugovk Apr 7, 2026
5df7652
[3.14] gh-146458: Fix REPL height and width tracking on resize (GH-14…
miss-islington Apr 7, 2026
a84e2db
[3.14] Minor edit: Four space indent in example (gh-148264) (gh-148265)
miss-islington Apr 8, 2026
f46a17b
[3.14] gh-70039: smtplib: store the server name in ._host in .connect…
miss-islington Apr 8, 2026
d31a16e
[3.14] gh-146646: Document that glob functions suppress OSError (GH-1…
miss-islington Apr 9, 2026
88fc1e6
[3.14] gh-148250: Mention str subclasses in PyUnicodeWriter_WriteStr(…
miss-islington Apr 9, 2026
571c337
[3.14] gh-106318: Add example for str.swapcase() method (GH-144575) (…
miss-islington Apr 9, 2026
bb78ec8
[3.14] gh-148274: properly handle result from `PyObject_VisitManagedD…
miss-islington Apr 9, 2026
1a3c03c
[3.14] gh-148067: Fix typo in asyncio event loop docs: 'signals' -> '…
miss-islington Apr 9, 2026
1f17774
[3.14] gh-148254: Use singular "sec" in timeit verbose output (GH-148…
hugovk Apr 9, 2026
b87590f
[3.14] gh-148091: clarify asyncio.Future.cancel(msg) behaviour (GH-14…
miss-islington Apr 9, 2026
e8f3f76
[3.14] gh-145831: email.quoprimime: `decode()` leaves stray `\r` when…
miss-islington Apr 10, 2026
429c1d3
[3.14] Fix mixed line endings with pre-commit (GH-148336) (#148338)
hugovk Apr 10, 2026
288cbac
[3.14] gh-148284: Block inlining of gigantic functions in ceval.c for…
miss-islington Apr 10, 2026
f36da66
[3.14] gh-148037: remove critical section from `PyCode_Addr2Line` (GH…
kumaraditya303 Apr 10, 2026
620fb74
[3.14] gh-148320: document that `import sys.monitoring` raises `Modul…
miss-islington Apr 11, 2026
6112e2d
[3.14] gh-142518: add thread safety docs for dict and set APIs (#148392)
kumaraditya303 Apr 11, 2026
d6be9fb
[3.14] gh-146264: Use static HACL deps for static module builds (GH-1…
miss-islington Apr 11, 2026
4f8a77b
[3.14] gh-145105: Fix crash in csv.reader with re-entrant iterator (G…
miss-islington Apr 11, 2026
af2f518
[3.14] gh-146333: Fix quadratic regex backtracking in configparser op…
miss-islington Apr 12, 2026
838c602
[3.14] Default GHA permissions to `contents: read` (GH-148346) (#148386)
hugovk Apr 12, 2026
47b916e
[3.14] gh-148337: Document `importlib.resources` security model (GH-1…
miss-islington Apr 12, 2026
a4f9bbf
[3.14] gh-147965: Add shutdown() to multiprocessing.Queue excluded me…
miss-islington Apr 12, 2026
a9d122f
[3.14] gh-148208: Fix recursion depth leak in `PyObject_Print` (GH-14…
miss-islington Apr 12, 2026
a89b241
[3.14] gh-148393: Use atomic ops on _ma_watcher_tag in free threading…
miss-islington Apr 12, 2026
7ecd85c
[3.14] gh-146313: Fix multiprocessing ResourceTracker deadlock after …
miss-islington Apr 12, 2026
942d302
[3.14] gh-105936: Properly update closure cells for `__setattr__` and…
miss-islington Apr 12, 2026
82ab8fb
[3.14] tests: use errno.EBADF instead of hardcoded number in _close_f…
miss-islington Apr 13, 2026
48c3c7f
[3.14] gh-146450: Ensure Android gradle build uses custom cross-build…
miss-islington Apr 13, 2026
6a5f79c
[3.14] gh-148395: Fix a possible UAF in `{LZMA,BZ2,_Zlib}Decompressor…
miss-islington Apr 13, 2026
e74e59d
[3.14] Fix "encodings" typo in argparse.FileType documentation (GH-14…
miss-islington Apr 13, 2026
1fa52c3
[3.14] gh-148393: Use acquire load for _ma_watcher_tag in dict notify…
miss-islington Apr 13, 2026
0b9332b
[3.14] InternalDocs: Correct struct path for latin1 singletons in `st…
miss-islington Apr 13, 2026
592c68c
[3.14] gh-146139: Disable `socketpair` authentication on WASI (GH-146…
miss-islington Apr 13, 2026
d42874a
[3.14] gh-148370: prevent quadratic behavior in `configparser.Parsing…
miss-islington Apr 13, 2026
adb2a3a
[3.14] gh-148508: Add resilience to SSL preauth tests on iOS (GH-1485…
miss-islington Apr 14, 2026
314f12c
[3.14] gh-148487: Fix issues in `test_add_python_opts` (GH-148507) (#…
miss-islington Apr 14, 2026
b988157
[3.14] gh-148192: Fix Generator._make_boundary behavior with CRLF lin…
miss-islington Apr 14, 2026
d26fef1
[3.14] gh-72406: Document argument ordering in argparse help output (…
miss-islington Apr 14, 2026
5dc69a6
[3.14] gh-148186: Improve `assertCountEqual` description in docs. (GH…
miss-islington Apr 14, 2026
e590f00
[3.14] gh-137335: remove a mktemp use in multiprocessing.connection t…
miss-islington Apr 15, 2026
bfbabb5
[3.14] tiny edit, fix a couple of minor typos in enum and sqlite3 doc…
miss-islington Apr 15, 2026
0968f33
[3.14] Docs: Use bash lexer for http.server CLI commands, not Python …
miss-islington Apr 15, 2026
0d2101d
[3.14] gh-100305: Deemphasize that `ast.literal_eval` is safe in `eva…
miss-islington Apr 15, 2026
0a6bc08
Add PyManager documentation for index signatures (GH-148631)
miss-islington Apr 15, 2026
1c9de6b
[3.14] gh-137814: Fix __qualname__ of __annotate__ functions in the i…
JelleZijlstra Apr 16, 2026
2fdccb3
[3.14] gh-148535: Don't use gcc -fprofile-update=atomic flag on i686 …
miss-islington Apr 16, 2026
7f6a0c3
[3.14] gh-148651: Fix refcount leak in _zstd decompressor options (GH…
miss-islington Apr 17, 2026
67100b3
[3.14] gh-148222: Fix NULL dereference bugs in genericaliasobject.c (…
miss-islington Apr 18, 2026
d496c63
[3.14] gh-148653: Fix some marshal errors related to recursive immuta…
serhiy-storchaka Apr 18, 2026
a37b105
[3.14] gh-148653: Fix reference leaks in test_marshal introduced in g…
miss-islington Apr 18, 2026
b0104a9
[3.14] gh-133403: Add type annotations to generate_levenshtein_exampl…
miss-islington Apr 19, 2026
f2a0dcb
[3.14] Prevent GitHub's web conflict editor from converting LF to CRL…
miss-islington Apr 19, 2026
e9aacf9
[3.14] gh-121946: Use clang-20 for TSan build (GH-148570) (#148755)
miss-islington Apr 19, 2026
ec1d863
[3.14] gh-148779: Update Briefcase link in android.rst documentation …
miss-islington Apr 19, 2026
f283ac4
[3.14] gh-148763: Fix paramter name in `multiprocessing.connection.se…
miss-islington Apr 20, 2026
7b233c1
[3.14] gh-148788: Update Emscripten example post move to Platforms di…
miss-islington Apr 20, 2026
c171c52
[3.14] Docs: Fix some typos in `calendar.rst` (GH-148756) (GH-148795)
miss-islington Apr 20, 2026
c235654
[3.14] gh-148814: Fix an issue in Emscripten README (GH-148752) (#148…
miss-islington Apr 20, 2026
b1cf901
[3.14] gh-146211: Reject CR/LF in HTTP tunnel request headers (GH-146…
miss-islington Apr 21, 2026
27522b7
[3.14] gh-148808: Add boundary check to asyncio.AbstractEventLoop.soc…
miss-islington Apr 21, 2026
5aa8234
[3.14] gh-146578: _zstd: Fix printf format for pledged size errors (G…
miss-islington Apr 21, 2026
e5d5541
[3.14] gh-148820: Fix _PyRawMutex use-after-free on spurious semaphor…
colesbury Apr 22, 2026
5f1b710
[3.14] gh-148801: Fix unbound C recursion in `Element.__deepcopy__()`…
StanFromIreland Apr 22, 2026
5b33424
[3.14] Add a new Sphinx `soft-deprecated` directive (GH-148630) (#148…
hugovk Apr 22, 2026
3c71d36
[3.14] gh-145194: Fix typing in re tokenizer example (GH-145198) (#14…
miss-islington Apr 23, 2026
27cd234
[3.14] gh-146553: Fix infinite loop in typing.get_type_hints() on cir…
miss-islington Apr 23, 2026
0a63bb8
[3.14] gh-142965: Fix Concatenate documentation to reflect valid use …
miss-islington Apr 23, 2026
032b1be
[3.14] gh-119180: Document the `format` parameter in `typing.get_type…
miss-islington Apr 23, 2026
dd9a77f
[3.14] gh-148892: Drop mention of deprecated cibuildwheel option (GH-…
miss-islington Apr 23, 2026
f795e04
[3.14] gh-90309: Base64-encode cookie values embedded in JS (GH-148889)
miss-islington Apr 23, 2026
b6a7212
[3.14] gh-148680: Replace internal names with type_reprs of objects i…
miss-islington Apr 23, 2026
5e758ff
[3.14] gh-148464: Add missing ``__ctype_le/be__`` attributes for comp…
miss-islington Apr 23, 2026
0f656e2
[3.14] gh-148484: Fix memory leak of iterator in array.array construc…
miss-islington Apr 23, 2026
31ba91a
[3.14] gh-132631: Fix "I/O operation on closed file" when parsing JSO…
miss-islington Apr 23, 2026
26c6e3d
[3.14] gh-113956: Make intern_common thread-safe in free-threaded bui…
colesbury Apr 23, 2026
3034c8f
[3.14] Additional itertool recipes for running statistics (gh-148879)…
miss-islington Apr 24, 2026
89f44ac
[3.14] gh-148735: Fix a UAF in `Element.findtext()` (GH-148738) (#148…
miss-islington Apr 24, 2026
8acb98a
[3.14] gh-148973: fix segfault on mismatch between consts size and op…
miss-islington Apr 25, 2026
15e2b64
[3.14] gh-148947: dataclasses: fix error on empty __class__ cell (GH…
miss-islington Apr 25, 2026
5770df4
[3.14] gh-141473: Speed up subprocess test_communicate_timeout_large_…
miss-islington Apr 26, 2026
78c5e54
[3.14] gh-146455: Fix O(N²) in add_const() after constant folding mov…
miss-islington Apr 26, 2026
9a7e205
[3.14] GH-148726: Forward-port generational GC (#148720)
sergey-miryanov Apr 26, 2026
86ce2e0
[3.14] Document that multiprocessing treats local same-user processes…
miss-islington Apr 27, 2026
f9140e2
[3.14] gh-82665 Mention that HTMLParser.handle_starttag value can be …
miss-islington Apr 27, 2026
bb8d6a0
[3.14] Improve `hash()` builtin docstring with caveats. (GH-125229) …
gpshead Apr 27, 2026
0cd8123
[3.14] Un-skip previously-broken `test_get_type_hints_modules_forward…
KowalskiThomas Apr 27, 2026
b01e594
[3.14] gh-146581: Fix vulnerability in shutil.unpack_archive() for ZI…
miss-islington Apr 27, 2026
2459faa
[3.14] gh-148663: Document that `calendar.IllegalMonthError` inherits…
miss-islington Apr 27, 2026
22d53a9
[3.14] gh-148529: Minor improvements of the struct module documentati…
miss-islington Apr 27, 2026
41f475c
[3.14] gh-149035: Modernize legacy Python patterns in `Doc/tutorial/s…
miss-islington Apr 28, 2026
c181c5f
[3.14] gh-149017: Upgrade bundled Expat to 2.8.0 (GH-149020) (#149073)
StanFromIreland Apr 28, 2026
adfde79
[3.14] gh-140287: Handle `PYTHONSTARTUP` script exceptions in the asy…
miss-islington Apr 29, 2026
28b4ad3
[3.14] gh-148169: Fix webbrowser `%action` substitution bypass of das…
miss-islington Apr 29, 2026
4994367
[3.14] gh-97032: avoid test_squeezer crash on macOS buildbots (gh-115…
miss-islington Apr 29, 2026
4d0ae4c
[3.14] GH-148726: Add heap_size to _gc_runtime_state (#149025)
sergey-miryanov Apr 29, 2026
098880d
[3.14] gh-149122: Fix segfault in compiler when certain builtin funct…
miss-islington Apr 29, 2026
97b4246
[3.14] gh-148740: Fix `uuid` CLI with custom UUIDs for UUIDv3/v5 name…
miss-islington Apr 29, 2026
ab2d84f
[3.14] gh-149148: Upgrade bundled pip to 26.1 (GH-149150) (#149154)
miss-islington Apr 29, 2026
bfcaeea
[3.14] gh-149122: Fix refleak in codegen (GH-149179) (#149181)
miss-islington Apr 30, 2026
fa000ef
[3.14] bpo-39100: _header_value_parser: do not treat a Group as inval…
miss-islington Apr 30, 2026
f23837d
[3.14] Remove dead links to `pkg_resources` in `importlib` docs (GH-1…
StanFromIreland Apr 30, 2026
79f39c9
[3.14] gh-148518 fix index error in local part attribute (GH-148522) …
miss-islington Apr 30, 2026
e6eac2b
[3.14] gh-111264: Add a note about untrusted input to tomllib docs (G…
encukou May 1, 2026
5ec845a
[3.14] gh-148967: Fix FFI type pointer handling for C complex support…
miss-islington May 1, 2026
454401c
[3.14] gh-148390: fix undefined behavior of `memoryview(...).cast("?"…
StanFromIreland May 1, 2026
7fcc068
Move heap_size to end of struct
DinoV May 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[3.14] gh-141004: Document PyDTrace* (GH-141856) (GH-145959)
gh-141004: Document `PyDTrace*` (GH-141856)
(cherry picked from commit 1dfe99a)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
  • Loading branch information
miss-islington and ZeroIntensity authored Mar 15, 2026
commit 331ac071eff19fafc91823c59b108c95a1696707
78 changes: 78 additions & 0 deletions Doc/howto/instrumentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,84 @@ Available static markers
.. versionadded:: 3.8


C Entry Points
^^^^^^^^^^^^^^

To simplify triggering of DTrace markers, Python's C API comes with a number
of helper functions that mirror each static marker. On builds of Python without
DTrace enabled, these do nothing.

In general, it is not necessary to call these yourself, as Python will do
it for you.

.. list-table::
:widths: 50 25 25
:header-rows: 1

* * C API Function
* Static Marker
* Notes
* * .. c:function:: void PyDTrace_LINE(const char *arg0, const char *arg1, int arg2)
* :c:func:`!line`
*
* * .. c:function:: void PyDTrace_FUNCTION_ENTRY(const char *arg0, const char *arg1, int arg2)
* :c:func:`!function__entry`
*
* * .. c:function:: void PyDTrace_FUNCTION_RETURN(const char *arg0, const char *arg1, int arg2)
* :c:func:`!function__return`
*
* * .. c:function:: void PyDTrace_GC_START(int arg0)
* :c:func:`!gc__start`
*
* * .. c:function:: void PyDTrace_GC_DONE(Py_ssize_t arg0)
* :c:func:`!gc__done`
*
* * .. c:function:: void PyDTrace_INSTANCE_NEW_START(int arg0)
* :c:func:`!instance__new__start`
* Not used by Python
* * .. c:function:: void PyDTrace_INSTANCE_NEW_DONE(int arg0)
* :c:func:`!instance__new__done`
* Not used by Python
* * .. c:function:: void PyDTrace_INSTANCE_DELETE_START(int arg0)
* :c:func:`!instance__delete__start`
* Not used by Python
* * .. c:function:: void PyDTrace_INSTANCE_DELETE_DONE(int arg0)
* :c:func:`!instance__delete__done`
* Not used by Python
* * .. c:function:: void PyDTrace_IMPORT_FIND_LOAD_START(const char *arg0)
* :c:func:`!import__find__load__start`
*
* * .. c:function:: void PyDTrace_IMPORT_FIND_LOAD_DONE(const char *arg0, int arg1)
* :c:func:`!import__find__load__done`
*
* * .. c:function:: void PyDTrace_AUDIT(const char *arg0, void *arg1)
* :c:func:`!audit`
*


C Probing Checks
^^^^^^^^^^^^^^^^

.. c:function:: int PyDTrace_LINE_ENABLED(void)
.. c:function:: int PyDTrace_FUNCTION_ENTRY_ENABLED(void)
.. c:function:: int PyDTrace_FUNCTION_RETURN_ENABLED(void)
.. c:function:: int PyDTrace_GC_START_ENABLED(void)
.. c:function:: int PyDTrace_GC_DONE_ENABLED(void)
.. c:function:: int PyDTrace_INSTANCE_NEW_START_ENABLED(void)
.. c:function:: int PyDTrace_INSTANCE_NEW_DONE_ENABLED(void)
.. c:function:: int PyDTrace_INSTANCE_DELETE_START_ENABLED(void)
.. c:function:: int PyDTrace_INSTANCE_DELETE_DONE_ENABLED(void)
.. c:function:: int PyDTrace_IMPORT_FIND_LOAD_START_ENABLED(void)
.. c:function:: int PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED(void)
.. c:function:: int PyDTrace_AUDIT_ENABLED(void)

All calls to ``PyDTrace`` functions must be guarded by a call to one
of these functions. This allows Python to minimize performance impact
when probing is disabled.

On builds without DTrace enabled, these functions do nothing and return
``0``.

SystemTap Tapsets
-----------------

Expand Down
Loading