]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-132124: improve safety nets for creating AF_UNIX socket files (GH-134085...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 Aug 2025 14:38:49 +0000 (16:38 +0200)
committerGitHub <noreply@github.com>
Mon, 4 Aug 2025 14:38:49 +0000 (07:38 -0700)
commit932221bc01aebc971ac0bc33bc589503f9c1097c
treeec2d24402e6e4a5f313986ff39c4d0db1bee8fe6
parent235d380c4c0ec08cf4fb791541f0f53fd8de12e6
[3.13] gh-132124: improve safety nets for creating AF_UNIX socket files (GH-134085) (#134448)

* gh-132124: improve safety nets for creating AF_UNIX socket files (GH-134085)

* ensure that we can create AF_UNIX socket files
* emit a warning if system-wide temporary directory is used
(cherry picked from commit 1a07a01014bde23acd2684916ef38dc0cd73c2de)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* rename warn -> _warn for the 3.13.x backport

* Update Misc/NEWS.d/next/Library/2025-05-16-12-40-37.gh-issue-132124.T_5Odx.rst

---------

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/multiprocessing/connection.py
Lib/multiprocessing/util.py
Lib/tempfile.py
Misc/NEWS.d/next/Library/2025-05-16-12-40-37.gh-issue-132124.T_5Odx.rst [new file with mode: 0644]