[Python-checkins] r68045 - sandbox/trunk/pep0/pep0/output.py

benjamin.peterson python-checkins at python.org
Tue Dec 30 00:13:35 CET 2008


Author: benjamin.peterson
Date: Tue Dec 30 00:13:35 2008
New Revision: 68045

Log:
let Process PEPs have a draft status without a warning (it says then can in PEP 1)

Modified:
   sandbox/trunk/pep0/pep0/output.py

Modified: sandbox/trunk/pep0/pep0/output.py
==============================================================================
--- sandbox/trunk/pep0/pep0/output.py	(original)
+++ sandbox/trunk/pep0/pep0/output.py	Tue Dec 30 00:13:35 2008
@@ -5,7 +5,6 @@
 from operator import attrgetter
 from sys import stdout
 from unicodedata import normalize
-import warnings
 
 
 indent = u' '
@@ -34,11 +33,6 @@
         # Order of 'if' statement important.  Key Status values take precedence
         # over Type value, and vice-versa.
         if pep.type_ == 'Process':
-            if pep.status == 'Draft':
-                warnings.warn("PEP %s is a Process PEP that is still is a "
-                                "Draft; ambiguous listing in PEP 0" %
-                                pep.number,
-                                UserWarning)
             meta.append(pep)
         elif pep.status == 'Draft':
             open_.append(pep)


More information about the Python-checkins mailing list