[Python-checkins] r54833 - in sandbox/trunk/pep0: TODO pep0/output.py pep0/parse.py pep0/pep.py

brett.cannon python-checkins at python.org
Sun Apr 15 05:31:55 CEST 2007


Author: brett.cannon
Date: Sun Apr 15 05:31:50 2007
New Revision: 54833

Modified:
   sandbox/trunk/pep0/TODO
   sandbox/trunk/pep0/pep0/output.py
   sandbox/trunk/pep0/pep0/parse.py
   sandbox/trunk/pep0/pep0/pep.py
Log:
Add comments about what needs to be done to complete refactoring.


Modified: sandbox/trunk/pep0/TODO
==============================================================================
--- sandbox/trunk/pep0/TODO	(original)
+++ sandbox/trunk/pep0/TODO	Sun Apr 15 05:31:50 2007
@@ -1,3 +1,10 @@
+* Handle XXX comments:
+    + __init__
+    + parse
+    + pep
+    + output
+    + Update test_pep0 to reflect refactoring.
+
 Functionality to add
 --------------------
 

Modified: sandbox/trunk/pep0/pep0/output.py
==============================================================================
--- sandbox/trunk/pep0/pep0/output.py	(original)
+++ sandbox/trunk/pep0/pep0/output.py	Sun Apr 15 05:31:50 2007
@@ -1,3 +1,11 @@
+"""Code to handle the output of PEP 0.
+
+XXX
+    * Move output code from __init__ to here.
+    * Move PEP sorting to here.
+    * Move last name code to here?
+
+"""
 from . import authors
 from .pep import last_name
 

Modified: sandbox/trunk/pep0/pep0/parse.py
==============================================================================
--- sandbox/trunk/pep0/pep0/parse.py	(original)
+++ sandbox/trunk/pep0/pep0/parse.py	Sun Apr 15 05:31:50 2007
@@ -1,3 +1,12 @@
+"""Parse the metadata from a PEP file.
+
+XXX
+    * Remove metadata validation and move to pep class.
+        + Still validate PEP number is an integer (it's needed for error
+          reporting from this point forward).
+        + Validate PEP number matches number in file name.
+
+"""
 from __future__ import with_statement
 from .pep import PEP
 

Modified: sandbox/trunk/pep0/pep0/pep.py
==============================================================================
--- sandbox/trunk/pep0/pep0/pep.py	(original)
+++ sandbox/trunk/pep0/pep0/pep.py	Sun Apr 15 05:31:50 2007
@@ -1,3 +1,10 @@
+"""Code for handling object representation of a PEP.
+
+XXX
+    * Flesh out PEP class.
+
+"""
+
 class PEP(object):
 
     """Representation of PEPs."""


More information about the Python-checkins mailing list