[3.13] gh-132124: improve safety nets for creating AF_UNIX socket files (GH-134085)#134448
Conversation
pythonGH-134085) * ensure that we can create AF_UNIX socket files * emit a warning if system-wide temporary directory is used (cherry picked from commit 1a07a01) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
picnixz
left a comment
There was a problem hiding this comment.
I'm too lazy for backporting the docs labels I created in 3.14+ so let's just have an emphasized method
Sorry, something went wrong.
|
The reason why we should NOT backport this for a while: #132124 (comment). |
Sorry, something went wrong.
|
Since the last 3.14 beta went wild, I think we can now backport this to 3.13 as no one has complained. |
Sorry, something went wrong.
|
@Yhg1s if you want to re-add the labels in the NEWS, you can, because @brianschubert recently updated them I think. |
Sorry, something went wrong.
|
Yup, #137156 backported |
Sorry, something went wrong.
932221b
into
python:3.13
Aug 4, 2025
(cherry picked from commit 1a07a01)
Co-authored-by: Bénédikt Tran 10796600+picnixz@users.noreply.github.com
multiprocessing.util.get_temp_dir()can be used to create socket files with limited path length #132124