Add the BDFL-Delegate field, using myself as the test case.

Including the delegate's email address would be nice, but the PEP writer lives in docutils upstream rather than our PEPs repo and I'm not updating docutils just to mask an additional field, nor am I inclined to figure out how to move the writer definition downstream where it belongs
This commit is contained in:
Nick Coghlan 2012-05-06 16:31:52 +10:00
parent 47e009b183
commit 73310d4468
5 changed files with 9 additions and 2 deletions

View File

@ -330,6 +330,7 @@ optional and are described below. All other headers are required. ::
Version: <version string>
Last-Modified: <date string>
Author: <list of authors' real names and optionally, email addrs>
* BDFL-Delegate: <PEP czar's real name>
* Discussions-To: <email address>
Status: <Draft | Active | Accepted | Deferred | Rejected |
Withdrawn | Final | Superseded>
@ -341,7 +342,6 @@ optional and are described below. All other headers are required. ::
Post-History: <dates of postings to python-list and python-dev>
* Replaces: <pep number>
* Superseded-By: <pep number>
* BDFL-Delegate: <PEP czar's real name and email address>
* Resolution: <url>
The Author header lists the names, and optionally the email addresses
@ -365,7 +365,9 @@ email addresses in PEPs will be obscured as a defense against spam
harvesters.
The BDFL-Delegate field is used to record cases where the final decision to
approve or reject a PEP rests with someone other than the BDFL.
approve or reject a PEP rests with someone other than the BDFL. (The
delegate's email address is currently omitted due to a limitation in the
email address masking for reStructuredText PEPs)
*Note: The Resolution header is required for Standards Track PEPs
only. It contains a URL that should point to an email message or

View File

@ -3,6 +3,7 @@ Title: Python Virtual Environments
Version: $Revision$
Last-Modified: $Date$
Author: Carl Meyer <carl@oddbird.net>
BDFL-Delegate: Nick Coghlan
Status: Draft
Type: Standards Track
Content-Type: text/x-rst

View File

@ -3,10 +3,12 @@ Title: Implementing PEP 409 differently
Version: $Revision$
Last-Modified: $Date$
Author: Benjamin Peterson <benjamin@python.org>
BDFL-Delegate: Nick Coghlan
Status: Draft
Type: Standards Track
Content-Type: text/x-rst
Created: 26-Feb-2012
Python-Version: 3.3
Post-History: 26-Feb-2012

View File

@ -3,6 +3,7 @@ Title: IP Address Manipulation Library for the Python Standard Library
Version: $Revision$
Last-Modified: $Date$
Author: Peter Moody <pmoody@google.com>
BDFL-Delegate: Nick Coghlan
Discussions-To: <ipaddr-py-dev@googlegroups.com>
Status: Draft
Type: Standards Track

View File

@ -156,6 +156,7 @@ class PEP(object):
# required or not.
headers = (('PEP', True), ('Title', True), ('Version', True),
('Last-Modified', True), ('Author', True),
('BDFL-Delegate', False),
('Discussions-To', False), ('Status', True), ('Type', True),
('Content-Type', False), ('Requires', False),
('Created', True), ('Python-Version', False),