summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2022-07-05 18:52:33 (GMT)
committerGitHub <noreply@github.com>2022-07-05 18:52:33 (GMT)
commit5e24c80b948da6995990296cf262d9eae265e8ec (patch)
treeca0c20c8012eea7e14d34c7f1488587b88977b05 /Misc
parentfd34bfe48444fdb22ff1ae78941cf621854b351f (diff)
downloadcpython-5e24c80b948da6995990296cf262d9eae265e8ec.zip
cpython-5e24c80b948da6995990296cf262d9eae265e8ec.tar.gz
cpython-5e24c80b948da6995990296cf262d9eae265e8ec.tar.bz2
[3.10] gh-94510: Raise on re-entrant calls to sys.setprofile and syssettrace (GH-94511) (#94579)
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>. Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-07-02-19-46-30.gh-issue-94510.xOatDC.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-07-02-19-46-30.gh-issue-94510.xOatDC.rst b/Misc/NEWS.d/next/Library/2022-07-02-19-46-30.gh-issue-94510.xOatDC.rst
new file mode 100644
index 0000000..55856d5
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-07-02-19-46-30.gh-issue-94510.xOatDC.rst
@@ -0,0 +1,2 @@
+Re-entrant calls to :func:`sys.setprofile` and :func:`sys.settrace` now
+raise :exc:`RuntimeError`. Patch by Pablo Galindo.