Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP 634, PEP 635, PEP 636: Create the structure for the PEP 622 split #1598

Merged
merged 55 commits into from
Oct 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
f64f069
Create the structure for the PEP 622 split
gvanrossum Sep 12, 2020
b3da517
Checkpoint -- converted up to and including Constant Value Patterns t…
gvanrossum Sep 12, 2020
8220a48
Target->subject; started on sequence and mapping
gvanrossum Sep 12, 2020
aaa3180
Always use ``match`` statement
gvanrossum Sep 12, 2020
9b46594
Finish mapping pattern, some tweaks
gvanrossum Sep 12, 2020
5879ee5
PEP 636: Sponsored by GvR
brandtbucher Sep 12, 2020
f3b262c
Remove bool from "match self" examples
brandtbucher Sep 12, 2020
520a68f
Clean up the simplified grammar
brandtbucher Sep 12, 2020
15fdb0f
Change float example to use bool
brandtbucher Sep 12, 2020
4295a58
Patterns match subjects
brandtbucher Sep 12, 2020
1518f84
Mapping patterns use get()
brandtbucher Sep 12, 2020
8c63baf
Clean up TODOs
brandtbucher Sep 12, 2020
846df5b
Allow "_" in class patterns.
brandtbucher Sep 13, 2020
cfd9e74
Remove comment
brandtbucher Sep 13, 2020
944bda9
Say 'the pattern matches the subject', not vice versa
gvanrossum Sep 13, 2020
ae2ab7d
Put back some subtleties around *_, **_
gvanrossum Sep 13, 2020
1a33f3c
Add abstract and first section
dmoisset Sep 13, 2020
1cc25bc
Finished sequence pattern; added some TODOs; moved walrus around; tweaks
gvanrossum Sep 14, 2020
6f1cac7
Add 'Overview and terminology'; s/sub-pattern/subpattern/g
gvanrossum Sep 14, 2020
77f82e5
Add/update some TODO sections
gvanrossum Sep 14, 2020
a818768
Completed first draft of sequence based tutorial
dmoisset Sep 14, 2020
4a254fa
Flesh out motivation section a bit
gvanrossum Sep 15, 2020
b299ee7
Added motivation and history
Tobias-Kohn Sep 15, 2020
87ef7ef
Adding to PEP-635
Tobias-Kohn Sep 15, 2020
b59dc5c
Merge branch 'pep-636' into pep-622-split
gvanrossum Sep 16, 2020
110f40f
Fix ReST markup
gvanrossum Sep 16, 2020
3da4557
Adding rationales to individual patterns
Tobias-Kohn Sep 16, 2020
ebf907a
Minor editorial fixes, and moving into new branch
dmoisset Sep 16, 2020
44271fe
Adding rationale for literal and constant patterns
Tobias-Kohn Sep 17, 2020
3423426
Small tweaks; add some TODOs
gvanrossum Sep 17, 2020
8b46c48
Added class patterns to PEP-635
Tobias-Kohn Sep 18, 2020
4d9c626
Add wording fixes suggested in review
dmoisset Sep 18, 2020
43ae8e8
Typos and such
gvanrossum Sep 23, 2020
a33d22d
Use ^^^ for sub-sub-headings
gvanrossum Sep 23, 2020
bec9f8a
Modernize class pattern, and more
gvanrossum Sep 23, 2020
f148904
Modernize OR patterns
gvanrossum Sep 23, 2020
68c7226
Modernize walrus pattern
gvanrossum Sep 23, 2020
a03c44a
Fix markup errors
gvanrossum Sep 23, 2020
f694459
Modernize description of guards
gvanrossum Sep 23, 2020
d342c4b
Move guards, walrus and OR to the top
gvanrossum Sep 23, 2020
0b1c43c
Make stdlib section toplevel
gvanrossum Sep 23, 2020
71ce943
Deal with a few more TODOs
gvanrossum Sep 23, 2020
1a313d2
Add main TODOs
gvanrossum Sep 23, 2020
8b3f98c
Add TODO: disallow open pattern w. guard
gvanrossum Sep 23, 2020
4d775de
Twiddle TODOs
gvanrossum Sep 25, 2020
502f0a9
Rewrote sections on match statement rationale
Tobias-Kohn Sep 26, 2020
51bd141
Cleaning up pep-0635
Tobias-Kohn Sep 29, 2020
8cf80e7
Apply various tweaks I proposed
gvanrossum Sep 29, 2020
cdab17d
Added sequence patterns
Tobias-Kohn Sep 30, 2020
d6fdb24
More target->subject
gvanrossum Oct 1, 2020
a0be300
Added some more patterns and examples
Tobias-Kohn Oct 1, 2020
402e2df
Resolve discrepancies between syntax sections and Appending A
gvanrossum Oct 1, 2020
698164c
Add notes about PEP incompleteness
gvanrossum Oct 1, 2020
71f3c21
Remove trailing whitespace and fix British spelling
gvanrossum Oct 1, 2020
6f18499
Fix more trailing whitespace
gvanrossum Oct 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pep-0622.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ Author: Brandt Bucher <[email protected]>,
Talin <[email protected]>
BDFL-Delegate:
Discussions-To: Python-Dev <[email protected]>
Status: Draft
Status: Superseded
Type: Standards Track
Content-Type: text/x-rst
Created: 23-Jun-2020
Python-Version: 3.10
Post-History: 23-Jun-2020, 8-Jul-2020
Superseded-By: 634
Resolution:


Expand Down
Loading