-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-132124: improve safety nets for creating AF_UNIX socket files #134085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-132124: improve safety nets for creating AF_UNIX socket files #134085
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant
Conversation
When you're done making the requested changes, leave the comment: |
3233fdc
to
84f7020
Compare
I have made the requested changes; please review again. |
Thanks for making the requested changes! @gpshead: please review the changes made to this pull request. |
Thank you! It works (and the change seems to have the semantics I'd expect). |
@@ -19,7 +19,7 @@ | |||
from . import process | |||
|
|||
__all__ = [ | |||
'sub_debug', 'debug', 'info', 'sub_warning', 'get_logger', | |||
'sub_debug', 'debug', 'info', 'sub_warning', 'warn', 'get_logger', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note to self: I'm going to leave 'warn' out of __all__
and rename the function to _warn
as a modification to our 3.13 backport as it'd technically be an API change in a bugfix release otherwise.
Thanks @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
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>
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>
pythonGH-134085) * ensure that we can create AF_UNIX socket files * emit a warning if system-wide temporary directory is used
cc @mmokrejs
multiprocessing.util.get_temp_dir()
can be used to create socket files with limited path length #132124