[issue42589] doc: Wrong "from" keyword link in Exceptions doc
New submission from Irit Katriel <iritkatriel@yahoo.com>: In the Exceptions doc: https://docs.python.org/3/library/exceptions.html#built-in-exceptions In the sentence "The expression following from must be an exception or None." "from" is a keyword which links to https://docs.python.org/3/reference/simple_stmts.html#from But that is related to the from in "from X import Y" rather than "raise X from Y". ---------- assignee: docs@python components: Documentation messages: 382649 nosy: docs@python, iritkatriel priority: normal severity: normal status: open title: doc: Wrong "from" keyword link in Exceptions doc type: behavior versions: Python 3.10, Python 3.8, Python 3.9 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42589> _______________________________________
Change by Stéphane Blondon <stephane.blondon@gmail.com>: ---------- keywords: +patch nosy: +sblondon nosy_count: 2.0 -> 3.0 pull_requests: +22734 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23872 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42589> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: New changeset 2fd928c8c1328424130cb9c51fc02ad5f9a66328 by sblondon in branch 'master': bpo-42589: Change URL for 'from' link when used in a raised exception (GH-23872) https://github.com/python/cpython/commit/2fd928c8c1328424130cb9c51fc02ad5f9a... ---------- nosy: +miss-islington _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42589> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +24421 pull_request: https://github.com/python/cpython/pull/25730 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42589> _______________________________________
Mariatta <mariatta@python.org> added the comment: Thanks for the PR. There is conflict with applying it to the 3.8 branch. If you can get to it, it would be great. Thanks. ---------- nosy: +Mariatta stage: patch review -> backport needed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42589> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: New changeset 3eaa6f9d185f2a2c66d98a77d3ea3f407bc96d0e by Miss Islington (bot) in branch '3.9': bpo-42589: Change URL for 'from' link when used in a raised exception (GH-23872) https://github.com/python/cpython/commit/3eaa6f9d185f2a2c66d98a77d3ea3f407bc... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42589> _______________________________________
Change by Stéphane Blondon <stephane.blondon@gmail.com>: ---------- pull_requests: +24445 stage: backport needed -> patch review pull_request: https://github.com/python/cpython/pull/25755 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42589> _______________________________________
Mariatta <mariatta@python.org> added the comment: Thanks for the work! ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42589> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: New changeset ea6ec96c379a77ae827e844d840a9fd773781124 by sblondon in branch '3.8': [3.8] bpo-42589: Change URL for 'from' link when used in a raised exc… (GH-25755) https://github.com/python/cpython/commit/ea6ec96c379a77ae827e844d840a9fd7737... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42589> _______________________________________
participants (4)
-
Irit Katriel
-
Mariatta
-
miss-islington
-
Stéphane Blondon