Commit Graph

26 Commits

Author SHA1 Message Date
Hugo van Kemenade 3d63099a52
PEP 635: fix duplicate labels (#2742) 2022-07-28 22:10:36 +03:00
Adam Turner 42f88f1ce2
Display list names in Resolution and Discussions-To headers (#2361) 2022-02-27 14:46:36 -08:00
CAM Gerlach e43f567e93
Upgrade lint infra & add a few more conservative built-in checks (#2286) 2022-01-31 18:49:58 -08:00
Adam Turner 113e490701
Several PEPs: Use explicit `:pep:` and `:rfc:` roles (#2209) 2022-01-21 11:03:51 +00:00
Philippe F 1f38efd742
Fix typo: swap node and match in the example (#1997) 2021-06-21 13:33:34 -07:00
Brandt Bucher 604b51399c
PEP 634/635/636: Accept! (#1807) 2021-02-08 16:37:04 -08:00
Hugo van Kemenade a2890cf4bc
PEP 621, 635, 637, 639, 642, 644, 645, 647, 650: Fix single backticks (#1797) 2021-02-05 08:09:26 -08:00
Marti Raudsepp 9b64c6ea75
Various typo/grammar/style fixes (#1789)
Changes detected by Topy (https://github.com/intgr/topy), all changes
verified by hand, false positives have been omitted.

These range from straight-out misspellings to debatable hyphen placement.
The hyphen changes are supported by grammar manuals of style.
2021-02-03 06:06:23 -08:00
Guido van Rossum 7f4bb58481
Revert "PEP 635: Add a rebuttal of PEP 642 (GH-1691)" (#1757)
This reverts commit aafca24693.

PEP 642 was updated and the commentary here is out of date.
IMO we needn't address it here.
2021-01-04 07:37:59 -08:00
Patrick Reader 66d56bcf3f
fix typos in PEP 635 (#1746) 2020-12-24 06:17:26 -08:00
Guido van Rossum f01b03ec55
PEP 635: Explain why mapping patterns ignore extra keys (#1721) 2020-11-22 09:49:51 -08:00
Guido van Rossum a4f0457bbb PEP 635: Just link to Guido's copy of the DLS'20 paper 2020-11-17 14:35:35 -08:00
Guido van Rossum 3c698c4aeb
PEP 635: Add link to Guido's copy of DLS '20 paper. (#1718) 2020-11-16 14:36:23 -08:00
Guido van Rossum f72d3d61bc PEP 634, 635, 636: Update Post-History 2020-10-31 13:43:32 -07:00
Brandt Bucher aafca24693
PEP 635: Add a rebuttal of PEP 642 (GH-1691)
Co-authored-by: Guido van Rossum <guido@python.org>
2020-10-26 22:19:25 -07:00
Daniel F Moisset e74e7d8ba1
PEP 635: Spelling fixes (#1676) 2020-10-22 16:33:57 -07:00
Guido van Rossum 3a59572771 PEP 635: Various updates
- Added sections on Backwards Compatibility, Security Implications and Reference Implementation
- Resolve remaining TODOs
2020-10-21 18:52:20 -07:00
Guido van Rossum 35bd60204b PEP 635: Add reference to DLS paper 2020-10-20 10:30:43 -07:00
Guido van Rossum 3619926f14 PEP 635: Note use of ? in IPython/Jupyter 2020-10-19 17:20:56 -07:00
Guido van Rossum e9f4d2e19c
PEP 635: More arguments against '?' wildcards (#1665) 2020-10-19 16:54:12 -07:00
Guido van Rossum 90aac8fa2d PEP 635: Small tweaks/fixes to Class pattern and History 2020-10-19 16:53:37 -07:00
Guido van Rossum f5531d435f Improve a sentence about the walrus operator 2020-10-19 15:40:03 -07:00
Guido van Rossum a4502e04d6
PEP 635: many improvements (#1663)
* PEP 635: Tweaks markup

Consistently Capitalize Headings.
Remove extra blank lines (two is enough).
Add a few TODOs.
Fix a few typos.

* Went over much of PEP 635 with a fine comb

I got as far as capture patterns.

* Tweak wildcard patterns (adding '?'); muse on 'else'

* Reviewed up to and including sequence patterns

* Checkpoint -- got halfway through Class Patterns

* Changed Walrus to AS and added rationales (Tobias)

* Fix AS-pattern example

Co-authored-by: Tobias Kohn <webmaster@tobiaskohn.ch>
2020-10-19 15:29:17 -07:00
Guido van Rossum 1dc309632a
Added guards and walrus patterns (#1644) 2020-10-09 10:27:58 -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