Skip to content

Commit

Permalink
Many PEPs: 'Author' must be list of 'Name <[email protected]>, ...' (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Oct 5, 2022
1 parent b4bed87 commit 5fb8b28
Show file tree
Hide file tree
Showing 80 changed files with 91 additions and 870 deletions.
8 changes: 0 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,6 @@ repos:
language: pygrep
entry: '(?<=\n)Author:(?:(?!((( +|\n {1,8})[^!#$%&()*+,/:;<=>?@\[\\\]\^_`{|}~]+( <[\w!#$%&''*+\-/=?^_{|}~.]+(@| at )[\w\-.]+\.[A-Za-z0-9]+>)?)(,|(?=\n[^ ])))+\n(?=[A-Z])))'
args: [--multiline]
files: '^pep-\d+\.rst$'
types: [text]

- id: validate-author-legacy
name: "Legacy 'Author' must be a list of names/emails"
language: pygrep
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])))'
args: [--multiline]
files: '^pep-\d+\.(rst|txt)$'
types: [text]

Expand Down
5 changes: 1 addition & 4 deletions pep-0001.txt
Original file line number Diff line number Diff line change
Expand Up @@ -629,10 +629,7 @@ if the email address is included, and just:

Random J. User

if the address is not given. For historical reasons the format
``[email protected] (Random J. User)`` may appear in a PEP;
however, new PEPs must use the mandated format above, and it is acceptable to
change to this format when PEPs are updated.
if the address is not given.

If there are multiple authors, each should be on a separate line
following :rfc:`2822` continuation line conventions. Note that personal
Expand Down
6 changes: 2 additions & 4 deletions pep-0003.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 3
Title: Guidelines for Handling Bug Reports
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Jeremy Hylton)
Author: Jeremy Hylton <[email protected]>
Status: Withdrawn
Type: Process
Content-Type: text/x-rst
Expand Down Expand Up @@ -69,4 +67,4 @@ Original Guidelines
References
==========

.. [1] http://bugs.python.org/
* https://bugs.python.org
10 changes: 1 addition & 9 deletions pep-0005.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 5
Title: Guidelines for Language Evolution
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Paul Prescod)
Author: Paul Prescod <[email protected]>
Status: Active
Type: Process
Content-Type: text/x-rst
Expand Down Expand Up @@ -75,9 +73,3 @@ Steps For Introducing Backwards-Incompatible Features
the backwards incompatible version. Users will have at least a
year to test their programs and migrate them from use of the
deprecated construct to the alternative one.

..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
End:
11 changes: 1 addition & 10 deletions pep-0006.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 6
Title: Bug Fix Releases
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Aahz), [email protected] (Anthony Baxter)
Author: Aahz <[email protected]>, Anthony Baxter <[email protected]>
Status: Active
Type: Process
Content-Type: text/x-rst
Expand Down Expand Up @@ -217,10 +215,3 @@ Copyright
=========

This document has been placed in the public domain.


..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
End:
12 changes: 1 addition & 11 deletions pep-0010.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 10
Title: Voting Guidelines
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Barry Warsaw)
Author: Barry Warsaw <[email protected]>
Status: Active
Type: Process
Content-Type: text/x-rst
Expand Down Expand Up @@ -71,11 +69,3 @@ Copyright
=========

This document has been placed in the public domain.


..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
fill-column: 70
End:
11 changes: 1 addition & 10 deletions pep-0100.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 100
Title: Python Unicode Integration
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Marc-André Lemburg)
Author: Marc-André Lemburg <[email protected]>
Status: Final
Type: Standards Track
Content-Type: text/x-rst
Expand Down Expand Up @@ -1246,10 +1244,3 @@ file.]
---

* first version


..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
End:
15 changes: 3 additions & 12 deletions pep-0102.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
PEP: 102
Title: Doing Python Micro Releases
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Anthony Baxter),
[email protected] (Barry Warsaw),
[email protected] (Guido van Rossum)
Author: Anthony Baxter <[email protected]>,
Barry Warsaw <[email protected]>,
Guido van Rossum <[email protected]>
Status: Superseded
Type: Informational
Content-Type: text/x-rst
Expand Down Expand Up @@ -512,10 +510,3 @@ Copyright
=========

This document has been placed in the public domain.


..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
End:
12 changes: 1 addition & 11 deletions pep-0201.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 201
Title: Lockstep Iteration
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Barry Warsaw)
Author: Barry Warsaw <[email protected]>
Status: Final
Type: Standards Track
Content-Type: text/x-rst
Expand Down Expand Up @@ -289,11 +287,3 @@ Copyright
=========

This document has been placed in the public domain.



..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
End:
12 changes: 1 addition & 11 deletions pep-0202.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 202
Title: List Comprehensions
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Barry Warsaw)
Author: Barry Warsaw <[email protected]>
Status: Final
Type: Standards Track
Content-Type: text/x-rst
Expand Down Expand Up @@ -84,11 +82,3 @@ References
==========

