Skip to content

Conversation

@topher200
Copy link
Contributor

Arbiter.LISTENERS is actually a list of BaseSocket.

You can see this if you follow the calls from create_sockets in Gunicorn. It's also correctly BaseSocket in the Typeshed sock.pyi file.

topher200 and others added 2 commits October 29, 2025 22:38
`Arbiter.LISTENERS` is actually a list of `BaseSocket`. 

You can see this if you follow the calls from [`create_sockets` in Gunicorn](https://github.com/benoitc/gunicorn/blob/56b5ad87f8d72a674145c273ed8f547513c2b409/gunicorn/arbiter.py#L156). It's also correctly `BaseSocket` in the [Typeshed `sock.pyi` file](https://github.com/python/typeshed/blob/main/stubs/gunicorn/gunicorn/sock.pyi#L35).
@topher200 topher200 changed the title Update arbiter.pyi [gunicorn] Update arbiter.pyi Oct 30, 2025
@github-actions
Copy link
Contributor

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

@srittau srittau merged commit bdb55f1 into python:main Oct 30, 2025
48 checks passed
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.

2 participants