File tree 2 files changed +20
-6
lines changed
2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,14 @@ sqlite3
139
139
* Add a :ref: `command-line interface <sqlite3-cli >`.
140
140
(Contributed by Erlend E. Aasland in :gh: `77617 `.)
141
141
142
+ threading
143
+ ---------
144
+
145
+ * Add :func: `threading.settrace_all_threads ` and
146
+ :func: `threading.setprofile_all_threads ` that allow to set tracing and
147
+ profiling functions in all running threads in addition to the calling one.
148
+ (Contributed by Pablo Galindo in :gh: `93503 `.)
149
+
142
150
143
151
Optimizations
144
152
=============
@@ -473,6 +481,12 @@ New Features
473
481
``__dict__ `` and weakrefs with less bookkeeping,
474
482
using less memory and with faster access.
475
483
484
+ * Added two new public functions,
485
+ :c:func: `PyEval_SetProfileAllThreads ` and
486
+ :c:func: `PyEval_SetTraceAllThreads `, that allow to set tracing and profiling
487
+ functions in all running threads in addition to the calling one. (Contributed
488
+ by Pablo Galindo in :gh: `93503 `.)
489
+
476
490
Porting to Python 3.12
477
491
----------------------
478
492
Original file line number Diff line number Diff line change 1
1
Add two new public functions to the public C-API,
2
- :c:func: `PyEval_SetProfileAllThreads ` and
3
- :c:func: ` PyEval_SetTraceAllThreads `, that allow to set tracking and
4
- profiling functions in all running threads in addition to the calling one.
5
- Also, add a new * running_threads * parameter to :func: `threading.setprofile `
6
- and :func: `threading.settrace ` that allows to do the same from Python. Patch
7
- by Pablo Galindo
2
+ :c:func: `PyEval_SetProfileAllThreads ` and :c:func: ` PyEval_SetTraceAllThreads `,
3
+ that allow to set tracing and profiling functions in all running threads in
4
+ addition to the calling one. Also, two analogous functions to the
5
+ :mod: ` threading ` module ( :func: `threading.setprofile_all_threads ` and
6
+ :func: `threading.settrace_all_threads `) that allow to do the same from Python.
7
+ Patch by Pablo Galindo
You can’t perform that action at this time.
0 commit comments