summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorsobolevn <mail@sobolevn.me>2024-11-01 21:53:29 (GMT)
committerGitHub <noreply@github.com>2024-11-01 21:53:29 (GMT)
commit28b148fb32e4548b461137d18d1ab6d366395d36 (patch)
treea17e95b923a69ed44cdb227b60efe7f9cb109133 /Misc/NEWS.d
parent72dd4714f944e5927656aa25f5cd9bdcd3b00a76 (diff)
downloadcpython-28b148fb32e4548b461137d18d1ab6d366395d36.zip
cpython-28b148fb32e4548b461137d18d1ab6d366395d36.tar.gz
cpython-28b148fb32e4548b461137d18d1ab6d366395d36.tar.bz2
gh-126220: Fix crash on calls to `_lsprof.Profiler` methods with 0 args (backportable) (#126271)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2024-10-31-14-06-28.gh-issue-126220.uJAJCU.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-10-31-14-06-28.gh-issue-126220.uJAJCU.rst b/Misc/NEWS.d/next/Library/2024-10-31-14-06-28.gh-issue-126220.uJAJCU.rst
new file mode 100644
index 0000000..555f2f3
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-10-31-14-06-28.gh-issue-126220.uJAJCU.rst
@@ -0,0 +1,2 @@
+Fix crash in :class:`!cProfile.Profile` and :class:`!_lsprof.Profiler` when their
+callbacks were directly called with 0 arguments.