]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-153856: Add `os.RWF_NOSIGNAL` constant (#153858)
authorBenjamin Peterson <benjamin@python.org>
Sat, 18 Jul 2026 19:26:11 +0000 (12:26 -0700)
committerGitHub <noreply@github.com>
Sat, 18 Jul 2026 19:26:11 +0000 (12:26 -0700)
commita85a674b57b7f12e77ac4bef2398c09f36fec75a
tree66395369c30cbd9ccebd73fcb010e091fb40288b
parenta0c8329218402396478be92b691043453fc28c32
gh-153856: Add `os.RWF_NOSIGNAL` constant (#153858)

RWF_NOSIGNAL was added in Linux 6.18 to prevent pwritev2() from raising SIGPIPE when writing to disconnected pipes or sockets.

fixes gh-153856
Doc/library/os.rst
Misc/NEWS.d/next/Library/2026-07-17-14-30-00.gh-issue-153856.JEHepm.rst [new file with mode: 0644]
Modules/clinic/posixmodule.c.h
Modules/posixmodule.c