bpo-27584: New addition of vSockets to the python socket module#2489
Conversation
|
The patch is also in Issue number 27584 along with a README file that explains how to setup the environment for tests. |
Sorry, something went wrong.
berkerpeksag
left a comment
There was a problem hiding this comment.
Thank you for the PR. Could you please add your name to Misc/ACKS?
Sorry, something went wrong.
|
Looks like your branch contains additional commits and unfortunately it makes code review harder. Could you rebase your branch against current master? You might find https://devguide.python.org/gitbootcamp/#syncing-with-upstream helpful. |
Sorry, something went wrong.
|
So you want me to sync my github branch bpo-27584 with the upstream cpython branch? Is that correct? I'm just a little unclear as to what you are asking. Cathy |
Sorry, something went wrong.
|
Or do you want me to rebase both my master ( fork of upstream ) and my bpo-27584 branch? Thanks again |
Sorry, something went wrong.
Correct. Your branch bpo-27584 now contains 34 commits and 30 of them are unrelated to the vSockets feature as you can see at https://github.com/python/cpython/pull/2489/files (the reason is probably this merge commit) |
Sorry, something went wrong.
|
Sorry I seem to have an issue. Python Dev~/caavery.github/cpython# git push origin bpo-27584 |
Sorry, something went wrong.
|
Sorry this is my first time with github and working with remote branches. I just forced the push into my branch bpo-27584. My branch says that 'This branch is 4 commits ahead of python:master. ' which is what I think you wanted. |
Sorry, something went wrong.
Looks great, thanks! I will try to take another look at the patch while we wait for Kushal's review. |
Sorry, something went wrong.
|
Is there anything else I should be doing? The patches have passed all tests so far and I have addressed all the issues raised. Thanks, Cathy |
Sorry, something went wrong.
|
A Python core developer, tiran, has requested some changes be Once you have made the requested changes, please leave a comment |
Sorry, something went wrong.
|
I didn't expect the Spanish Inquisition! |
Sorry, something went wrong.
|
Nobody expects the Spanish Inquisition! @kushaldas, @tiran: please review the changes made to this pull request. |
Sorry, something went wrong.
tiran
left a comment
There was a problem hiding this comment.
You are almost there!
Sorry, something went wrong.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Sorry, something went wrong.
|
OK there seems to be a problem with the build now. I'll address it next week. Thanks. |
Sorry, something went wrong.
|
You were right, either |
Sorry, something went wrong.
|
I didn't expect the Spanish Inquisition! |
Sorry, something went wrong.
|
Nobody expects the Spanish Inquisition! @kushaldas, @tiran: please review the changes made to this pull request. |
Sorry, something went wrong.
Support for AF_VSOCK on Linux only
Fixed syntax and naming problems. Fixed #ifdef AF_VSOCK checking Restored original aclocal.m4
Added checking for fcntl and thread modules.
Fixed white space error
Added back comma in (CID, port).
Added news file. socket.rst now reflects first Linux introduction of AF_VSOCK. Fixed get_cid in test_socket.py. Replaced PyLong_FromLong with PyLong_FromUnsignedLong in socketmodule.c Got rid of extra AF_VSOCK #define. Added sockaddr_vm to sock_addr.
Minor cleanup.
Put back #undef AF_VSOCK as it is necessary when vm_sockets.h is not installed.
tiran
left a comment
There was a problem hiding this comment.
LGTM, thanks!
Sorry, something went wrong.
|
FYI I wrote PR gh-119463 to skip the tests if get_cid() returns VMADDR_CID_ANY. Apparently, the Linux kernel 6.9 changed |
Sorry, something went wrong.
Support for AF_VSOCK on Linux only
https://bugs.python.org/issue27584