[Python-checkins] [3.10] Update Sphinx bpo role to use redirect URI. (#91890)

ezio-melotti webhook-mailer at python.org
Sun Apr 24 17:07:55 EDT 2022


https://github.com/python/cpython/commit/dc31334ab1b43225b65358fa361b46c22918b400
commit: dc31334ab1b43225b65358fa361b46c22918b400
branch: 3.10
author: Ezio Melotti <ezio.melotti at gmail.com>
committer: ezio-melotti <ezio.melotti at gmail.com>
date: 2022-04-24T23:07:51+02:00
summary:

[3.10] Update Sphinx bpo role to use redirect URI. (#91890)

* Update Sphinx bpo role to use redirect URI. (GH-32342)

* [3.10] Update Sphinx bpo role to use redirect URI. (GH-32342).
(cherry picked from commit 08cfe079503ffd19d8b7ab324f0fdb1c6b150ca8)

Co-authored-by: Ezio Melotti <ezio.melotti at gmail.com>

* Fix whitespace.

files:
M Doc/tools/extensions/pyspecific.py

diff --git a/Doc/tools/extensions/pyspecific.py b/Doc/tools/extensions/pyspecific.py
index 7f505a1ede89a..cce364c0e6245 100644
--- a/Doc/tools/extensions/pyspecific.py
+++ b/Doc/tools/extensions/pyspecific.py
@@ -43,7 +43,7 @@
 import suspicious
 
 
-ISSUE_URI = 'https://bugs.python.org/issue%s'
+ISSUE_URI = 'https://bugs.python.org/issue?@action=redirect&bpo=%s'
 SOURCE_URI = 'https://github.com/python/cpython/tree/3.10/%s'
 
 # monkey-patch reST parser to disable alphabetic and roman enumerated lists



More information about the Python-checkins mailing list