This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: http.server documentation missing default value for port
Type: Stage: resolved
Components: Documentation Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: JelleZijlstra Nosy List: JelleZijlstra, asvetlov, miss-islington
Priority: normal Keywords: patch

Created on 2022-01-22 04:29 by JelleZijlstra, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 30776 merged JelleZijlstra, 2022-01-22 04:36
PR 30786 merged miss-islington, 2022-01-22 12:31
PR 30787 merged miss-islington, 2022-01-22 12:48
Messages (4)
msg411230 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2022-01-22 04:29
"python -m http.server" works and listens on port 8000, but the docs suggest you always have to pass the port. PR incoming.
msg411253 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2022-01-22 12:31
New changeset c8a536624e8f5d6612e3c275c5b19592583a8cf8 by Jelle Zijlstra in branch 'main':
bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776)
https://github.com/python/cpython/commit/c8a536624e8f5d6612e3c275c5b19592583a8cf8
msg411260 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2022-01-22 15:31
New changeset b4088801db4b4f56b177b1c01dd873c7922e6a9f by Miss Islington (bot) in branch '3.9':
bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776) (#30786)
https://github.com/python/cpython/commit/b4088801db4b4f56b177b1c01dd873c7922e6a9f
msg411261 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2022-01-22 15:31
New changeset 923c994400b3f1c67f95d25c703e131890a16912 by Miss Islington (bot) in branch '3.10':
bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776) (#30787)
https://github.com/python/cpython/commit/923c994400b3f1c67f95d25c703e131890a16912
History
Date User Action Args
2022-04-11 14:59:55adminsetgithub: 90626
2022-01-22 15:32:14asvetlovsetversions: + Python 3.9
2022-01-22 15:31:55asvetlovsetmessages: + msg411261
2022-01-22 15:31:48asvetlovsetmessages: + msg411260
2022-01-22 15:31:30asvetlovsetstatus: open -> closed
stage: patch review -> resolved
resolution: fixed
versions: - Python 3.9
2022-01-22 12:48:47miss-islingtonsetpull_requests: + pull_request28972
2022-01-22 12:31:27miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request28971
2022-01-22 12:31:19asvetlovsetnosy: + asvetlov
messages: + msg411253
2022-01-22 04:36:38JelleZijlstrasetkeywords: + patch
stage: patch review
pull_requests: + pull_request28961
2022-01-22 04:29:07JelleZijlstracreate