.. [1] http://docs.python.org/reference/expressions.html#list-displays



..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
End:
11 changes: 1 addition & 10 deletions pep-0203.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 203
Title: Augmented Assignments
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Thomas Wouters)
Author: Thomas Wouters <[email protected]>
Status: Final
Type: Standards Track
Content-Type: text/x-rst
Expand Down Expand Up @@ -323,10 +321,3 @@ References
.. [1] http://www.python.org/pipermail/python-list/2000-June/059556.html

.. [2] http://sourceforge.net/patch?func=detailpatch&patch_id=100699&group_id=5470


..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
End:
11 changes: 1 addition & 10 deletions pep-0204.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 204
Title: Range Literals
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Thomas Wouters)
Author: Thomas Wouters <[email protected]>
Status: Rejected
Type: Standards Track
Content-Type: text/x-rst
Expand Down Expand Up @@ -297,10 +295,3 @@ References
==========

.. [1] http://sourceforge.net/patch/?func=detailpatch&patch_id=100902&group_id=5470


..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
End:
10 changes: 1 addition & 9 deletions pep-0207.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 207
Title: Rich Comparisons
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Guido van Rossum), [email protected] (David Ascher)
Author: Guido van Rossum <[email protected]>, David Ascher <[email protected]>
Status: Final
Type: Standards Track
Content-Type: text/x-rst
Expand Down Expand Up @@ -475,9 +473,3 @@ testing "if a>b:" is massively ambiguous.
The inlining already present which deals with integer comparisons
would still apply, resulting in no performance cost for the most
common cases.

..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
End:
16 changes: 1 addition & 15 deletions pep-0208.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 208
Title: Reworking the Coercion Model
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Neil Schemenauer), [email protected] (Marc-André Lemburg)
Author: Neil Schemenauer <[email protected]>, Marc-André Lemburg <[email protected]>
Status: Final
Type: Standards Track
Content-Type: text/x-rst
Expand Down Expand Up @@ -232,15 +230,3 @@ References
.. [1] http://www.lemburg.com/files/python/mxDateTime.html
.. [2] http://sourceforge.net/patch/?func=detailpatch&patch_id=102652&group_id=5470
.. [3] http://www.lemburg.com/files/python/CoercionProposal.html




..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
sentence-end-double-space: t
fill-column: 70
coding: utf-8
End:
11 changes: 1 addition & 10 deletions pep-0209.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 209
Title: Multi-dimensional Arrays
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Paul Barrett), [email protected] (Travis Oliphant)
Author: Paul Barrett <[email protected]>, Travis Oliphant <[email protected]>
Status: Withdrawn
Type: Standards Track
Content-Type: text/x-rst
Expand Down Expand Up @@ -704,10 +702,3 @@ References
==========

.. [1] P. Greenfield 2000. private communication.


..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
End:
4 changes: 1 addition & 3 deletions pep-0210.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 210
Title: Decoupling the Interpreter Loop
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (David Ascher)
Author: David Ascher <[email protected]>
Status: Rejected
Type: Standards Track
Content-Type: text/x-rst
Expand Down
12 changes: 1 addition & 11 deletions pep-0211.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 211
Title: Adding A New Outer Product Operator
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Greg Wilson)
Author: Greg Wilson <[email protected]>
Status: Rejected
Type: Standards Track
Content-Type: text/x-rst
Expand Down Expand Up @@ -194,11 +192,3 @@ References
.. [2] http://www.egroups.com/message/python-numeric/4

.. [3] https://mail.python.org/pipermail/python-dev/2000-July/006427.html



..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
End:
11 changes: 1 addition & 10 deletions pep-0212.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 212
Title: Loop Counter Iteration
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Peter Schneider-Kamp)
Author: Peter Schneider-Kamp <[email protected]>
Status: Rejected
Type: Standards Track
Content-Type: text/x-rst
Expand Down Expand Up @@ -182,10 +180,3 @@ References
.. [4] http://sourceforge.net/patch/download.php?id=101129

.. [5] http://sourceforge.net/patch/download.php?id=101178


..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
End:
12 changes: 1 addition & 11 deletions pep-0213.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PEP: 213
Title: Attribute Access Handlers
Version: $Revision$
Last-Modified: $Date$
Author: [email protected] (Paul Prescod)
Author: Paul Prescod <[email protected]>
Status: Deferred
Type: Standards Track
Content-Type: text/x-rst
Expand Down Expand Up @@ -242,11 +240,3 @@ added to the language making this possible::

Additional syntactic sugar might be added, or a naming convention
could be recognized.



..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
End:
Loading

0 comments on commit 5fb8b28

Please sign in to comment.