]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-116738: Make syslog module thread-safe (#136760)
authorAlper <alperyoney@fb.com>
Mon, 21 Jul 2025 16:24:42 +0000 (09:24 -0700)
committerGitHub <noreply@github.com>
Mon, 21 Jul 2025 16:24:42 +0000 (09:24 -0700)
commit65893c6f9c69562526d24fe8265119feeea54cbf
tree0ce4aa4e3c13dc966c4cfd2da745c6eb272c9730
parent5f9e38f9b9f2b82e841f1b11a8300f2cacd76a36
gh-116738: Make syslog module thread-safe (#136760)

Make the setlogmask() function in the syslog module thread-safe. These changes are relevant for scenarios where the GIL is disabled or when using subinterpreters.
Lib/test/test_free_threading/test_syslog.py [new file with mode: 0644]
Misc/NEWS.d/next/Core_and_Builtins/2025-07-18-08-43-35.gh-issue-116738.i0HWtP.rst [new file with mode: 0644]
Modules/syslogmodule.c