From fc3e46736084a6d1f1aabd19e9ad1be5e8b22b31 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:13:56 +0200 Subject: [PATCH 1/2] PEP 421: Fix Sphinx reference warnings --- peps/pep-0421.rst | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/peps/pep-0421.rst b/peps/pep-0421.rst index 1f5a410ed3d..6a7dd658c70 100644 --- a/peps/pep-0421.rst +++ b/peps/pep-0421.rst @@ -1,12 +1,9 @@ PEP: 421 Title: Adding sys.implementation -Version: $Revision$ -Last-Modified: $Date$ Author: Eric Snow BDFL-Delegate: Barry Warsaw Status: Final Type: Standards Track -Content-Type: text/x-rst Created: 26-Apr-2012 Python-Version: 3.3 Post-History: 26-Apr-2012 @@ -466,15 +463,9 @@ References .. [#ironpython] Feedback from the IronPython developers: https://mail.python.org/pipermail/ironpython-users/2012-May/015980.html -.. [#dino_viehland_2009] (2009) Dino Viehland offers his opinion: - https://mail.python.org/pipermail/python-dev/2009-October/092894.html - .. [#jeff_hardy_2012] (2012) Jeff Hardy offers his opinion: https://mail.python.org/pipermail/ironpython-users/2012-May/015981.html -.. [#jython] Feedback from the Jython developers: - ??? - .. [#frank_wierzbicki_2009] (2009) Frank Wierzbicki offers his opinion: https://mail.python.org/pipermail/python-dev/2009-October/092974.html @@ -487,15 +478,6 @@ References .. [#guess] The ``platform`` code which divines the implementation name: http://hg.python.org/cpython/file/2f563908ebc5/Lib/platform.py#l1247 -.. [#tag_impl] The original implementation of the cache tag in CPython: - http://hg.python.org/cpython/file/2f563908ebc5/Python/import.c#l121 - -.. [#tests] Examples of implementation-specific handling in test.support: - * http://hg.python.org/cpython/file/2f563908ebc5/Lib/test/support.py#l509 - * http://hg.python.org/cpython/file/2f563908ebc5/Lib/test/support.py#l1246 - * http://hg.python.org/cpython/file/2f563908ebc5/Lib/test/support.py#l1252 - * http://hg.python.org/cpython/file/2f563908ebc5/Lib/test/support.py#l1275 - .. [#os_name] The standard library entry for os.name: http://docs.python.org/3.3/library/os.html#os.name @@ -519,14 +501,3 @@ Copyright ========= This document has been placed in the public domain. - - - -.. - Local Variables: - mode: indented-text - indent-tabs-mode: nil - sentence-end-double-space: t - fill-column: 70 - coding: utf-8 - End: From b03a50a3e12153a7d527f69fb21d4aa7880d3d0e Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 6 Dec 2024 18:51:04 +0200 Subject: [PATCH 2/2] PEP 421: Retain as bullet points --- peps/pep-0421.rst | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/peps/pep-0421.rst b/peps/pep-0421.rst index 6a7dd658c70..86f66e1d6a4 100644 --- a/peps/pep-0421.rst +++ b/peps/pep-0421.rst @@ -463,6 +463,9 @@ References .. [#ironpython] Feedback from the IronPython developers: https://mail.python.org/pipermail/ironpython-users/2012-May/015980.html +* (2009) Dino Viehland offers his opinion: + https://mail.python.org/pipermail/python-dev/2009-October/092894.html + .. [#jeff_hardy_2012] (2012) Jeff Hardy offers his opinion: https://mail.python.org/pipermail/ironpython-users/2012-May/015981.html @@ -476,13 +479,23 @@ References https://mail.python.org/pipermail/pypy-dev/2012-May/009884.html .. [#guess] The ``platform`` code which divines the implementation name: - http://hg.python.org/cpython/file/2f563908ebc5/Lib/platform.py#l1247 + https://hg.python.org/cpython/file/2f563908ebc5/Lib/platform.py#l1247 + +* The original implementation of the cache tag in CPython: + https://hg.python.org/cpython/file/2f563908ebc5/Python/import.c#l121 + +* Examples of implementation-specific handling in test.support: + + * https://hg.python.org/cpython/file/2f563908ebc5/Lib/test/support.py#l509 + * https://hg.python.org/cpython/file/2f563908ebc5/Lib/test/support.py#l1246 + * https://hg.python.org/cpython/file/2f563908ebc5/Lib/test/support.py#l1252 + * https://hg.python.org/cpython/file/2f563908ebc5/Lib/test/support.py#l1275 .. [#os_name] The standard library entry for os.name: http://docs.python.org/3.3/library/os.html#os.name .. [#javatest] The use of ``os.name`` as 'java' in the stdlib test suite. - http://hg.python.org/cpython/file/2f563908ebc5/Lib/test/support.py#l512 + https://hg.python.org/cpython/file/2f563908ebc5/Lib/test/support.py#l512 .. [#Alyssa] Alyssa (Nick) Coghlan's proposal for ``sys.implementation.metadata``: https://mail.python.org/pipermail/python-ideas/2012-May/014984.html @@ -492,9 +505,9 @@ References .. _issue #14673: http://bugs.python.org/issue14673 -.. _Lib/test/support.py: http://hg.python.org/cpython/file/2f563908ebc5/Lib/test/support.py +.. _Lib/test/support.py: https://hg.python.org/cpython/file/2f563908ebc5/Lib/test/support.py -.. _Python/import.c: http://hg.python.org/cpython/file/2f563908ebc5/Python/import.c +.. _Python/import.c: https://hg.python.org/cpython/file/2f563908ebc5/Python/import.c Copyright