Repository navigation
gh-103484: Remove the outdated generator tutorials footnote in unittest.mock examples - #162166
Merged
StanFromIreland merged 3 commits intoNov 18, 2026
Merged
Conversation
The coroutines/index.html and generators/ pages on dabeaz.com now return 404. Link to the matching entries on the tutorials page instead.
| @@ -672,10 +672,11 @@ To configure the values returned from the iteration (implicit in the call to | |||
| [1, 2, 3] | |||
|
|
|||
| .. [#] There are also generator expressions and more `advanced uses | |||
Member
There was a problem hiding this comment.
I think we can drop the footnote, this isn't the place for this. Additionally, I tried to review the materials (since they target 2.5), but they are behind some form of wall (which probably isn't ideal for readers).
Contributor
Author
|
Thanks, agreed. I've dropped the footnote (and its reference marker) instead of updating the links, and retitled the PR to match. |
Documentation build overview
4 files changed± library/os.html± library/unittest.mock-examples.html± using/windows.html± whatsnew/changelog.html |
StanFromIreland
approved these changes
Nov 18, 2026
|
Thanks @farisbasha for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
|
GH-162200 is a backport of this pull request to the 3.15 branch. |
|
GH-162201 is a backport of this pull request to the 3.14 branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The two footnote links in the
unittest.mockexamples page(
Doc/library/unittest.mock-examples.rst) point athttp://www.dabeaz.com/coroutines/index.htmlandhttp://www.dabeaz.com/generators/. Both now return 404.David Beazley moved these tutorials to his tutorials page, where each one has
its own anchor. This PR links to those two entries:
Both anchors exist on the live page. The old URLs return 404 when fetched,
and there are no other copies of them in the repository.
The dead links were found and the change was prepared with help from an AI
assistant (Claude).