[Python-checkins] peps: All Draft PEPs should be in the 'Open PEPs' section, even Process ones

nick.coghlan python-checkins at python.org
Fri Feb 10 14:17:32 CET 2012


http://hg.python.org/peps/rev/cd49f7164b82
changeset:   4047:cd49f7164b82
user:        Nick Coghlan <ncoghlan at gmail.com>
date:        Fri Feb 10 23:17:22 2012 +1000
summary:
  All Draft PEPs should be in the 'Open PEPs' section, even Process ones

files:
  pep0/output.py |  8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/pep0/output.py b/pep0/output.py
--- a/pep0/output.py
+++ b/pep0/output.py
@@ -36,15 +36,15 @@
     for pep in peps:
         # Order of 'if' statement important.  Key Status values take precedence
         # over Type value, and vice-versa.
-        if pep.type_ == 'Process':
-            if pep.status in ("Active", "Draft"):
+        if pep.status == 'Draft':
+            open_.append(pep)
+        elif pep.type_ == 'Process':
+            if pep.status == "Active":
                 meta.append(pep)
             elif pep.status in ("Withdrawn", "Rejected"):
                 dead.append(pep)
             else:
                 historical.append(pep)
-        elif pep.status == 'Draft':
-            open_.append(pep)
         elif pep.status == 'Deferred':
             deferred.append(pep)
         elif pep.status in ('Rejected', 'Withdrawn',

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list