GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing github.com — gh-111246: Remove listening Unix socket on close by CendioOssman · Pull Request #111483 · python/cpython Conversation
|
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Try to clean up the socket file we create so we don't add unused noise to the file system.
We only want to clean up *our* socket, so try to determine if we still own this address or if something else has replaced it.
Allow the implicit cleanup to be disabled in case there are some odd corner cases where this causes issues.
14a46a9 to
93571fe
Compare
|
Once review has started (now) please don't force-push -- just add additional commits, otherwise review will be more work. We'll squash merge the final approved PR anyway. Also, merging main is usually not needed (GitHub is a bit pushy around that). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ah, sorry. I'm used to the Linux kernel model where you churn the patch set until you have a history everyone is happy with. :) I guess that means my careful splitting into distinct features wasn't necessary either. :) FYI, the CLA is in progress via the slower organization route. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LG, two nits. Thanks for helping out!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
|
||
| class UnixServerCleanupTests(unittest.IsolatedAsyncioTestCase): | ||
| @socket_helper.skip_unless_bind_unix_socket | ||
| async def test_unix_server_addr_cleanup(self): |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Would you mind adding one-line comments to the new tests explaining what each test checks? They look so similar I first thought you had accidentally copied the test a few times. :-)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sure. A commit with comments have been pushed.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@CendioOssman Could you sign the CLA please so we can merge? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
It was signed last Tuesday, so it should hopefully be in someone's queue. I got a confirmation from Adobe at least. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Okay, I'll wait a bit for our side to update the database then. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@CendioOssman, in the case of corporate CLAs we still need you to click through the personal CLA signing route to mark your email as green. We don't use blanket email domain approvals. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ah. The link said I should use the manual form "instead", so I never proceeded with the GitHub form. I've clicked through the personal approval as well now. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Try to clean up the socket file we create so we don't add unused noise to the file system.
This is derived from python/cpython#111483 but available on all Python versions with uvloop, only that it's only enabled by default for Python 3.13 and above to be consistent with CPython behavior.
Try to clean up the socket file we create so we don't add unused noise to the file system.
This is derived from python/cpython#111483 but available on all Python versions with uvloop, only that it's only enabled by default for Python 3.13 and above to be consistent with CPython behavior. * Also add Python 3.13 to CI (#610) * Enable CI in debug mode * Fix CI to include [dev] --------- Co-authored-by: Fantix King <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Listening asyncio UNIX socket isn't removed on close
There was an error while loading. Please reload this page.