[Python-checkins] r56026 - sandbox/trunk/pep0/pep0/pep.py

brett.cannon python-checkins at python.org
Tue Jun 19 01:12:19 CEST 2007


Author: brett.cannon
Date: Tue Jun 19 01:12:15 2007
New Revision: 56026

Modified:
   sandbox/trunk/pep0/pep0/pep.py
Log:
Add comments of what needs to be done.


Modified: sandbox/trunk/pep0/pep0/pep.py
==============================================================================
--- sandbox/trunk/pep0/pep0/pep.py	(original)
+++ sandbox/trunk/pep0/pep0/pep.py	Tue Jun 19 01:12:15 2007
@@ -29,13 +29,16 @@
     """
 
     type_values = ("Standards Track", "Informational", "Process")
-    # Active and Draft are not listed in the index.
+    # XXX Active PEPs can only be for Informational or Process PEPs.
     status_values = ("Accepted", "Rejected", "Withdrawn", "Deferred", "Final",
                      "Active", "Draft", "Replaced")
 
     # XXX Uncomment to valid author names (along with code in __init__).
     #valid_authors = set(x[0] for x in constants.email_addresses)
 
+    # XXX Take in an open file.
+    # XXX Parse header metadata (verify order and that all required fields
+    # exist).
     def __init__(self, metadata_dict):
         """Init object based on dict containing metadata from a file.
         


More information about the Python-checkins mailing list