From 419fbfebe6db0aaf12ea86677368cb3ef50ed8bc Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Wed, 2 Mar 2022 00:40:24 +0000 Subject: [PATCH 01/13] PRS: Update Post-History processing for inline links --- .../pep_processor/transforms/pep_headers.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py b/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py index e7e4bfd2193..410cfbbdf9e 100644 --- a/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py +++ b/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py @@ -92,6 +92,8 @@ def apply(self) -> None: elif name in {"last-modified", "content-type", "version"}: # Mark unneeded fields fields_to_remove.append(field) + elif name in {"post-history"}: + body[0][:] = _process_post_history(body) # Remove unneeded fields for field in fields_to_remove: @@ -115,3 +117,24 @@ def _pretty_thread(text: nodes.Text) -> nodes.Text: except ValueError: # archives and pipermail not in list, e.g. PEP 245 return text + + +def _process_post_history(body: nodes.field_body) -> list[nodes.Text | nodes.reference]: + new_nodes = [] + for pair in body.astext().split(","): + pair = pair.strip() + try: + # if Post-History has no links, ``pair.split(maxsplit=1)`` + # will raise ValueError + date, uri = pair.split(maxsplit=1) + node = nodes.reference("", + date.strip(), + refuri=uri.strip(" \f\n\r\t><"), + internal=False + ) + except ValueError: + node = nodes.Text(pair) + + new_nodes += [node, nodes.Text(", ")] + + return new_nodes[:-1] # remove final ', ' From bb0368a11a4921c826a55113ee93abeb02e74afc Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Wed, 2 Mar 2022 12:03:01 +0000 Subject: [PATCH 02/13] PRS: Update implementation --- .../pep_processor/transforms/pep_headers.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py b/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py index 410cfbbdf9e..7895af87f2f 100644 --- a/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py +++ b/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from pathlib import Path import re @@ -92,7 +94,7 @@ def apply(self) -> None: elif name in {"last-modified", "content-type", "version"}: # Mark unneeded fields fields_to_remove.append(field) - elif name in {"post-history"}: + elif name == "post-history": body[0][:] = _process_post_history(body) # Remove unneeded fields @@ -129,8 +131,8 @@ def _process_post_history(body: nodes.field_body) -> list[nodes.Text | nodes.ref date, uri = pair.split(maxsplit=1) node = nodes.reference("", date.strip(), - refuri=uri.strip(" \f\n\r\t><"), - internal=False + refuri=uri.strip(" \n\r\t><"), + internal=False, ) except ValueError: node = nodes.Text(pair) From ec9a9f5f2cfd222b74427bdcea7d8fa18572cc30 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Wed, 2 Mar 2022 12:34:32 +0000 Subject: [PATCH 03/13] pep2html: New Post-History handling --- pep2html.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pep2html.py b/pep2html.py index ba0ec100ba9..5f2f565a90f 100755 --- a/pep2html.py +++ b/pep2html.py @@ -493,6 +493,25 @@ def apply(self): para[:] = [nodes.reference('', pep_type, refuri=uri)] elif name == 'version' and len(body): utils.clean_rcs_keywords(para, self.rcs_keyword_substitutions) + elif name == 'post-history': + new_nodes = [] + for pair in body.astext().split(","): + pair = pair.strip() + try: + # if Post-History has no links, ``pair.split(maxsplit=1)`` + # will raise ValueError + date, uri = pair.split(maxsplit=1) + node = nodes.reference("", + date.strip(), + refuri=uri.strip(" \n\r\t><"), + internal=False, + ) + except ValueError: + node = nodes.Text(pair) + + new_nodes += [node, nodes.Text(", ")] + + body[0][:] = new_nodes[:-1] # remove final ', ' class PEPFooter(Transform): From f28fb663f24c3ccdf97dd12c17ac26a00750f0af Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Wed, 2 Mar 2022 12:04:15 +0000 Subject: [PATCH 04/13] Several PEPs: Fix Post-History with extra information --- pep-0367.txt | 5 ++++- pep-0538.txt | 8 ++++---- pep-0551.rst | 2 +- pep-0648.rst | 2 +- pep-3135.txt | 6 +++++- pep-3153.txt | 2 +- 6 files changed, 16 insertions(+), 9 deletions(-) diff --git a/pep-0367.txt b/pep-0367.txt index a70e59f72cb..c926222dca7 100644 --- a/pep-0367.txt +++ b/pep-0367.txt @@ -9,7 +9,10 @@ Type: Standards Track Content-Type: text/x-rst Created: 28-Apr-2007 Python-Version: 2.6 -Post-History: 28-Apr-2007, 29-Apr-2007 (1), 29-Apr-2007 (2), 14-May-2007 +Post-History: 28-Apr-2007 , + 29-Apr-2007 , + 29-Apr-2007 , + 14-May-2007 Numbering Note ============== diff --git a/pep-0538.txt b/pep-0538.txt index 687bc4618d4..13d51b20836 100644 --- a/pep-0538.txt +++ b/pep-0538.txt @@ -9,10 +9,10 @@ Type: Standards Track Content-Type: text/x-rst Created: 28-Dec-2016 Python-Version: 3.7 -Post-History: 03-Jan-2017 (linux-sig), - 07-Jan-2017 (python-ideas), - 05-Mar-2017 (python-dev), - 09-May-2017 (python-dev) +Post-History: 03-Jan-2017, + 07-Jan-2017, + 05-Mar-2017, + 09-May-2017 Resolution: https://mail.python.org/pipermail/python-dev/2017-May/148035.html Abstract diff --git a/pep-0551.rst b/pep-0551.rst index 616eec36327..1f800beb679 100644 --- a/pep-0551.rst +++ b/pep-0551.rst @@ -8,7 +8,7 @@ Type: Informational Content-Type: text/x-rst Created: 23-Aug-2017 Python-Version: 3.7 -Post-History: 24-Aug-2017 (security-sig), 28-Aug-2017 (python-dev) +Post-History: 24-Aug-2017, 28-Aug-2017 .. note:: This PEP has been withdrawn. For information about integrated diff --git a/pep-0648.rst b/pep-0648.rst index 4a646213463..446ca7017ca 100644 --- a/pep-0648.rst +++ b/pep-0648.rst @@ -9,7 +9,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 30-Dec-2020 Python-Version: 3.11 -Post-History: python-ideas: 16th Dec. python-dev: 18th Dec. +Post-History: 16-Dec-2020, 18-Dec-2020 Abstract ======== diff --git a/pep-3135.txt b/pep-3135.txt index 647946150c0..d8be80452fc 100644 --- a/pep-3135.txt +++ b/pep-3135.txt @@ -10,7 +10,11 @@ Type: Standards Track Content-Type: text/x-rst Created: 28-Apr-2007 Python-Version: 3.0 -Post-History: 28-Apr-2007, 29-Apr-2007 (1), 29-Apr-2007 (2), 14-May-2007, 12-Mar-2009 +Post-History: 28-Apr-2007 , + 29-Apr-2007 , + 29-Apr-2007 , + 14-May-2007 , + 12-Mar-2009 Numbering Note ============== diff --git a/pep-3153.txt b/pep-3153.txt index bc7ba4b05b9..8256b066432 100644 --- a/pep-3153.txt +++ b/pep-3153.txt @@ -7,7 +7,7 @@ Status: Superseded Type: Standards Track Content-Type: text/x-rst Created: 29-May-2011 -Post-History: TBD +Post-History: Superseded-By: 3156 Abstract From 0bcfac4031082a3e108fe7deb838afcd68f8c064 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Wed, 2 Mar 2022 12:22:14 +0000 Subject: [PATCH 05/13] Several PEPs: Fix Post-History with bare hyperlinks --- pep-0424.txt | 2 +- pep-0428.txt | 2 +- pep-3154.txt | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pep-0424.txt b/pep-0424.txt index 2e32446132f..e1375eb49a9 100644 --- a/pep-0424.txt +++ b/pep-0424.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 14-Jul-2012 Python-Version: 3.4 -Post-History: https://mail.python.org/pipermail/python-dev/2012-July/120920.html +Post-History: 15-Jul-2012 Abstract ======== diff --git a/pep-0428.txt b/pep-0428.txt index e8a738fd5e0..d0b2ebc4c46 100644 --- a/pep-0428.txt +++ b/pep-0428.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 30-Jul-2012 Python-Version: 3.4 -Post-History: https://mail.python.org/pipermail/python-ideas/2012-October/016338.html +Post-History: 05-Oct-2012 Resolution: https://mail.python.org/pipermail/python-dev/2013-November/130424.html diff --git a/pep-3154.txt b/pep-3154.txt index c3ec5579168..55ef2cc394b 100644 --- a/pep-3154.txt +++ b/pep-3154.txt @@ -8,8 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 11-Aug-2011 Python-Version: 3.4 -Post-History: - https://mail.python.org/pipermail/python-dev/2011-August/112821.html +Post-History: 12-Aug-2011 Resolution: https://mail.python.org/pipermail/python-dev/2013-November/130439.html From 494d0e9155459598d2ee9cc3eed02273b1ab69b3 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Wed, 2 Mar 2022 12:04:57 +0000 Subject: [PATCH 06/13] Several PEPs: Fix Post-History syntax errors --- pep-0006.txt | 2 +- pep-0011.txt | 4 ++-- pep-0311.txt | 2 +- pep-0374.txt | 2 +- pep-0426.txt | 6 +++--- pep-0434.txt | 6 +++--- pep-0440.txt | 6 +++--- pep-0459.txt | 2 +- pep-0467.txt | 3 ++- pep-0488.txt | 6 +++--- pep-0517.txt | 2 +- pep-0576.rst | 8 ++++---- pep-0601.txt | 2 +- pep-0656.rst | 2 +- 14 files changed, 27 insertions(+), 26 deletions(-) diff --git a/pep-0006.txt b/pep-0006.txt index 8a67e530fcc..6a1f64e5d82 100644 --- a/pep-0006.txt +++ b/pep-0006.txt @@ -7,7 +7,7 @@ Status: Active Type: Process Content-Type: text/x-rst Created: 15-Mar-2001 -Post-History: 15-Mar-2001 18-Apr-2001 19-Aug-2004 +Post-History: 15-Mar-2001, 18-Apr-2001, 19-Aug-2004 diff --git a/pep-0011.txt b/pep-0011.txt index b867018c80c..388ec689460 100644 --- a/pep-0011.txt +++ b/pep-0011.txt @@ -8,8 +8,8 @@ Status: Active Type: Process Content-Type: text/x-rst Created: 07-Jul-2002 -Post-History: 18-Aug-2007 - 16-May-2014 +Post-History: 18-Aug-2007, + 16-May-2014, 20-Feb-2015 diff --git a/pep-0311.txt b/pep-0311.txt index 0ff6cff2881..546719506f1 100644 --- a/pep-0311.txt +++ b/pep-0311.txt @@ -7,7 +7,7 @@ Status: Final Type: Standards Track Content-Type: text/x-rst Created: 05-Feb-2003 -Post-History: 05-Feb-2003 14-Feb-2003 19-Apr-2003 +Post-History: 05-Feb-2003, 14-Feb-2003, 19-Apr-2003 Abstract diff --git a/pep-0374.txt b/pep-0374.txt index 6ee1c1ca5b6..f6228d8572b 100644 --- a/pep-0374.txt +++ b/pep-0374.txt @@ -11,7 +11,7 @@ Status: Final Type: Process Content-Type: text/x-rst Created: 07-Nov-2008 -Post-History: 07-Nov-2008 +Post-History: 07-Nov-2008, 22-Jan-2009 diff --git a/pep-0426.txt b/pep-0426.txt index 5715072441b..7e09f7bee4f 100644 --- a/pep-0426.txt +++ b/pep-0426.txt @@ -12,9 +12,9 @@ Type: Informational Content-Type: text/x-rst Requires: 440, 508, 518 Created: 30-Aug-2012 -Post-History: 14 Nov 2012, 5 Feb 2013, 7 Feb 2013, 9 Feb 2013, - 27 May 2013, 20 Jun 2013, 23 Jun 2013, 14 Jul 2013, - 21 Dec 2013 +Post-History: 14-Nov-2012, 05-Feb-2013, 07-Feb-2013, 09-Feb-2013, + 27-May-2013, 20-Jun-2013, 23-Jun-2013, 14-Jul-2013, + 21-Dec-2013 Replaces: 345 diff --git a/pep-0434.txt b/pep-0434.txt index 02f95de8da1..b754d2a4849 100644 --- a/pep-0434.txt +++ b/pep-0434.txt @@ -9,9 +9,9 @@ Status: Active Type: Informational Content-Type: text/x-rst Created: 16-Feb-2013 -Post-History: 16-Feb-2013 - 03-Mar-2013 - 21-Mar-2013 +Post-History: 16-Feb-2013, + 03-Mar-2013, + 21-Mar-2013, 30-Mar-2013 Resolution: https://mail.python.org/pipermail/python-dev/2013-March/125003.html diff --git a/pep-0440.txt b/pep-0440.txt index d887ea00534..6d760034b8f 100644 --- a/pep-0440.txt +++ b/pep-0440.txt @@ -10,9 +10,9 @@ Status: Active Type: Informational Content-Type: text/x-rst Created: 18-Mar-2013 -Post-History: 30 Mar 2013, 27 May 2013, 20 Jun 2013, - 21 Dec 2013, 28 Jan 2014, 08 Aug 2014 - 22 Aug 2014 +Post-History: 30-Mar-2013, 27-May-2013, 20-Jun-2013, + 21-Dec-2013, 28-Jan-2014, 08-Aug-2014, + 22-Aug-2014 Replaces: 386 Resolution: https://mail.python.org/pipermail/distutils-sig/2014-August/024673.html diff --git a/pep-0459.txt b/pep-0459.txt index 904c88d1d0a..a35a84201ab 100644 --- a/pep-0459.txt +++ b/pep-0459.txt @@ -10,7 +10,7 @@ Type: Standards Track Content-Type: text/x-rst Requires: 426 Created: 11-Nov-2013 -Post-History: 21 Dec 2013 +Post-History: 21-Dec-2013 PEP Withdrawal diff --git a/pep-0467.txt b/pep-0467.txt index bdac798637c..9964a3d55c0 100644 --- a/pep-0467.txt +++ b/pep-0467.txt @@ -8,7 +8,8 @@ Type: Standards Track Content-Type: text/x-rst Created: 30-Mar-2014 Python-Version: 3.11 -Post-History: 2014-03-30 2014-08-15 2014-08-16 2016-06-07 2016-09-01 2021-04-13 2021-11-03 +Post-History: 30-Mar-2014, 15-Aug-2014, 16-Aug-2014, 07-Jun-2016, 01-Sep-2016, + 13-Apr-2021, 03-Nov-2021 Abstract diff --git a/pep-0488.txt b/pep-0488.txt index 022a87e2be7..22b48f4fd2c 100644 --- a/pep-0488.txt +++ b/pep-0488.txt @@ -9,9 +9,9 @@ Content-Type: text/x-rst Created: 20-Feb-2015 Python-Version: 3.5 Post-History: - 2015-03-06 - 2015-03-13 - 2015-03-20 + 06-Mar-2015, + 13-Mar-2015, + 20-Mar-2015 Abstract ======== diff --git a/pep-0517.txt b/pep-0517.txt index f84b8c2d523..89b791ce14b 100644 --- a/pep-0517.txt +++ b/pep-0517.txt @@ -10,7 +10,7 @@ Status: Final Type: Standards Track Content-Type: text/x-rst Created: 30-Sep-2015 -Post-History: 1 Oct 2015, 25 Oct 2015, 19 May 2017, 11 Sep 2017 +Post-History: 01-Oct-2015, 25-Oct-2015, 19-May-2017, 11-Sep-2017 Resolution: https://mail.python.org/pipermail/distutils-sig/2017-September/031548.html ========== diff --git a/pep-0576.rst b/pep-0576.rst index 9088bc8a4e2..6ea831506fc 100644 --- a/pep-0576.rst +++ b/pep-0576.rst @@ -7,10 +7,10 @@ Type: Standards Track Content-Type: text/x-rst Created: 10-May-2018 Python-Version: 3.8 -Post-History: 17-May-2018 - 23-June-2018 - 08-July-2018 - 29-Mar-1028 +Post-History: 17-May-2018, + 23-Jun-2018, + 08-Jul-2018, + 29-Mar-2019 Abstract ======== diff --git a/pep-0601.txt b/pep-0601.txt index ffabd2046e0..d0046a6c0be 100644 --- a/pep-0601.txt +++ b/pep-0601.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 26-Aug-2019 Python-Version: 3.8 -Post-History: 26-Aug-2019 23-Sep-2019 +Post-History: 26-Aug-2019, 23-Sep-2019 Resolution: https://discuss.python.org/t/pep-601-forbid-return-break-continue-breaking-out-of-finally/2239/32 Rejection Note diff --git a/pep-0656.rst b/pep-0656.rst index 06d10c4f5b9..8ae839b8d40 100644 --- a/pep-0656.rst +++ b/pep-0656.rst @@ -8,7 +8,7 @@ Status: Accepted Type: Informational Content-Type: text/x-rst Created: 17-Mar-2021 -Post-History: 17-Mar-2021 18-Apr-2021 +Post-History: 17-Mar-2021, 18-Apr-2021 Resolution: https://discuss.python.org/t/7165/32 From fbca3e5effeba57e7af265adb05b1ecf62817c34 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Wed, 2 Mar 2022 12:05:22 +0000 Subject: [PATCH 07/13] Several PEPs: Fix Post-History dates --- pep-0235.txt | 2 +- pep-0285.txt | 2 +- pep-0298.txt | 2 +- pep-0301.txt | 2 +- pep-0307.txt | 2 +- pep-0308.txt | 2 +- pep-0318.txt | 2 +- pep-0320.txt | 2 +- pep-0328.txt | 2 +- pep-0338.txt | 2 +- pep-0343.txt | 3 ++- pep-0366.txt | 2 +- pep-0395.txt | 2 +- pep-0396.txt | 2 +- pep-0397.txt | 2 +- pep-0403.txt | 2 +- pep-0406.txt | 2 +- pep-0408.txt | 2 +- pep-0411.txt | 2 +- pep-0413.txt | 2 +- pep-0421.txt | 2 +- pep-0422.txt | 2 +- pep-0425.txt | 2 +- pep-0432.txt | 2 +- pep-0435.txt | 2 +- pep-0441.txt | 2 +- pep-0442.txt | 2 +- pep-0447.txt | 2 +- pep-0451.txt | 2 +- pep-0461.txt | 4 ++-- pep-0468.txt | 2 +- pep-0469.txt | 2 +- pep-0471.txt | 2 +- pep-0477.txt | 2 +- pep-0479.txt | 2 +- pep-0487.txt | 2 +- pep-0489.txt | 2 +- pep-0520.txt | 2 +- pep-0532.txt | 2 +- pep-0549.rst | 2 +- pep-0552.rst | 2 +- pep-0553.rst | 2 +- pep-0556.rst | 2 +- pep-0558.rst | 3 ++- pep-0563.rst | 2 +- pep-0575.rst | 2 +- pep-0578.rst | 2 +- pep-0581.rst | 2 +- pep-0599.rst | 2 +- pep-0600.rst | 2 +- pep-0605.rst | 2 +- pep-0615.rst | 2 +- pep-0622.rst | 2 +- pep-0633.rst | 2 +- pep-0641.rst | 2 +- pep-0642.rst | 2 +- pep-0647.rst | 2 +- pep-0650.rst | 2 +- pep-0666.txt | 2 +- pep-0669.rst | 2 +- pep-0678.rst | 2 +- pep-3101.txt | 2 +- pep-3102.txt | 2 +- pep-3115.txt | 2 +- pep-3129.txt | 2 +- pep-3147.txt | 2 +- pep-3149.txt | 2 +- pep-3150.txt | 2 +- 68 files changed, 71 insertions(+), 69 deletions(-) diff --git a/pep-0235.txt b/pep-0235.txt index 41b96a71817..f152caa9cf3 100644 --- a/pep-0235.txt +++ b/pep-0235.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 21-Feb-2001 Python-Version: 2.1 -Post-History: 16 February 2001 +Post-History: 16-Feb-2001 Note diff --git a/pep-0285.txt b/pep-0285.txt index d271305c606..8d76c7123c8 100644 --- a/pep-0285.txt +++ b/pep-0285.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 08-Mar-2002 Python-Version: 2.3 -Post-History: 8-Mar-2002, 30-Mar-2002, 3-Apr-2002 +Post-History: 08-Mar-2002, 30-Mar-2002, 03-Apr-2002 Abstract diff --git a/pep-0298.txt b/pep-0298.txt index a62eb6212fd..0414fcb1426 100644 --- a/pep-0298.txt +++ b/pep-0298.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 26-Jul-2002 Python-Version: 2.3 -Post-History: 30-Jul-2002, 1-Aug-2002 +Post-History: 30-Jul-2002, 01-Aug-2002 Abstract diff --git a/pep-0301.txt b/pep-0301.txt index 71e2eabbc75..f09f64b2823 100644 --- a/pep-0301.txt +++ b/pep-0301.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 24-Oct-2002 Python-Version: 2.3 -Post-History: 8-Nov-2002 +Post-History: 08-Nov-2002 Abstract diff --git a/pep-0307.txt b/pep-0307.txt index 9e552266d15..8b6ddcc2e57 100644 --- a/pep-0307.txt +++ b/pep-0307.txt @@ -7,7 +7,7 @@ Status: Final Type: Standards Track Content-Type: text/x-rst Created: 31-Jan-2003 -Post-History: 7-Feb-2003 +Post-History: 07-Feb-2003 Introduction ============ diff --git a/pep-0308.txt b/pep-0308.txt index 940bf3c35fd..3f82e7e3aca 100644 --- a/pep-0308.txt +++ b/pep-0308.txt @@ -7,7 +7,7 @@ Status: Final Type: Standards Track Content-Type: text/x-rst Created: 07-Feb-2003 -Post-History: 7-Feb-2003, 11-Feb-2003 +Post-History: 07-Feb-2003, 11-Feb-2003 Adding a conditional expression diff --git a/pep-0318.txt b/pep-0318.txt index 056b1e1f471..276a9c37aa4 100644 --- a/pep-0318.txt +++ b/pep-0318.txt @@ -9,7 +9,7 @@ Content-Type: text/x-rst Created: 05-Jun-2003 Python-Version: 2.4 Post-History: 09-Jun-2003, 10-Jun-2003, 27-Feb-2004, 23-Mar-2004, 30-Aug-2004, - 2-Sep-2004 + 02-Sep-2004 WarningWarningWarning diff --git a/pep-0320.txt b/pep-0320.txt index 82b3be73f4f..76de30c7e62 100644 --- a/pep-0320.txt +++ b/pep-0320.txt @@ -8,7 +8,7 @@ Type: Informational Content-Type: text/x-rst Created: 29-Jul-2003 Python-Version: 2.4 -Post-History: 1-Dec-2004 +Post-History: 01-Dec-2004 Abstract diff --git a/pep-0328.txt b/pep-0328.txt index cc3378ef35c..c2d4d28ab07 100644 --- a/pep-0328.txt +++ b/pep-0328.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 21-Dec-2003 Python-Version: 2.4, 2.5, 2.6 -Post-History: 8-Mar-2004 +Post-History: 08-Mar-2004 Abstract diff --git a/pep-0338.txt b/pep-0338.txt index 82341da1a42..81a665541de 100644 --- a/pep-0338.txt +++ b/pep-0338.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 16-Oct-2004 Python-Version: 2.5 -Post-History: 8-Nov-2004, 11-Feb-2006, 12-Feb-2006, 18-Feb-2006 +Post-History: 08-Nov-2004, 11-Feb-2006, 12-Feb-2006, 18-Feb-2006 Abstract diff --git a/pep-0343.txt b/pep-0343.txt index d7a35652708..a4047285af1 100644 --- a/pep-0343.txt +++ b/pep-0343.txt @@ -8,7 +8,8 @@ Type: Standards Track Content-Type: text/x-rst Created: 13-May-2005 Python-Version: 2.5 -Post-History: 2-Jun-2005, 16-Oct-2005, 29-Oct-2005, 23-Apr-2006, 1-May-2006, 30-Jul-2006 +Post-History: 02-Jun-2005, 16-Oct-2005, 29-Oct-2005, 23-Apr-2006, 01-May-2006, + 30-Jul-2006 Abstract ======== diff --git a/pep-0366.txt b/pep-0366.txt index f0c3156a3cd..9cb36ebd77f 100644 --- a/pep-0366.txt +++ b/pep-0366.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 01-May-2007 Python-Version: 2.6, 3.0 -Post-History: 1-May-2007, 4-Jul-2007, 7-Jul-2007, 23-Nov-2007 +Post-History: 01-May-2007, 04-Jul-2007, 07-Jul-2007, 23-Nov-2007 Abstract diff --git a/pep-0395.txt b/pep-0395.txt index 5466ae4ba99..f35a2658e66 100644 --- a/pep-0395.txt +++ b/pep-0395.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 04-Mar-2011 Python-Version: 3.4 -Post-History: 5-Mar-2011, 19-Nov-2011 +Post-History: 05-Mar-2011, 19-Nov-2011 PEP Withdrawal diff --git a/pep-0396.txt b/pep-0396.txt index 3ee9ce371c4..f30cf033a85 100644 --- a/pep-0396.txt +++ b/pep-0396.txt @@ -7,7 +7,7 @@ Status: Rejected Type: Informational Content-Type: text/x-rst Created: 16-Mar-2011 -Post-History: 2011-04-05 +Post-History: 05-Apr-2011 Abstract diff --git a/pep-0397.txt b/pep-0397.txt index 57b07422806..3972e92dbc5 100644 --- a/pep-0397.txt +++ b/pep-0397.txt @@ -8,7 +8,7 @@ Status: Final Type: Standards Track Content-Type: text/x-rst Created: 15-Mar-2011 -Post-History: 21-July-2011, 17-May-2011, 15-Mar-2011 +Post-History: 21-Jul-2011, 17-May-2011, 15-Mar-2011 Resolution: https://mail.python.org/pipermail/python-dev/2012-June/120505.html Abstract diff --git a/pep-0403.txt b/pep-0403.txt index a1cade77627..e91f00bb00c 100644 --- a/pep-0403.txt +++ b/pep-0403.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 13-Oct-2011 Python-Version: 3.4 -Post-History: 2011-10-13 +Post-History: 13-Oct-2011 Abstract diff --git a/pep-0406.txt b/pep-0406.txt index b3164dce227..c290980b3e3 100644 --- a/pep-0406.txt +++ b/pep-0406.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 04-Jul-2011 Python-Version: 3.4 -Post-History: 31-Jul-2011, 13-Nov-2011, 4-Dec-2011 +Post-History: 31-Jul-2011, 13-Nov-2011, 04-Dec-2011 Abstract ======== diff --git a/pep-0408.txt b/pep-0408.txt index b568f10415a..bc34c01390a 100644 --- a/pep-0408.txt +++ b/pep-0408.txt @@ -9,7 +9,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 07-Jan-2012 Python-Version: 3.3 -Post-History: 2012-01-27 +Post-History: 27-Jan-2012 Resolution: https://mail.python.org/pipermail/python-dev/2012-January/115962.html diff --git a/pep-0411.txt b/pep-0411.txt index 80c46fd1283..77ef98f1921 100644 --- a/pep-0411.txt +++ b/pep-0411.txt @@ -9,7 +9,7 @@ Type: Informational Content-Type: text/x-rst Created: 10-Feb-2012 Python-Version: 3.3 -Post-History: 2012-02-10, 2012-03-24 +Post-History: 10-Feb-2012, 24-Mar-2012 Abstract diff --git a/pep-0413.txt b/pep-0413.txt index 11f1104d76f..d1a45ccc6d1 100644 --- a/pep-0413.txt +++ b/pep-0413.txt @@ -7,7 +7,7 @@ Status: Withdrawn Type: Process Content-Type: text/x-rst Created: 24-Feb-2012 -Post-History: 2012-02-24, 2012-02-25 +Post-History: 24-Feb-2012, 25-Feb-2012 PEP Withdrawal diff --git a/pep-0421.txt b/pep-0421.txt index 0904fed48dd..d3f498d966d 100644 --- a/pep-0421.txt +++ b/pep-0421.txt @@ -8,7 +8,7 @@ Status: Final Type: Standards Track Content-Type: text/x-rst Created: 26-Apr-2012 -Post-History: 26-April-2012 +Post-History: 26-Apr-2012 Resolution: https://mail.python.org/pipermail/python-dev/2012-May/119683.html diff --git a/pep-0422.txt b/pep-0422.txt index 71e76ca2c13..655dc78e888 100644 --- a/pep-0422.txt +++ b/pep-0422.txt @@ -9,7 +9,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 05-Jun-2012 Python-Version: 3.5 -Post-History: 5-Jun-2012, 10-Feb-2013 +Post-History: 05-Jun-2012, 10-Feb-2013 Abstract diff --git a/pep-0425.txt b/pep-0425.txt index 22387cc8e99..29bf97da547 100644 --- a/pep-0425.txt +++ b/pep-0425.txt @@ -9,7 +9,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 27-Jul-2012 Python-Version: 3.4 -Post-History: 8-Aug-2012, 18-Oct-2012, 15-Feb-2013 +Post-History: 08-Aug-2012, 18-Oct-2012, 15-Feb-2013 Resolution: https://mail.python.org/pipermail/python-dev/2013-February/124116.html diff --git a/pep-0432.txt b/pep-0432.txt index 5ae372c309f..76410a65f4b 100644 --- a/pep-0432.txt +++ b/pep-0432.txt @@ -11,7 +11,7 @@ Type: Standards Track Content-Type: text/x-rst Requires: 587 Created: 28-Dec-2012 -Post-History: 28-Dec-2012, 2-Jan-2013, 30-Mar-2019, 28-Jun-2020 +Post-History: 28-Dec-2012, 02-Jan-2013, 30-Mar-2019, 28-Jun-2020 PEP Withdrawal diff --git a/pep-0435.txt b/pep-0435.txt index b75c7589962..df1d2a299ec 100644 --- a/pep-0435.txt +++ b/pep-0435.txt @@ -10,7 +10,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 23-Feb-2013 Python-Version: 3.4 -Post-History: 2013-02-23, 2013-05-02 +Post-History: 23-Feb-2013, 02-May-2013 Replaces: 354 Resolution: https://mail.python.org/pipermail/python-dev/2013-May/126112.html diff --git a/pep-0441.txt b/pep-0441.txt index 41bbad15d74..f894c82b7d6 100644 --- a/pep-0441.txt +++ b/pep-0441.txt @@ -9,7 +9,7 @@ Status: Final Type: Standards Track Content-Type: text/x-rst Created: 30-Mar-2013 -Post-History: 30 March 2013, 1 April 2013, 16 February 2015 +Post-History: 30-Mar-2013, 01-Apr-2013, 16-Feb-2015 Resolution: https://mail.python.org/pipermail/python-dev/2015-February/138578.html Improving Python ZIP Application Support diff --git a/pep-0442.txt b/pep-0442.txt index 10792a74ef6..3b1e2aa2834 100644 --- a/pep-0442.txt +++ b/pep-0442.txt @@ -9,7 +9,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 18-May-2013 Python-Version: 3.4 -Post-History: 2013-05-18 +Post-History: 18-May-2013 Resolution: https://mail.python.org/pipermail/python-dev/2013-June/126746.html diff --git a/pep-0447.txt b/pep-0447.txt index a602f1237d2..697bd7160ee 100644 --- a/pep-0447.txt +++ b/pep-0447.txt @@ -7,7 +7,7 @@ Status: Deferred Type: Standards Track Content-Type: text/x-rst Created: 12-Jun-2013 -Post-History: 2-Jul-2013, 15-Jul-2013, 29-Jul-2013, 22-Jul-2015 +Post-History: 02-Jul-2013, 15-Jul-2013, 29-Jul-2013, 22-Jul-2015 Abstract diff --git a/pep-0451.txt b/pep-0451.txt index 38b9f1ecd17..f4373b3e77f 100644 --- a/pep-0451.txt +++ b/pep-0451.txt @@ -10,7 +10,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 08-Aug-2013 Python-Version: 3.4 -Post-History: 8-Aug-2013, 28-Aug-2013, 18-Sep-2013, 24-Sep-2013, 4-Oct-2013 +Post-History: 08-Aug-2013, 28-Aug-2013, 18-Sep-2013, 24-Sep-2013, 04-Oct-2013 Resolution: https://mail.python.org/pipermail/python-dev/2013-November/130104.html diff --git a/pep-0461.txt b/pep-0461.txt index 7216fb6c9b0..466297743a6 100644 --- a/pep-0461.txt +++ b/pep-0461.txt @@ -8,8 +8,8 @@ Type: Standards Track Content-Type: text/x-rst Created: 13-Jan-2014 Python-Version: 3.5 -Post-History: 2014-01-14, 2014-01-15, 2014-01-17, 2014-02-22, 2014-03-25, - 2014-03-27 +Post-History: 14-Jan-2014, 15-Jan-2014, 17-Jan-2014, 22-Feb-2014, 25-Mar-2014, + 27-Mar-2014 Resolution: https://mail.python.org/pipermail/python-dev/2014-March/133621.html diff --git a/pep-0468.txt b/pep-0468.txt index de8defd9871..ea74c98d622 100644 --- a/pep-0468.txt +++ b/pep-0468.txt @@ -9,7 +9,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 05-Apr-2014 Python-Version: 3.6 -Post-History: 5-Apr-2014,8-Sep-2016 +Post-History: 05-Apr-2014, 08-Sep-2016 Resolution: https://mail.python.org/pipermail/python-dev/2016-September/146329.html diff --git a/pep-0469.txt b/pep-0469.txt index d916c6974b5..1307bfc08d7 100644 --- a/pep-0469.txt +++ b/pep-0469.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 18-Apr-2014 Python-Version: 3.5 -Post-History: 2014-04-18, 2014-04-21 +Post-History: 18-Apr-2014, 21-Apr-2014 Abstract diff --git a/pep-0471.txt b/pep-0471.txt index 69578d9a1bc..e48961f49fc 100644 --- a/pep-0471.txt +++ b/pep-0471.txt @@ -9,7 +9,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 30-May-2014 Python-Version: 3.5 -Post-History: 27-Jun-2014, 8-Jul-2014, 14-Jul-2014 +Post-History: 27-Jun-2014, 08-Jul-2014, 14-Jul-2014 Abstract diff --git a/pep-0477.txt b/pep-0477.txt index bf121ada811..8ca19966f83 100644 --- a/pep-0477.txt +++ b/pep-0477.txt @@ -9,7 +9,7 @@ Status: Final Type: Standards Track Content-Type: text/x-rst Created: 26-Aug-2014 -Post-History: 1-Sep-2014 +Post-History: 01-Sep-2014 Resolution: https://mail.python.org/pipermail/python-dev/2014-September/136238.html diff --git a/pep-0479.txt b/pep-0479.txt index c50c7fddae1..44f4d75ae5f 100644 --- a/pep-0479.txt +++ b/pep-0479.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 15-Nov-2014 Python-Version: 3.5 -Post-History: 15-Nov-2014, 19-Nov-2014, 5-Dec-2014 +Post-History: 15-Nov-2014, 19-Nov-2014, 05-Dec-2014 Abstract diff --git a/pep-0487.txt b/pep-0487.txt index 20e270ad606..4b63ad369d5 100644 --- a/pep-0487.txt +++ b/pep-0487.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 27-Feb-2015 Python-Version: 3.6 -Post-History: 27-Feb-2015, 5-Feb-2016, 24-Jun-2016, 2-Jul-2016, 13-Jul-2016 +Post-History: 27-Feb-2015, 05-Feb-2016, 24-Jun-2016, 02-Jul-2016, 13-Jul-2016 Replaces: 422 Resolution: https://mail.python.org/pipermail/python-dev/2016-July/145629.html diff --git a/pep-0489.txt b/pep-0489.txt index b6fcf844280..4b08d104eac 100644 --- a/pep-0489.txt +++ b/pep-0489.txt @@ -12,7 +12,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 11-Aug-2013 Python-Version: 3.5 -Post-History: 23-Aug-2013, 20-Feb-2015, 16-Apr-2015, 7-May-2015, 18-May-2015 +Post-History: 23-Aug-2013, 20-Feb-2015, 16-Apr-2015, 07-May-2015, 18-May-2015 Resolution: https://mail.python.org/pipermail/python-dev/2015-May/140108.html diff --git a/pep-0520.txt b/pep-0520.txt index 5c63464e8fe..fc323d00752 100644 --- a/pep-0520.txt +++ b/pep-0520.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 07-Jun-2016 Python-Version: 3.6 -Post-History: 7-Jun-2016, 11-Jun-2016, 20-Jun-2016, 24-Jun-2016 +Post-History: 07-Jun-2016, 11-Jun-2016, 20-Jun-2016, 24-Jun-2016 Resolution: https://mail.python.org/pipermail/python-dev/2016-June/145442.html .. note:: diff --git a/pep-0532.txt b/pep-0532.txt index e086c5de18c..2c38ea2bd88 100644 --- a/pep-0532.txt +++ b/pep-0532.txt @@ -9,7 +9,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 30-Oct-2016 Python-Version: 3.8 -Post-History: 5-Nov-2016 +Post-History: 05-Nov-2016 PEP Deferral ============ diff --git a/pep-0549.rst b/pep-0549.rst index 7a69225a5c7..8e0ab02610c 100644 --- a/pep-0549.rst +++ b/pep-0549.rst @@ -9,7 +9,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 04-Sep-2017 Python-Version: 3.7 -Post-History: 4-Sep-2017 +Post-History: 04-Sep-2017 Rejection Notice diff --git a/pep-0552.rst b/pep-0552.rst index c2a7b3e6172..3a1a8a532bb 100644 --- a/pep-0552.rst +++ b/pep-0552.rst @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 04-Sep-2017 Python-Version: 3.7 -Post-History: 2017-09-07 +Post-History: 07-Sep-2017 Resolution: https://mail.python.org/pipermail/python-dev/2017-September/149649.html diff --git a/pep-0553.rst b/pep-0553.rst index ec93a2ab62f..8da7c433c0b 100644 --- a/pep-0553.rst +++ b/pep-0553.rst @@ -6,7 +6,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 05-Sep-2017 Python-Version: 3.7 -Post-History: 2017-09-05, 2017-09-07, 2017-09-13 +Post-History: 05-Sep-2017, 07-Sep-2017, 13-Sep-2017 Resolution: https://mail.python.org/pipermail/python-dev/2017-October/149705.html diff --git a/pep-0556.rst b/pep-0556.rst index d8b060902e1..2f70120fb17 100644 --- a/pep-0556.rst +++ b/pep-0556.rst @@ -6,7 +6,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 08-Sep-2017 Python-Version: 3.7 -Post-History: 2017-09-08 +Post-History: 08-Sep-2017 Deferral Notice diff --git a/pep-0558.rst b/pep-0558.rst index 685163fd480..a35559ec3b5 100644 --- a/pep-0558.rst +++ b/pep-0558.rst @@ -8,7 +8,8 @@ Type: Standards Track Content-Type: text/x-rst Created: 08-Sep-2017 Python-Version: 3.11 -Post-History: 2017-09-08, 2019-05-22, 2019-05-30, 2019-12-30, 2021-07-18, 2021-08-26 +Post-History: 08-Sep-2017, 22-May-2019, 30-May-2019, 30-Dec-2019, 18-Jul-2021, + 26-Aug-2021 Abstract diff --git a/pep-0563.rst b/pep-0563.rst index dcea01cf1aa..2d43178c0b5 100644 --- a/pep-0563.rst +++ b/pep-0563.rst @@ -9,7 +9,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 08-Sep-2017 Python-Version: 3.7 -Post-History: 1-Nov-2017, 21-Nov-2017 +Post-History: 01-Nov-2017, 21-Nov-2017 Resolution: https://mail.python.org/pipermail/python-dev/2017-December/151042.html diff --git a/pep-0575.rst b/pep-0575.rst index 4725754821a..35218ea47bf 100644 --- a/pep-0575.rst +++ b/pep-0575.rst @@ -6,7 +6,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 27-Mar-2018 Python-Version: 3.8 -Post-History: 31-Mar-2018, 12-Apr-2018, 27-Apr-2018, 5-May-2018 +Post-History: 31-Mar-2018, 12-Apr-2018, 27-Apr-2018, 05-May-2018 Withdrawal notice diff --git a/pep-0578.rst b/pep-0578.rst index a1d7b58c475..9e5d25ec69b 100644 --- a/pep-0578.rst +++ b/pep-0578.rst @@ -9,7 +9,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 16-Jun-2018 Python-Version: 3.8 -Post-History: 28-March-2019, 07-May-2019 +Post-History: 28-Mar-2019, 07-May-2019 Abstract ======== diff --git a/pep-0581.rst b/pep-0581.rst index 02c79f6b5bb..3af220da186 100644 --- a/pep-0581.rst +++ b/pep-0581.rst @@ -9,7 +9,7 @@ Status: Accepted Type: Process Content-Type: text/x-rst Created: 20-Jun-2018 -Post-History: 7-Mar-2019 +Post-History: 07-Mar-2019 Resolution: https://mail.python.org/pipermail/python-dev/2019-May/157399.html diff --git a/pep-0599.rst b/pep-0599.rst index b03056dfe41..e226ef161f5 100644 --- a/pep-0599.rst +++ b/pep-0599.rst @@ -10,7 +10,7 @@ Status: Superseded Type: Informational Content-Type: text/x-rst Created: 29-Apr-2019 -Post-History: 29-April-2019 +Post-History: 29-Apr-2019 Superseded-By: 600 Resolution: https://discuss.python.org/t/the-next-manylinux-specification/1043/199 diff --git a/pep-0600.rst b/pep-0600.rst index 68938b4b723..aff83301931 100644 --- a/pep-0600.rst +++ b/pep-0600.rst @@ -11,7 +11,7 @@ Status: Accepted Type: Informational Content-Type: text/x-rst Created: 03-May-2019 -Post-History: 3-May-2019 +Post-History: 03-May-2019 Replaces: 513, 571, 599 Resolution: https://discuss.python.org/t/pep-600-future-manylinux-platform-tags-for-portable-linux-built-distributions/2414/27 diff --git a/pep-0605.rst b/pep-0605.rst index 95026eb6da4..4e6bccc41fc 100644 --- a/pep-0605.rst +++ b/pep-0605.rst @@ -9,7 +9,7 @@ Type: Informational Content-Type: text/x-rst Created: 20-Sep-2019 Python-Version: 3.9 -Post-History: 1-Oct-2019, 6-Oct-2019, 20-Oct-2019 +Post-History: 01-Oct-2019, 06-Oct-2019, 20-Oct-2019 Rejection Notice ================ diff --git a/pep-0615.rst b/pep-0615.rst index f5446760610..5853e94844c 100644 --- a/pep-0615.rst +++ b/pep-0615.rst @@ -7,7 +7,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 22-Feb-2020 Python-Version: 3.9 -Post-History: 2020-02-25, 2020-03-29 +Post-History: 25-Feb-2020, 29-Mar-2020 Replaces: 431 diff --git a/pep-0622.rst b/pep-0622.rst index 32cfd79ffcb..075535d7499 100644 --- a/pep-0622.rst +++ b/pep-0622.rst @@ -15,7 +15,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 23-Jun-2020 Python-Version: 3.10 -Post-History: 23-Jun-2020, 8-Jul-2020 +Post-History: 23-Jun-2020, 08-Jul-2020 Superseded-By: 634 diff --git a/pep-0633.rst b/pep-0633.rst index a2b31eeedc4..2ab1c3c4c94 100644 --- a/pep-0633.rst +++ b/pep-0633.rst @@ -8,7 +8,7 @@ Status: Rejected Type: Standards Track Content-Type: text/x-rst Created: 02-Sep-2020 -Post-History: 2020-09-02 +Post-History: 02-Sep-2020 Resolution: https://discuss.python.org/t/how-to-specify-dependencies-pep-508-strings-or-a-table-in-toml/5243/38 diff --git a/pep-0641.rst b/pep-0641.rst index 384157a73ca..a6b21e55656 100644 --- a/pep-0641.rst +++ b/pep-0641.rst @@ -10,7 +10,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 20-Oct-2020 Python-Version: 3.10 -Post-History: 2020-10-21 +Post-History: 21-Oct-2020 Resolution: https://discuss.python.org/t/pep-641-using-an-underscore-in-the-version-portion-of-python-3-10-compatibility-tags/5513/42 Abstract diff --git a/pep-0642.rst b/pep-0642.rst index 25906270991..b03dc25aa71 100644 --- a/pep-0642.rst +++ b/pep-0642.rst @@ -11,7 +11,7 @@ Content-Type: text/x-rst Requires: 634 Created: 26-Sep-2020 Python-Version: 3.10 -Post-History: 31-Oct-2020, 8-Nov-2020, 3-Jan-2021 +Post-History: 31-Oct-2020, 08-Nov-2020, 03-Jan-2021 Resolution: Abstract diff --git a/pep-0647.rst b/pep-0647.rst index b3c4ea12408..9c444b11f1d 100644 --- a/pep-0647.rst +++ b/pep-0647.rst @@ -10,7 +10,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 07-Oct-2020 Python-Version: 3.10 -Post-History: 28-Dec-2020, 9-Apr-2021 +Post-History: 28-Dec-2020, 09-Apr-2021 Resolution: https://mail.python.org/archives/list/python-dev@python.org/thread/2ME6F6YUVKHOQYKSHTVQQU5WD4CVAZU4/ diff --git a/pep-0650.rst b/pep-0650.rst index dec2ee7171e..5897591190e 100644 --- a/pep-0650.rst +++ b/pep-0650.rst @@ -8,7 +8,7 @@ Status: Draft Type: Process Content-Type: text/x-rst Created: 16-Jul-2020 -Post-History: 2021-01-14 +Post-History: 14-Jan-2021 Abstract diff --git a/pep-0666.txt b/pep-0666.txt index 88057e61dc1..af6fc8d01cd 100644 --- a/pep-0666.txt +++ b/pep-0666.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 03-Dec-2001 Python-Version: 2.2 -Post-History: 5-Dec-2001 +Post-History: 05-Dec-2001 Abstract diff --git a/pep-0669.rst b/pep-0669.rst index ce5c33f3cb9..c81e5fc4b84 100644 --- a/pep-0669.rst +++ b/pep-0669.rst @@ -5,7 +5,7 @@ Status: Draft Type: Standards Track Content-Type: text/x-rst Created: 18-Aug-2021 -Post-History: 7-Dec-2021 +Post-History: 07-Dec-2021 Abstract diff --git a/pep-0678.rst b/pep-0678.rst index 22a04dc76cf..e4df45f7d55 100644 --- a/pep-0678.rst +++ b/pep-0678.rst @@ -9,7 +9,7 @@ Content-Type: text/x-rst Requires: 654 Created: 20-Dec-2021 Python-Version: 3.11 -Post-History: 2022-01-27 +Post-History: 27-Jan-2022 Abstract diff --git a/pep-3101.txt b/pep-3101.txt index 41c17516ea4..6b4fcc90ed3 100644 --- a/pep-3101.txt +++ b/pep-3101.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 16-Apr-2006 Python-Version: 3.0 -Post-History: 28-Apr-2006, 6-May-2006, 10-Jun-2007, 14-Aug-2007, 14-Sep-2008 +Post-History: 28-Apr-2006, 06-May-2006, 10-Jun-2007, 14-Aug-2007, 14-Sep-2008 Abstract diff --git a/pep-3102.txt b/pep-3102.txt index 03df2a6127e..85fb8d98d3c 100644 --- a/pep-3102.txt +++ b/pep-3102.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 22-Apr-2006 Python-Version: 3.0 -Post-History: 28-Apr-2006, May-19-2006 +Post-History: 28-Apr-2006, 19-May-2006 Abstract diff --git a/pep-3115.txt b/pep-3115.txt index 85e093fcf9a..6ba27d6ad95 100644 --- a/pep-3115.txt +++ b/pep-3115.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 07-Mar-2007 Python-Version: 3.0 -Post-History: 11-March-2007, 14-March-2007 +Post-History: 11-Mar-2007, 14-Mar-2007 Abstract diff --git a/pep-3129.txt b/pep-3129.txt index d5a58aece87..410ec3b9a88 100644 --- a/pep-3129.txt +++ b/pep-3129.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 01-May-2007 Python-Version: 3.0 -Post-History: 7-May-2007 +Post-History: 07-May-2007 Abstract diff --git a/pep-3147.txt b/pep-3147.txt index 5ed2440aa5e..359bdf2e425 100644 --- a/pep-3147.txt +++ b/pep-3147.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 16-Dec-2009 Python-Version: 3.2 -Post-History: 2010-01-30, 2010-02-25, 2010-03-03, 2010-04-12 +Post-History: 30-Jan-2010, 25-Feb-2010, 03-Mar-2010, 12-Apr-2010 Resolution: https://mail.python.org/pipermail/python-dev/2010-April/099414.html diff --git a/pep-3149.txt b/pep-3149.txt index 0b25a80bde0..a7d64707ce8 100644 --- a/pep-3149.txt +++ b/pep-3149.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 09-Jul-2010 Python-Version: 3.2 -Post-History: 2010-07-14, 2010-07-22 +Post-History: 14-Jul-2010, 22-Jul-2010 Resolution: https://mail.python.org/pipermail/python-dev/2010-September/103408.html diff --git a/pep-3150.txt b/pep-3150.txt index b3ba787f621..22d2164bca8 100644 --- a/pep-3150.txt +++ b/pep-3150.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 09-Jul-2010 Python-Version: 3.4 -Post-History: 2010-07-14, 2011-04-21, 2011-06-13 +Post-History: 14-Jul-2010, 21-Apr-2011, 13-Jun-2011 Abstract From c083ece229fc06ddb4c96456877305dd466e4d38 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Tue, 8 Mar 2022 05:04:54 +0000 Subject: [PATCH 08/13] Revert "pep2html: New Post-History handling" This reverts commit ec9a9f5f2cfd222b74427bdcea7d8fa18572cc30. --- pep2html.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/pep2html.py b/pep2html.py index 5f2f565a90f..ba0ec100ba9 100755 --- a/pep2html.py +++ b/pep2html.py @@ -493,25 +493,6 @@ def apply(self): para[:] = [nodes.reference('', pep_type, refuri=uri)] elif name == 'version' and len(body): utils.clean_rcs_keywords(para, self.rcs_keyword_substitutions) - elif name == 'post-history': - new_nodes = [] - for pair in body.astext().split(","): - pair = pair.strip() - try: - # if Post-History has no links, ``pair.split(maxsplit=1)`` - # will raise ValueError - date, uri = pair.split(maxsplit=1) - node = nodes.reference("", - date.strip(), - refuri=uri.strip(" \n\r\t><"), - internal=False, - ) - except ValueError: - node = nodes.Text(pair) - - new_nodes += [node, nodes.Text(", ")] - - body[0][:] = new_nodes[:-1] # remove final ', ' class PEPFooter(Transform): From c77c52968d41998721602c195a9578d5b20dc349 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Tue, 8 Mar 2022 05:04:57 +0000 Subject: [PATCH 09/13] Revert "PRS: Update implementation" This reverts commit bb0368a11a4921c826a55113ee93abeb02e74afc. --- .../pep_processor/transforms/pep_headers.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py b/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py index 7895af87f2f..410cfbbdf9e 100644 --- a/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py +++ b/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py @@ -1,5 +1,3 @@ -from __future__ import annotations - from pathlib import Path import re @@ -94,7 +92,7 @@ def apply(self) -> None: elif name in {"last-modified", "content-type", "version"}: # Mark unneeded fields fields_to_remove.append(field) - elif name == "post-history": + elif name in {"post-history"}: body[0][:] = _process_post_history(body) # Remove unneeded fields @@ -131,8 +129,8 @@ def _process_post_history(body: nodes.field_body) -> list[nodes.Text | nodes.ref date, uri = pair.split(maxsplit=1) node = nodes.reference("", date.strip(), - refuri=uri.strip(" \n\r\t><"), - internal=False, + refuri=uri.strip(" \f\n\r\t><"), + internal=False ) except ValueError: node = nodes.Text(pair) From f47eda67841de18234ffeebc27ed13c064848063 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Tue, 8 Mar 2022 05:04:59 +0000 Subject: [PATCH 10/13] Revert "PRS: Update Post-History processing for inline links" This reverts commit 419fbfebe6db0aaf12ea86677368cb3ef50ed8bc. --- .../pep_processor/transforms/pep_headers.py | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py b/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py index 410cfbbdf9e..e7e4bfd2193 100644 --- a/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py +++ b/pep_sphinx_extensions/pep_processor/transforms/pep_headers.py @@ -92,8 +92,6 @@ def apply(self) -> None: elif name in {"last-modified", "content-type", "version"}: # Mark unneeded fields fields_to_remove.append(field) - elif name in {"post-history"}: - body[0][:] = _process_post_history(body) # Remove unneeded fields for field in fields_to_remove: @@ -117,24 +115,3 @@ def _pretty_thread(text: nodes.Text) -> nodes.Text: except ValueError: # archives and pipermail not in list, e.g. PEP 245 return text - - -def _process_post_history(body: nodes.field_body) -> list[nodes.Text | nodes.reference]: - new_nodes = [] - for pair in body.astext().split(","): - pair = pair.strip() - try: - # if Post-History has no links, ``pair.split(maxsplit=1)`` - # will raise ValueError - date, uri = pair.split(maxsplit=1) - node = nodes.reference("", - date.strip(), - refuri=uri.strip(" \f\n\r\t><"), - internal=False - ) - except ValueError: - node = nodes.Text(pair) - - new_nodes += [node, nodes.Text(", ")] - - return new_nodes[:-1] # remove final ', ' From a5e20427a72587607505451e83a4ff36fd409c3e Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Tue, 8 Mar 2022 05:06:04 +0000 Subject: [PATCH 11/13] Several PEPs: Fix Post-History with bare hyperlinks --- pep-0424.txt | 2 +- pep-0428.txt | 2 +- pep-3154.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pep-0424.txt b/pep-0424.txt index e1375eb49a9..d814323c21c 100644 --- a/pep-0424.txt +++ b/pep-0424.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 14-Jul-2012 Python-Version: 3.4 -Post-History: 15-Jul-2012 +Post-History: `15-Jul-2012 `__ Abstract ======== diff --git a/pep-0428.txt b/pep-0428.txt index d0b2ebc4c46..5a33cd55430 100644 --- a/pep-0428.txt +++ b/pep-0428.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 30-Jul-2012 Python-Version: 3.4 -Post-History: 05-Oct-2012 +Post-History: `05-Oct-2012 `__` Resolution: https://mail.python.org/pipermail/python-dev/2013-November/130424.html diff --git a/pep-3154.txt b/pep-3154.txt index 55ef2cc394b..6454c24326e 100644 --- a/pep-3154.txt +++ b/pep-3154.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 11-Aug-2011 Python-Version: 3.4 -Post-History: 12-Aug-2011 +Post-History: `12-Aug-2011 `__ Resolution: https://mail.python.org/pipermail/python-dev/2013-November/130439.html From e45cce988f134147238ba0a1ffc3b70affd72fca Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Tue, 8 Mar 2022 05:08:11 +0000 Subject: [PATCH 12/13] Several PEPs: Fix Post-History with extra information --- pep-0367.txt | 8 ++++---- pep-3135.txt | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pep-0367.txt b/pep-0367.txt index c926222dca7..89ca5877837 100644 --- a/pep-0367.txt +++ b/pep-0367.txt @@ -9,10 +9,10 @@ Type: Standards Track Content-Type: text/x-rst Created: 28-Apr-2007 Python-Version: 2.6 -Post-History: 28-Apr-2007 , - 29-Apr-2007 , - 29-Apr-2007 , - 14-May-2007 +Post-History: `28-Apr-2007 `__, + `29-Apr-2007 `__, + `29-Apr-2007 `__, + `14-May-2007 `__ Numbering Note ============== diff --git a/pep-3135.txt b/pep-3135.txt index d8be80452fc..f7825cc420a 100644 --- a/pep-3135.txt +++ b/pep-3135.txt @@ -10,10 +10,10 @@ Type: Standards Track Content-Type: text/x-rst Created: 28-Apr-2007 Python-Version: 3.0 -Post-History: 28-Apr-2007 , - 29-Apr-2007 , - 29-Apr-2007 , - 14-May-2007 , +Post-History: `28-Apr-2007 `__, + `29-Apr-2007 `__, + `29-Apr-2007 `__, + `14-May-2007 `__, 12-Mar-2009 Numbering Note From 474190d4c48d24dbefe2ff389b89e257b46ce1fc Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Wed, 9 Mar 2022 15:59:14 +0000 Subject: [PATCH 13/13] Add final link to 3135 --- pep-0428.txt | 2 +- pep-3135.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0428.txt b/pep-0428.txt index 5a33cd55430..2bfcc5db336 100644 --- a/pep-0428.txt +++ b/pep-0428.txt @@ -8,7 +8,7 @@ Type: Standards Track Content-Type: text/x-rst Created: 30-Jul-2012 Python-Version: 3.4 -Post-History: `05-Oct-2012 `__` +Post-History: `05-Oct-2012 `__ Resolution: https://mail.python.org/pipermail/python-dev/2013-November/130424.html diff --git a/pep-3135.txt b/pep-3135.txt index f7825cc420a..e67bd874589 100644 --- a/pep-3135.txt +++ b/pep-3135.txt @@ -14,7 +14,7 @@ Post-History: `28-Apr-2007 `__, `29-Apr-2007 `__, `14-May-2007 `__, - 12-Mar-2009 + `12-Mar-2009 `__ Numbering Note ==============