Skip to content

Conversation

@tungol
Copy link
Contributor

@tungol tungol commented Jan 2, 2026

fixes #15207

_socket.pyi constants are ordered based on the CPython documentation, but that doesn't seem to be the case in socket.pyi. I could merge the new if sys.platform != "darwin": blocks into existing if sys.platform != "darwin": blocks there, but I decided not to because the whole file really could use some re-organization in that regard.

If it's amenable, I could apply the same systematic ordering that I did for os.__all__ in #13052 to the blocks in socket.pyi responsible for import statements and __all__.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 2, 2026

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bluetooth socket constants missing on Linux

1 participant