New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-45693: Document port
parameter to loop.create_server
#29760
bpo-45693: Document port
parameter to loop.create_server
#29760
Conversation
Document the `port` parameter to `loop.create_server` in `asyncio`. In particular, note that if `host` resolves to multiple network interfaces, passing in `port=0` will result in a different random unused port being used for each interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Thanks!
@jcrist: Status check is done, and it's a success ✅ . |
Thanks @jcrist for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9, 3.10. |
…H-29760) Document the `port` parameter to `loop.create_server` in `asyncio`. In particular, note that if `host` resolves to multiple network interfaces, passing in `port=0` will result in a different random unused port being used for each interface. Automerge-Triggered-By: GH:ericvsmith (cherry picked from commit d71c7bc) Co-authored-by: Jim Crist-Harif <jcristharif@gmail.com>
GH-29762 is a backport of this pull request to the 3.10 branch. |
…H-29760) Document the `port` parameter to `loop.create_server` in `asyncio`. In particular, note that if `host` resolves to multiple network interfaces, passing in `port=0` will result in a different random unused port being used for each interface. Automerge-Triggered-By: GH:ericvsmith (cherry picked from commit d71c7bc) Co-authored-by: Jim Crist-Harif <jcristharif@gmail.com>
GH-29763 is a backport of this pull request to the 3.9 branch. |
GH-29764 is a backport of this pull request to the 3.8 branch. |
…H-29760) Document the `port` parameter to `loop.create_server` in `asyncio`. In particular, note that if `host` resolves to multiple network interfaces, passing in `port=0` will result in a different random unused port being used for each interface. Automerge-Triggered-By: GH:ericvsmith (cherry picked from commit d71c7bc) Co-authored-by: Jim Crist-Harif <jcristharif@gmail.com>
… (GH-29762) Document the `port` parameter to `loop.create_server` in `asyncio`. In particular, note that if `host` resolves to multiple network interfaces, passing in `port=0` will result in a different random unused port being used for each interface. Automerge-Triggered-By: GH:ericvsmith (cherry picked from commit d71c7bc) Co-authored-by: Jim Crist-Harif <jcristharif@gmail.com> Co-authored-by: Jim Crist-Harif <jcristharif@gmail.com>
… (GH-29763) Document the `port` parameter to `loop.create_server` in `asyncio`. In particular, note that if `host` resolves to multiple network interfaces, passing in `port=0` will result in a different random unused port being used for each interface. Automerge-Triggered-By: GH:ericvsmith (cherry picked from commit d71c7bc) Co-authored-by: Jim Crist-Harif <jcristharif@gmail.com> Co-authored-by: Jim Crist-Harif <jcristharif@gmail.com>
…H-29760) Document the `port` parameter to `loop.create_server` in `asyncio`. In particular, note that if `host` resolves to multiple network interfaces, passing in `port=0` will result in a different random unused port being used for each interface. Automerge-Triggered-By: GH:ericvsmith
Document the
port
parameter toloop.create_server
inasyncio
. Inparticular, note that if
host
resolves to multiple network interfaces,passing in
port=0
will result in a different random unused port beingused for each interface.
https://bugs.python.org/issue45693
Automerge-Triggered-By: GH:ericvsmith