summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2024-02-21 12:54:57 (GMT)
committerGitHub <noreply@github.com>2024-02-21 12:54:57 (GMT)
commit4a9e6497c2cae40647589497e033b0b590a180ba (patch)
treeff535e2eee24ed9b466ca4cbf5f9e54888296fad /Misc/NEWS.d
parentb052fa381fa2ce6820332d56fb22cd7156529d24 (diff)
downloadcpython-4a9e6497c2cae40647589497e033b0b590a180ba.zip
cpython-4a9e6497c2cae40647589497e033b0b590a180ba.tar.gz
cpython-4a9e6497c2cae40647589497e033b0b590a180ba.tar.bz2
gh-104090: Add exit code to multiprocessing ResourceTracker (GH-115410)
This builds on https://github.com/python/cpython/pull/106807, which adds a return code to ResourceTracker, to make future debugging easier. Testing this “in situ” proved difficult, since the global ResourceTracker is involved in test infrastructure. So, the tests here create a new instance and feed it fake data. --------- Co-authored-by: Yonatan Bitton <yonatan.bitton@perception-point.io> Co-authored-by: Yonatan Bitton <bityob@gmail.com> Co-authored-by: Antoine Pitrou <antoine@python.org>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2023-07-16-15-02-47.gh-issue-104090.oMjNa9.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-07-16-15-02-47.gh-issue-104090.oMjNa9.rst b/Misc/NEWS.d/next/Core and Builtins/2023-07-16-15-02-47.gh-issue-104090.oMjNa9.rst
new file mode 100644
index 0000000..e581d29
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2023-07-16-15-02-47.gh-issue-104090.oMjNa9.rst
@@ -0,0 +1,2 @@
+The multiprocessing resource tracker now exits with non-zero status code if a resource
+leak was detected. It still exits with status code 0 otherwise.