Meta: Classify Accepted Process PEPs as current; PEP 8001: Mark as Final (#2385)

This commit is contained in:
CAM Gerlach 2022-03-12 10:04:54 -06:00 committed by GitHub
parent 54d8f01d5a
commit ce2ef0473e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ Author: Brett Cannon <brett@python.org>,
Tal Einat <tal@python.org>,
Tim Peters <tim.peters@gmail.com>,
Zachary Ware <zachary.ware@gmail.com>
Status: Accepted
Status: Final
Type: Process
Content-Type: text/x-rst
Created: 24-Aug-2018

View File

@ -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)