peps: Claim the packaging PEPs (and strip trailing whitespace)
http://hg.python.org/peps/rev/7f88cb558d79 changeset: 4645:7f88cb558d79 user: Nick Coghlan <ncoghlan@gmail.com> date: Tue Jan 01 01:45:03 2013 +1000 summary: Claim the packaging PEPs (and strip trailing whitespace) files: pep-0425.txt | 7 ++++--- pep-0426.txt | 23 ++++++++++++----------- pep-0427.txt | 5 +++-- 3 files changed, 19 insertions(+), 16 deletions(-) diff --git a/pep-0425.txt b/pep-0425.txt --- a/pep-0425.txt +++ b/pep-0425.txt @@ -1,8 +1,9 @@ PEP: 425 -Title: Compatibility Tags for Built Distributions +Title: Compatibility Tags for Built Distributions Version: $Revision$ Last-Modified: 07-Aug-2012 Author: Daniel Holth <dholth@fastmail.fm> +BDFL-Delegate: Nick Coghlan <ncoghlan@gmail.com> Status: Draft Type: Standards Track Content-Type: text/x-rst @@ -216,7 +217,7 @@ Who will maintain the registry of abbreviated implementations? New two-letter abbreviations can be requested on the python-dev mailing list. As a rule of thumb, abbreviations are reserved for - the current 4 most prominent implementations. + the current 4 most prominent implementations. Does the compatibility tag go into METADATA or PKG-INFO? No. The compatibility tag is part of the built distribution's @@ -253,7 +254,7 @@ This document has been placed in the public domain. - + .. Local Variables: mode: indented-text diff --git a/pep-0426.txt b/pep-0426.txt --- a/pep-0426.txt +++ b/pep-0426.txt @@ -3,6 +3,7 @@ Version: $Revision$ Last-Modified: $Date$ Author: Daniel Holth <dholth@fastmail.fm> +BDFL-Delegate: Nick Coghlan <ncoghlan@gmail.com> Discussions-To: Distutils SIG Status: Draft Type: Standards Track @@ -618,7 +619,7 @@ - Extension - Provides-Extra - Setup-Requires-Dist - + References ========== @@ -643,15 +644,15 @@ # Metadata 1.3 demo from email.generator import Generator - from email import header - from email.parser import Parser - from email.policy import Compat32 + from email import header + from email.parser import Parser + from email.policy import Compat32 from email.utils import _has_surrogates class MetadataPolicy(Compat32): max_line_length = 0 continuation_whitespace = '\t' - + def _sanitize_header(self, name, value): if not isinstance(value, str): return value @@ -676,8 +677,8 @@ Summary: A package. Description: Description =========== - - + + A description of the package. """ @@ -687,9 +688,9 @@ m['License'] = 'GPL' description = m['Description'] description_lines = description.splitlines() - m.set_payload(description_lines[0] - + '\n' - + textwrap.dedent('\n'.join(description_lines[1:])) + m.set_payload(description_lines[0] + + '\n' + + textwrap.dedent('\n'.join(description_lines[1:])) + '\n') del m['Description'] @@ -701,7 +702,7 @@ This document has been placed in the public domain. - + .. Local Variables: mode: indented-text diff --git a/pep-0427.txt b/pep-0427.txt --- a/pep-0427.txt +++ b/pep-0427.txt @@ -3,6 +3,7 @@ Version: $Revision$ Last-Modified: $Date$ Author: Daniel Holth <dholth@fastmail.fm> +BDFL-Delegate: Nick Coghlan <ncoghlan@gmail.com> Discussions-To: <distutils-sig@python.org> Status: Draft Type: Standards Track @@ -319,7 +320,7 @@ ======== Example urlsafe-base64-nopad implementation:: - + # urlsafe-base64-nopad for Python 3 import base64 @@ -337,7 +338,7 @@ This document has been placed into the public domain. - + .. Local Variables: mode: indented-text -- Repository URL: http://hg.python.org/peps
participants (1)
-
nick.coghlan