Allow None ports for asyncio servers by ryux1 · Pull Request #16353 · python/typeshed · GitHub
Skip to content

Allow None ports for asyncio servers - #16353

Merged
JelleZijlstra merged 1 commit into
python:mainfrom
ryux1:ryux1/asyncio-create-server-none-port
Sep 6, 2026
Merged

Allow None ports for asyncio servers#16353
JelleZijlstra merged 1 commit into
python:mainfrom
ryux1:ryux1/asyncio-create-server-none-port

Conversation

@ryux1

@ryux1 ryux1 commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Closes #16157.

Model the valid host, port, and socket combinations for create_server across all supported Python versions, with regression coverage for both event-loop interfaces.

Agent used: OpenAI Codex.

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

@JelleZijlstra
JelleZijlstra merged commit 24aa422 into python:main Sep 6, 2026
88 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.

BaseEventLoop.create_server overload doesn't allow passing host with port=None

2 participants