Commit Graph

12 Commits

Author SHA1 Message Date
Ken Jin bff63f80cf
PEP 634: Fix error typo in mapping patterns (TypeError ->ValueError) (GH-1839) 2021-02-23 23:15:36 -08:00
Brandt Bucher f304c6f353
brandtbucher@gmail.com -> brandt@python.org (GH-1814) 2021-02-11 14:32:18 -08:00
Brandt Bucher 604b51399c
PEP 634/635/636: Accept! (#1807) 2021-02-08 16:37:04 -08:00
Guido van Rossum f72d3d61bc PEP 634, 635, 636: Update Post-History 2020-10-31 13:43:32 -07:00
Brandt Bucher e2bbee5cbf
PEP 634: Fix code block markup (#1682) 2020-10-23 17:25:45 -07:00
Daniel F Moisset 5a65e84863
PEP 634: Describe how keys are compared in mapping patterns (#1675) 2020-10-22 16:32:17 -07:00
Guido van Rossum ae72ad352a PEP 634: fix error in definition of irrefutable pattern 2020-10-22 09:46:45 -07:00
Guido van Rossum d3f060d0ca PEP 634: expand section on side effects and undefined behavior 2020-10-21 18:52:20 -07:00
Guido van Rossum dad6766f2b
PEP 634: change walrus pattern to AS pattern (#1661)
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
2020-10-19 15:30:33 -07:00
Guido van Rossum a888e419e7
PEP 634: Define irrefutable and add requirements around it (#1649) 2020-10-12 16:53:02 -07:00
Guido van Rossum ada9ee667f
PEP 634: Finish up, ready for SC review (#1633)
Clean up PEP 634 (the new PEP 622).

Renamed Constant Value Pattern to Value Pattern. Renamed a few other grammar rules as well.

Leave open for the SC to decide: whether to change `name := pattern` to `pattern as name`.

Note that the companion PEP 635 (motivation and rationale) and PEP 636 (tutorial) are not yet ready.
2020-10-08 15:09:40 -07:00
Guido van Rossum 0c87b5a018
PEP 634, PEP 635, PEP 636: Split PEP 622 in three parts (#1598) 2020-10-01 17:04:25 -07:00