From ce2ef0473e965fb3956ad238e1e56f472c8d3319 Mon Sep 17 00:00:00 2001 From: CAM Gerlach Date: Sat, 12 Mar 2022 10:04:54 -0600 Subject: [PATCH] Meta: Classify Accepted Process PEPs as current; PEP 8001: Mark as Final (#2385) --- pep-8001.rst | 2 +- pep_sphinx_extensions/pep_zero_generator/writer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-8001.rst b/pep-8001.rst index 3bf398aa797..d668e583859 100644 --- a/pep-8001.rst +++ b/pep-8001.rst @@ -13,7 +13,7 @@ Author: Brett Cannon , Tal Einat , Tim Peters , Zachary Ware -Status: Accepted +Status: Final Type: Process Content-Type: text/x-rst Created: 24-Aug-2018 diff --git a/pep_sphinx_extensions/pep_zero_generator/writer.py b/pep_sphinx_extensions/pep_zero_generator/writer.py index 4a8657b334a..822bd02fdc4 100644 --- a/pep_sphinx_extensions/pep_zero_generator/writer.py +++ b/pep_sphinx_extensions/pep_zero_generator/writer.py @@ -222,7 +222,7 @@ def _classify_peps(peps: list[PEP]) -> tuple[list[PEP], ...]: elif pep.status == STATUS_DEFERRED: deferred.append(pep) elif pep.pep_type == TYPE_PROCESS: - if pep.status == STATUS_ACTIVE: + if pep.status in {STATUS_ACCEPTED, STATUS_ACTIVE}: meta.append(pep) elif pep.status in {STATUS_WITHDRAWN, STATUS_REJECTED}: dead.append(pep)