[Python-checkins] r54824 - sandbox/trunk/pep0/TODO sandbox/trunk/pep0/pep0.py

brett.cannon python-checkins at python.org
Sat Apr 14 03:03:33 CEST 2007


Author: brett.cannon
Date: Sat Apr 14 03:03:29 2007
New Revision: 54824

Modified:
   sandbox/trunk/pep0/TODO
   sandbox/trunk/pep0/pep0.py
Log:
Add in static text to file (but not to output).


Modified: sandbox/trunk/pep0/TODO
==============================================================================
--- sandbox/trunk/pep0/TODO	(original)
+++ sandbox/trunk/pep0/TODO	Sat Apr 14 03:03:29 2007
@@ -6,6 +6,7 @@
 * Output static text for PEP 0.
     + Header.
     + Footer.
+    + Introduction.
     + References.
     + Column titles for numerical index.
     + Author/email list.

Modified: sandbox/trunk/pep0/pep0.py
==============================================================================
--- sandbox/trunk/pep0/pep0.py	(original)
+++ sandbox/trunk/pep0/pep0.py	Sat Apr 14 03:03:29 2007
@@ -4,6 +4,50 @@
 import os
 import re
 
+# Don't start on a new line to make easier to read as that would cause output to
+# start on a blank line.
+header = """PEP: 0
+Title: Index of Python Enhancement Proposals (PEPs)
+Version: $Revision$
+Last-Modified: $Date$
+Author: David Goodger <goodger at python.org>,
+        Barry A. Warsaw <barry at python.org>
+Status: Active
+Type: Informational
+Created: 13-Jul-2000
+"""
+
+intro = """
+    The PEP contains the index of all Python Enhancement Proposals,
+    known as PEPs.  PEP numbers are assigned by the PEP Editor, and
+    once assigned are never changed.  The SVN history[1] of the PEP
+    texts represent their historical record.
+
+    The BDFL maintains his own Pronouncements page[2] at
+    http://www.python.org/doc/essays/pepparade.html which contains his
+    musings on the various outstanding PEPs.
+"""
+
+references = """
+    [1] View PEP history online
+        http://svn.python.org/projects/peps/trunk/
+
+    [2] The Benevolent Dictator For Life's Parade of PEPs
+        http://www.python.org/doc/essays/pepparade.html
+"""
+
+footer = """
+
+Local Variables:
+mode: indented-text
+indent-tabs-mode: nil
+sentence-end-double-space: t
+fill-column: 70
+coding: utf-8
+End:
+"""
+
+
 type_values = ("Standards Track", "Informational", "Process")
 status_values = ("Accepted", "Rejected", "Withdrawn", "Deferred", "Final")
 


More information about the Python-checkins mailing list