GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — gh-97822: Fix http.server documentation reference to test() function by Jason-Y-Z · Pull Request #98027 · python/cpython Conversation
|
| ``text/`` the file is opened in text mode; otherwise binary mode is used. | ||
|
|
||
| For example usage, see the implementation of the :func:`test` function | ||
| For example usage, see the implementation of the :func:`~http.server.test` function |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This link won't work, because the test() function is (rightly) not documented. I think it would be more helpful to link to the source code, which can be done with the :source: directive.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review, hopefully the latest version fixed this :)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| ``text/`` the file is opened in text mode; otherwise binary mode is used. | ||
|
|
||
| For example usage, see the implementation of the :func:`test` function | ||
| For example usage, see the implementation of the :source:`~http.server.test` function |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This is not correct, you need a file path like Lib/http/server.py. See the top of https://docs.python.org/3.10/library/dbm.html for an example of how it is rendered.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Right, thanks for your help :)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| For example usage, see the implementation of the :source:`~http.server.test` function | ||
| invocation in the :mod:`http.server` module. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| For example usage, see the implementation of the :source:`~http.server.test` function | |
| invocation in the :mod:`http.server` module. | |
| For example usage, see the implementation of the ``test`` function | |
| invocation in :source:`Lib/http/server.py`. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I might be wrong, but the build error message seems to be suggesting something else broken? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry for that, #98056 will fix it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thanks @Jason-Y-Z for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-98084 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…ction (pythonGH-98027) Co-authored-by: Jelle Zijlstra <[email protected]> (cherry picked from commit 6b48562) Co-authored-by: JasonYZ <[email protected]>
|
GH-98085 is a backport of this pull request to the 3.10 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…ction (pythonGH-98027) Co-authored-by: Jelle Zijlstra <[email protected]> (cherry picked from commit 6b48562) Co-authored-by: JasonYZ <[email protected]>
…H-98027) Co-authored-by: Jelle Zijlstra <[email protected]> (cherry picked from commit 6b48562) Co-authored-by: JasonYZ <[email protected]>
…H-98027) Co-authored-by: Jelle Zijlstra <[email protected]> (cherry picked from commit 6b48562) Co-authored-by: JasonYZ <[email protected]>
* main: pythongh-68686: Retire eptag ptag scripts (python#98064) pythongh-97922: Run the GC only on eval breaker (python#97920) GitHub Workflows security hardening (python#96492) Add `@ezio-melotti` as codeowner for `.github/`. (python#98079) pythongh-97913 Docs: Add walrus operator to the index (python#97921) [doc] Fix broken links to C extensions accelerating stdlib modules (python#96914) pythongh-97822: Fix http.server documentation reference to test() function (python#98027) pythongh-91052: Add PyDict_Unwatch for unwatching a dictionary (python#98055) pythonGH-98023: Change default child watcher to PidfdChildWatcher on supported systems (python#98024) pythonGH-94182: Run the PidfdChildWatcher on the running loop (python#94184)
* main: (5519 commits) Minor edits to the Descriptor HowTo Guide (pythonGH-24901) Fix link to Lifecycle of a Pull Request in CONTRIBUTING (python#98102) pythonGH-94597: deprecate `SafeChildWatcher`, `FastChildWatcher` and `MultiLoopChildWatcher` child watchers (python#98089) Auto-cancel old builds when new commit pushed to branch (python#98009) pythongh-95011: Migrate syslog module to Argument Clinic (pythonGH-95012) pythongh-68686: Retire eptag ptag scripts (python#98064) pythongh-97922: Run the GC only on eval breaker (python#97920) GitHub Workflows security hardening (python#96492) Add `@ezio-melotti` as codeowner for `.github/`. (python#98079) pythongh-97913 Docs: Add walrus operator to the index (python#97921) [doc] Fix broken links to C extensions accelerating stdlib modules (python#96914) pythongh-97822: Fix http.server documentation reference to test() function (python#98027) pythongh-91052: Add PyDict_Unwatch for unwatching a dictionary (python#98055) pythonGH-98023: Change default child watcher to PidfdChildWatcher on supported systems (python#98024) pythonGH-94182: Run the PidfdChildWatcher on the running loop (python#94184) pythongh-92886: make test_ast pass with -O (assertions off) (pythonGH-98058) pythongh-92886: make test_coroutines pass with -O (assertions off) (pythonGH-98060) pythongh-57179: Add note on symlinks for os.walk (python#94799) pythongh-94808: Fix regex on exotic platforms (python#98036) pythongh-90085: Remove vestigial -t and -c timeit options (python#94941) ...
…ction (python#98027) Co-authored-by: Jelle Zijlstra <[email protected]>
…H-98027) Co-authored-by: Jelle Zijlstra <[email protected]> (cherry picked from commit 6b48562) Co-authored-by: JasonYZ <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.