Skip to content

Add socket.IP_FREEBIND constant #132991

@alyssais

Description

@alyssais

Feature or enhancement

Proposal:

The socket options exposed by CPython's socket module do not include IP_FREEBIND, meaning the option number has to be hardcoded. Examples of this in the wild can be find using GitHub's code search.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions