summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-18 10:34:41 (GMT)
committerGitHub <noreply@github.com>2023-08-18 10:34:41 (GMT)
commit3ff5ef2ad3d89c3ccf4e07ac8fdd798267ae6c61 (patch)
tree4bc924872b423ceb95d0288681ff8ffecc086560 /Misc/NEWS.d/next/C API
parentcc58ec9724772a8d5c4a5c9a6525f9f96e994227 (diff)
downloadcpython-3ff5ef2ad3d89c3ccf4e07ac8fdd798267ae6c61.zip
cpython-3ff5ef2ad3d89c3ccf4e07ac8fdd798267ae6c61.tar.gz
cpython-3ff5ef2ad3d89c3ccf4e07ac8fdd798267ae6c61.tar.bz2
gh-108014: Add Py_IsFinalizing() function (#108032)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Misc/NEWS.d/next/C API')
-rw-r--r--Misc/NEWS.d/next/C API/2023-08-16-17-16-19.gh-issue-108014.wXN3CF.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2023-08-16-17-16-19.gh-issue-108014.wXN3CF.rst b/Misc/NEWS.d/next/C API/2023-08-16-17-16-19.gh-issue-108014.wXN3CF.rst
new file mode 100644
index 0000000..fee3d5b
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2023-08-16-17-16-19.gh-issue-108014.wXN3CF.rst
@@ -0,0 +1,2 @@
+Add :c:func:`Py_IsFinalizing` function: check if the main Python interpreter is
+:term:`shutting down <interpreter shutdown>`. Patch by Victor Stinner.