| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
|
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 skip news label instead. |
Sorry, something went wrong.
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.
|
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.
|
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 a problem hiding this comment.
LG, two nits. Thanks for helping out!
Sorry, something went wrong.
|
|
||
| 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.
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 a problem hiding this comment.
Sure. A commit with comments have been pushed.
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks!
Sorry, something went wrong.
|
@CendioOssman Could you sign the CLA please so we can merge? |
Sorry, something went wrong.
|
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.
Okay, I'll wait a bit for our side to update the database then. |
Sorry, something went wrong.
|
@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.
|
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.
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 <fantix.king@gmail.com>
| Back | FazBrowse Home | New Git URL |
Relieve developers from the burden of manually cleaning up their Unix sockets by having asyncio take care of that internally.
Fixes #111246.
📚 Documentation preview 📚: https://cpython-previews--111483.org.readthedocs.build/