PEP 404: Add Python 2.8 to Release PEPs topic (#2986)

This commit is contained in:
Hugo van Kemenade 2023-01-31 11:03:08 +02:00 committed by GitHub
parent b6ac1faea8
commit 77bbe7983a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 13 deletions

View File

@ -1,10 +1,9 @@
PEP: 404
Title: Python 2.8 Un-release Schedule
Version: $Revision$
Last-Modified: $Date$
Author: Barry Warsaw <barry@python.org>
Status: Final
Type: Informational
Topic: Release
Content-Type: text/x-rst
Created: 09-Nov-2011
Python-Version: 2.8
@ -182,13 +181,3 @@ This document has been placed in the public domain.
.. _differences: http://docs.python.org/release/3.0.1/whatsnew/3.0.html
.. _porting: http://python3porting.com/
..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
sentence-end-double-space: t
fill-column: 70
coding: utf-8
End:

View File

@ -253,7 +253,7 @@ def _classify_peps(peps: list[PEP]) -> tuple[list[PEP], ...]:
# Hack until the conflict between the use of "Final"
# for both API definition PEPs and other (actually
# obsolete) PEPs is addressed
if pep.status == STATUS_ACTIVE or "Release Schedule" not in pep.title:
if pep.status == STATUS_ACTIVE or "release schedule" not in pep.title.lower():
info.append(pep)
else:
historical.append(pep)