commit | c7761bbc3297539480d1e2799f7f67f0437c24b1 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Thu Oct 13 04:59:23 2022 -0700 |
committer | GitHub <noreply@github.com> | Thu Oct 13 04:59:23 2022 -0700 |
tree | 48c3a4081621350c05379c6f658e2f47aeccc0ed | |
parent | 0a67f82eb1daf0afaebc68f31ac7e4609f314353 [diff] |
gh-98178: syslog() is not thread-safe on macOS (GH-98213) On macOS, fix a crash in syslog.syslog() in multi-threaded applications. On macOS, the libc syslog() function is not thread-safe, so syslog.syslog() no longer releases the GIL to call it. (cherry picked from commit d4b91663857e85eab1f309cacec4d27b5f6657ec) Co-authored-by: Victor Stinner <vstinner@python.org>