Commit Graph

16 Commits

Author SHA1 Message Date
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