Skip to content
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-42589: Change URL for 'from' link when used in a raised exception #23872

Merged

Conversation

sblondon
Copy link
Contributor

@sblondon sblondon commented Dec 20, 2020

Links for 'raise Exception from x' target to 'The raise statement' (7.8) section instead of 'The import statement' (7.11) section.

There are more modified links than in the bug report because I searched some other ones which can get the same improvement.

https://bugs.python.org/issue42589

Automerge-Triggered-By: GH:Mariatta

Links for 'raise Exception from x' target to 'The raise statement' section
instead of 'The import statement' section
@sblondon
Copy link
Contributor Author

It's a minor patch in documentation. I don't think a news entry is needed.

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Jan 20, 2021
@sblondon
Copy link
Contributor Author

@iritkatriel do you know if you can request a review to another core dev ? Or reping Mariatta?

Copy link
Member

@Mariatta Mariatta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Sorry for the delay in reviewing.

@miss-islington
Copy link
Contributor

Thanks @sblondon for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 29, 2021
…pythonGH-23872)

Links for 'raise Exception from x' target to 'The raise statement' (7.8) section instead of 'The import statement' (7.11) section.

There are more modified links than in the bug report because I searched some other ones which can get the same improvement.
(cherry picked from commit 2fd928c)

Co-authored-by: sblondon <sblondon@users.noreply.github.com>
@miss-islington
Copy link
Contributor

Sorry, @sblondon, I could not cleanly backport this to 3.8 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 2fd928c8c1328424130cb9c51fc02ad5f9a66328 3.8

@miss-islington miss-islington self-assigned this Apr 29, 2021
@bedevere-bot
Copy link

GH-25730 is a backport of this pull request to the 3.9 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Apr 29, 2021
@Mariatta
Copy link
Member

Thanks @sblondon for the PR. Would you be able to create the backport PR to the 3.8 branch?

miss-islington added a commit that referenced this pull request Apr 29, 2021
…GH-23872)

Links for 'raise Exception from x' target to 'The raise statement' (7.8) section instead of 'The import statement' (7.11) section.

There are more modified links than in the bug report because I searched some other ones which can get the same improvement.
(cherry picked from commit 2fd928c)

Co-authored-by: sblondon <sblondon@users.noreply.github.com>
@bedevere-bot
Copy link

GH-25755 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit that referenced this pull request Apr 30, 2021
GH-25755)

…eption (GH-23872)

Links for 'raise Exception from x' target to 'The raise statement' (7.8) section instead of 'The import statement' (7.11) section.

There are more modified links than in the bug report because I searched some other ones which can get the same improvement..
(cherry picked from commit 2fd928c)

This PR is a cherry pick to python 3.8 from #23872. The fix was the removal of the change in the other file because the fixed section was introduced in 3.9. So the file does not need to be fixed in 3.8.


Co-authored-by: sblondon <sblondon@users.noreply.github.com>

Automerge-Triggered-By: GH:Mariatta
@sblondon sblondon deleted the change_links_of_from_keyword_to_raise branch April 30, 2021 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news stale Stale PR or inactive for long period of time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants