Skip to content

Commit 5fb8b28

Browse files
authored
Many PEPs: 'Author' must be list of 'Name <email@example.com>, ...' (#2809)
1 parent b4bed87 commit 5fb8b28

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+91
-870
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,6 @@ repos:
129129
language: pygrep
130130
entry: '(?<=\n)Author:(?:(?!((( +|\n {1,8})[^!#$%&()*+,/:;<=>?@\[\\\]\^_`{|}~]+( <[\w!#$%&''*+\-/=?^_{|}~.]+(@| at )[\w\-.]+\.[A-Za-z0-9]+>)?)(,|(?=\n[^ ])))+\n(?=[A-Z])))'
131131
args: [--multiline]
132-
files: '^pep-\d+\.rst$'
133-
types: [text]
134-
135-
- id: validate-author-legacy
136-
name: "Legacy 'Author' must be a list of names/emails"
137-
language: pygrep
138-
entry: '(?<=\n)Author:(?:(?!((((( +|\n {1,8})[^!#$%&()*+,/:;<=>?@\[\\\]\^_`{|}~]+( <[\w!#$%&''*+\-/=?^_{|}~.]+(@| at )[\w\-.]+\.[A-Za-z0-9]+>)?)(,|(?=\n[^ ])))+)|(((( +|\n {1,8})[\w!#$%&''*+\-/=?^_{|}~.]+(@| at )[\w\-.]+\.[A-Za-z0-9]+) \(([^!#$%&()*+,/:;<=>?@\[\\\]\^_`{|}~]+)\)(,|(?=\n[^ ])))+))\n(?=[A-Z])))'
139-
args: [--multiline]
140132
files: '^pep-\d+\.(rst|txt)$'
141133
types: [text]
142134

pep-0001.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -629,10 +629,7 @@ if the email address is included, and just:
629629

630630
Random J. User
631631

632-
if the address is not given. For historical reasons the format
633-
``random@example.com (Random J. User)`` may appear in a PEP;
634-
however, new PEPs must use the mandated format above, and it is acceptable to
635-
change to this format when PEPs are updated.
632+
if the address is not given.
636633

637634
If there are multiple authors, each should be on a separate line
638635
following :rfc:`2822` continuation line conventions. Note that personal

pep-0003.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 3
22
Title: Guidelines for Handling Bug Reports
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: jeremy@alum.mit.edu (Jeremy Hylton)
3+
Author: Jeremy Hylton <jeremy@alum.mit.edu>
64
Status: Withdrawn
75
Type: Process
86
Content-Type: text/x-rst
@@ -69,4 +67,4 @@ Original Guidelines
6967
References
7068
==========
7169

72-
.. [1] http://bugs.python.org/
70+
* https://bugs.python.org

pep-0005.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 5
22
Title: Guidelines for Language Evolution
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: paul@prescod.net (Paul Prescod)
3+
Author: Paul Prescod <paul@prescod.net>
64
Status: Active
75
Type: Process
86
Content-Type: text/x-rst
@@ -75,9 +73,3 @@ Steps For Introducing Backwards-Incompatible Features
7573
the backwards incompatible version. Users will have at least a
7674
year to test their programs and migrate them from use of the
7775
deprecated construct to the alternative one.
78-
79-
..
80-
Local Variables:
81-
mode: indented-text
82-
indent-tabs-mode: nil
83-
End:

pep-0006.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 6
22
Title: Bug Fix Releases
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: aahz@pythoncraft.com (Aahz), anthony@interlink.com.au (Anthony Baxter)
3+
Author: Aahz <aahz@pythoncraft.com>, Anthony Baxter <anthony@interlink.com.au>
64
Status: Active
75
Type: Process
86
Content-Type: text/x-rst
@@ -217,10 +215,3 @@ Copyright
217215
=========
218216

219217
This document has been placed in the public domain.
220-
221-
222-
..
223-
Local Variables:
224-
mode: indented-text
225-
indent-tabs-mode: nil
226-
End:

pep-0010.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 10
22
Title: Voting Guidelines
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: barry@python.org (Barry Warsaw)
3+
Author: Barry Warsaw <barry@python.org>
64
Status: Active
75
Type: Process
86
Content-Type: text/x-rst
@@ -71,11 +69,3 @@ Copyright
7169
=========
7270

7371
This document has been placed in the public domain.
74-
75-
76-
..
77-
Local Variables:
78-
mode: indented-text
79-
indent-tabs-mode: nil
80-
fill-column: 70
81-
End:

pep-0100.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 100
22
Title: Python Unicode Integration
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: mal@lemburg.com (Marc-André Lemburg)
3+
Author: Marc-André Lemburg <mal@lemburg.com>
64
Status: Final
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -1246,10 +1244,3 @@ file.]
12461244
---
12471245

12481246
* first version
1249-
1250-
1251-
..
1252-
Local Variables:
1253-
mode: indented-text
1254-
indent-tabs-mode: nil
1255-
End:

pep-0102.txt

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
PEP: 102
22
Title: Doing Python Micro Releases
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: anthony@interlink.com.au (Anthony Baxter),
6-
barry@python.org (Barry Warsaw),
7-
guido@python.org (Guido van Rossum)
3+
Author: Anthony Baxter <anthony@interlink.com.au>,
4+
Barry Warsaw <barry@python.org>,
5+
Guido van Rossum <guido@python.org>
86
Status: Superseded
97
Type: Informational
108
Content-Type: text/x-rst
@@ -512,10 +510,3 @@ Copyright
512510
=========
513511

514512
This document has been placed in the public domain.
515-
516-
517-
..
518-
Local Variables:
519-
mode: indented-text
520-
indent-tabs-mode: nil
521-
End:

pep-0201.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 201
22
Title: Lockstep Iteration
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: barry@python.org (Barry Warsaw)
3+
Author: Barry Warsaw <barry@python.org>
64
Status: Final
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -289,11 +287,3 @@ Copyright
289287
=========
290288

291289
This document has been placed in the public domain.
292-
293-
294-
295-
..
296-
Local Variables:
297-
mode: indented-text
298-
indent-tabs-mode: nil
299-
End:

pep-0202.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 202
22
Title: List Comprehensions
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: barry@python.org (Barry Warsaw)
3+
Author: Barry Warsaw <barry@python.org>
64
Status: Final
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -84,11 +82,3 @@ References
8482
==========
8583

8684
.. [1] http://docs.python.org/reference/expressions.html#list-displays
87-
88-
89-
90-
..
91-
Local Variables:
92-
mode: indented-text
93-
indent-tabs-mode: nil
94-
End:

pep-0203.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 203
22
Title: Augmented Assignments
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: thomas@python.org (Thomas Wouters)
3+
Author: Thomas Wouters <thomas@python.org>
64
Status: Final
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -323,10 +321,3 @@ References
323321
.. [1] http://www.python.org/pipermail/python-list/2000-June/059556.html
324322

325323
.. [2] http://sourceforge.net/patch?func=detailpatch&patch_id=100699&group_id=5470
326-
327-
328-
..
329-
Local Variables:
330-
mode: indented-text
331-
indent-tabs-mode: nil
332-
End:

pep-0204.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 204
22
Title: Range Literals
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: thomas@python.org (Thomas Wouters)
3+
Author: Thomas Wouters <thomas@python.org>
64
Status: Rejected
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -297,10 +295,3 @@ References
297295
==========
298296

299297
.. [1] http://sourceforge.net/patch/?func=detailpatch&patch_id=100902&group_id=5470
300-
301-
302-
..
303-
Local Variables:
304-
mode: indented-text
305-
indent-tabs-mode: nil
306-
End:

pep-0207.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 207
22
Title: Rich Comparisons
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: guido@python.org (Guido van Rossum), DavidA@ActiveState.com (David Ascher)
3+
Author: Guido van Rossum <guido@python.org>, David Ascher <DavidA@ActiveState.com>
64
Status: Final
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -475,9 +473,3 @@ testing "if a>b:" is massively ambiguous.
475473
The inlining already present which deals with integer comparisons
476474
would still apply, resulting in no performance cost for the most
477475
common cases.
478-
479-
..
480-
Local Variables:
481-
mode: indented-text
482-
indent-tabs-mode: nil
483-
End:

pep-0208.txt

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 208
22
Title: Reworking the Coercion Model
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: nas@arctrix.com (Neil Schemenauer), mal@lemburg.com (Marc-André Lemburg)
3+
Author: Neil Schemenauer <nas@arctrix.com>, Marc-André Lemburg <mal@lemburg.com>
64
Status: Final
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -232,15 +230,3 @@ References
232230
.. [1] http://www.lemburg.com/files/python/mxDateTime.html
233231
.. [2] http://sourceforge.net/patch/?func=detailpatch&patch_id=102652&group_id=5470
234232
.. [3] http://www.lemburg.com/files/python/CoercionProposal.html
235-
236-
237-
238-
239-
..
240-
Local Variables:
241-
mode: indented-text
242-
indent-tabs-mode: nil
243-
sentence-end-double-space: t
244-
fill-column: 70
245-
coding: utf-8
246-
End:

pep-0209.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 209
22
Title: Multi-dimensional Arrays
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: barrett@stsci.edu (Paul Barrett), oliphant@ee.byu.edu (Travis Oliphant)
3+
Author: Paul Barrett <barrett@stsci.edu>, Travis Oliphant <oliphant@ee.byu.edu>
64
Status: Withdrawn
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -704,10 +702,3 @@ References
704702
==========
705703

706704
.. [1] P. Greenfield 2000. private communication.
707-
708-
709-
..
710-
Local Variables:
711-
mode: indented-text
712-
indent-tabs-mode: nil
713-
End:

pep-0210.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 210
22
Title: Decoupling the Interpreter Loop
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: davida@activestate.com (David Ascher)
3+
Author: David Ascher <davida@activestate.com>
64
Status: Rejected
75
Type: Standards Track
86
Content-Type: text/x-rst

pep-0211.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 211
22
Title: Adding A New Outer Product Operator
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: gvwilson@ddj.com (Greg Wilson)
3+
Author: Greg Wilson <gvwilson@ddj.com>
64
Status: Rejected
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -194,11 +192,3 @@ References
194192
.. [2] http://www.egroups.com/message/python-numeric/4
195193

196194
.. [3] https://mail.python.org/pipermail/python-dev/2000-July/006427.html
197-
198-
199-
200-
..
201-
Local Variables:
202-
mode: indented-text
203-
indent-tabs-mode: nil
204-
End:

pep-0212.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 212
22
Title: Loop Counter Iteration
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: nowonder@nowonder.de (Peter Schneider-Kamp)
3+
Author: Peter Schneider-Kamp <nowonder@nowonder.de>
64
Status: Rejected
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -182,10 +180,3 @@ References
182180
.. [4] http://sourceforge.net/patch/download.php?id=101129
183181

184182
.. [5] http://sourceforge.net/patch/download.php?id=101178
185-
186-
187-
..
188-
Local Variables:
189-
mode: indented-text
190-
indent-tabs-mode: nil
191-
End:

pep-0213.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 213
22
Title: Attribute Access Handlers
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: paul@prescod.net (Paul Prescod)
3+
Author: Paul Prescod <paul@prescod.net>
64
Status: Deferred
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -242,11 +240,3 @@ added to the language making this possible::
242240

243241
Additional syntactic sugar might be added, or a naming convention
244242
could be recognized.
245-
246-
247-
248-
..
249-
Local Variables:
250-
mode: indented-text
251-
indent-tabs-mode: nil
252-
End:

0 commit comments

Comments
 (0)