Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

gh-89415: Add source-specific multicast constants to socket module #103684

Merged
merged 5 commits into from
Apr 27, 2023

Conversation

rmehyde
Copy link
Contributor

@rmehyde rmehyde commented Apr 22, 2023

Addresses #89415 by adding IP_UNBLOCK_SOURCE, IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP, and IP_DROP_SOURCE_MEMBERSHIP constants to the socket module if found in system headers.

I believe this follows the approach suggested by @gpshead but this is my first contribution so please let me know what I missed!

@cpython-cla-bot
Copy link

cpython-cla-bot bot commented Apr 22, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

@arhadthedev arhadthedev added the extension-modules C modules in the Modules dir label Apr 22, 2023
@gpshead gpshead self-assigned this Apr 27, 2023
@gpshead gpshead merged commit 1d99e9e into python:main Apr 27, 2023
@rmehyde rmehyde deleted the socket-ssm_issue-89415 branch April 27, 2023 19:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
extension-modules C modules in the Modules dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants