Commit Graph

8812 Commits

Author SHA1 Message Date
Hugo van Kemenade 2f4ec80cf2
Build and deploy HTML on GitHub Actions (#1669) 2020-10-23 10:32:17 -07:00
Hugo van Kemenade 984bac27c9
pep2rss.py: Use HTTPS for RSS links (#1680) 2020-10-23 08:38:15 -07:00
Daniel F Moisset e52ed7f4df
PEP 636: Fix mistake caught by @merwok (#1678) 2020-10-23 07:42:51 -07:00
Daniel F Moisset 8fba056c41
PEP 636: Add section on built-in class patterns and qualified names (#1673)
Some rearranging of sections to connect the story more
linearly after adding the new sections.

Minor editorial updates
2020-10-22 16:35:30 -07:00
Daniel F Moisset e74e7d8ba1
PEP 635: Spelling fixes (#1676) 2020-10-22 16:33:57 -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
Gregory P. Smith 871c59e334
PEP 594: add hyperlinks to the table of replacements (GH-1674)
* PEP-594: Add hyperlinks to the recommended replacements.
2020-10-22 16:17:50 -07:00
Barry Warsaw f963b2cc5e
Don't remove the legacy email modules (#1671) 2020-10-22 11:18:54 -07:00
Larry Hastings a0759dcaaf Update PEP 101 wrt new tech for EOL-ing a branch. 2020-10-22 10:53:10 -07:00
Guido van Rossum ae72ad352a PEP 634: fix error in definition of irrefutable pattern 2020-10-22 09:46:45 -07:00
Larry Hastings e75e964d56 Update PEP 101: version_switch.js -> switchers.js
The old name "version_switch.js" is completely dead.
Only the new name is in use in all active branches.
So there's no need to keep the old name floating around
in a lively, actively maintained, devastatingly current
document like PEP 101.
2020-10-22 05:05:14 -07:00
Kyle Stanley 0511666bde
PEP 8: Add one line docstring example (#1670) 2020-10-21 19:20:02 -07:00
Guido van Rossum 48e95e4767 PEP 636: Remove 'incomplete draft' note
It's not quite complete but close enough
2020-10-21 18:54:07 -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 d3f060d0ca PEP 634: expand section on side effects and undefined behavior 2020-10-21 18:52:20 -07:00
Łukasz Langa 1f6931b81d
[pep-0596] finalize list of implemented PEPs 2020-10-22 01:31:21 +02:00
Brett Cannon 51c655e5d2 PEP 641: Update posting details 2020-10-21 12:59:01 -07:00
Brett Cannon fcb588a889
PEP 641: Using an underscore in the version portion of Python 3.10 compatibility tags (#1667) 2020-10-21 12:50:53 -07:00
Daniel F Moisset 5f9a50d3d4
PEP-636: complete missing sections and update TLDR appendix (#1658) 2020-10-20 16:51:36 -07:00
Guido van Rossum 35bd60204b PEP 635: Add reference to DLS paper 2020-10-20 10:30:43 -07:00
T. Wouters ee89115a63
PEP 640: Update post history and fix a bit of markup. (#1664)
Update post history and fix a bit of markup, and address reviewer comments.
2020-10-20 12:58:01 +02:00
Inada Naoki 4e5d851eb7
PEP 624: Minor updates (#1666)
Remove Python 3.9 from plan, because it is released already.
Rewrite objections section.
2020-10-20 17:42:54 +09: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 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 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
T. Wouters 0181d5c214
PEP 640: Add clarification (#1662) 2020-10-19 23:58:10 +02:00
T. Wouters 4338ac9f48
PEP 640: Unused variable syntax (#1660)
First draft of PEP 640: Unused variable syntax, making assigning to '?' really do what people sometimes think assigning to '_' does.
2020-10-19 23:46:33 +02:00
Dominic Davis-Foster d7cc52b838
PEP 621: Fix grammatical error (#1659) 2020-10-19 11:10:08 -07:00
Matthias Urlichs fd725e327f
PEP 637: Add another rationale, and more (#1615)
* Add another rationale for this syntax

* Add missing escapes

* Improve wording as per comment from @stevendaprano

* added another sentence to clarify what `trio.run` actually does
2020-10-19 07:30:08 -07:00
rebcabin 3586e2004f
PEP 638: Correct punctuation (accd'ing to "Gregg Ref. Man., 11th Ed.") (#1654)
* Correct numerous punctuation errors (see "Gregg Reference Manual, 11th Edition" for definition of correct punctuation). Also fix a few clumsy usages.
2020-10-19 15:01:37 +01:00
Brett Cannon 59baefd540
PEP 621: update post history (#1657) 2020-10-18 14:10:01 -07:00
Brett Cannon 0ed5bf21c5
PEP 621: Clarify expectations for sdists (#1652) 2020-10-16 12:43:03 -07:00
Philippe Ombredanne be94151aaf
PEP 639: Minor typo fixes (#1656) 2020-10-16 12:39:49 -07:00
Davis Schenkenberger 6605d7b4e9
PEP 636: Fixed spelling error (#1642) 2020-10-15 17:24:31 -07:00
Brett Cannon 77713a634c
PEP 621: data specified is canonical (#1651) 2020-10-14 11:32:31 -07:00
Guido van Rossum 481752e211 PEP 636: fix typos
Thanks @nschneid
2020-10-13 21:15:04 -07:00
Guido van Rossum 1d43bca863
PEP 636: Add Appendix A -- Quick Intro (#1646) 2020-10-13 09:04:48 -07:00
Guido van Rossum a888e419e7
PEP 634: Define irrefutable and add requirements around it (#1649) 2020-10-12 16:53:02 -07:00
Tim Burke ecc23ea8c1
PEP 343: Clean up some __context__ context (#1631)
Clarify when the __context__() function was removed from the API; the
projected 2.5a3 tag never happened.

Also remove __context__() from example code.
2020-10-12 16:11:32 -07:00
Stefano Borini 88eb5a08a1
PEP 637 I've asked Jonathan Fine to resign as PEP author, and he's agreed to do so. Details in the pull request. (#1650) 2020-10-12 11:31:49 -07:00
Brett Cannon b8dae20a52
PEP 621 & 631: pull in details from PEP 631 into PEP 621 (#1647)
Along the way, update PEP 631 as accepted and add a note about it contributing to PEP 621.
2020-10-10 12:28:09 -07:00
Guido van Rossum 1dc309632a
Added guards and walrus patterns (#1644) 2020-10-09 10:27:58 -07:00
Stefan Pochmann a0a8919aff
PEP 584: Fix order in specification examples (#1643)
Updating an existing key's value doesn't move it to the back.
2020-10-09 10:05:24 -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
Florian Bruhin 4058b1cafb
PEP 596, 619: Update based on released versions (#1641)
https://www.python.org/downloads/release/python-390/
https://www.python.org/downloads/release/python-3100a1/
2020-10-08 17:56:21 +01:00
Gerrit Holl fd1fbe7329
PEP637 setter notation getitem -> setitem (#1640)
In PEP-0637, in the example discussing setter notation, change the example from `__getitem__` to `__setitem__`, as the former appears to be a mistake in this context.
2020-10-07 02:19:55 +11:00
mbarkhau a95341328c
fix typo: extensiom -> extension (#1638) 2020-10-06 07:23:15 +11:00