Commit Graph

8652 Commits

Author SHA1 Message Date
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
Laurie O 503fe576ee
PEP 633: mark as rejected (GH-1637) 2020-10-05 07:59:54 +01:00
Ofek Lev 00e16551e7
PEP 631: Finalize wording (GH-1636)
Co-Authored-By: Paul Moore <1110419+pfmoore@users.noreply.github.com>

Co-authored-by: Paul Moore <1110419+pfmoore@users.noreply.github.com>
2020-10-05 07:59:20 +01:00
Łukasz Langa ec8efbaf33
[pep-0101] Update list of current RMs, add a hint about caching 2020-10-04 20:35:22 +02:00
Łukasz Langa a4359d4c98
[pep-0569] Announce schedule of the rest of the 3.8 bugfix releases 2020-10-04 16:22:35 +02:00
Hugo van Kemenade 064e96a565
PEP 569: Python 3.8.6 was released on 2020-09-24 (#1635)
* https://www.python.org/downloads/release/python-386/
* https://discuss.python.org/t/python-3-8-6-is-now-available/5299
2020-10-02 12:16:20 -07:00
Waad Nakhleh 0766114edf
PEP 638: Fix typos (#1634) 2020-10-02 02:41:31 -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
Larry Hastings 30eab3e5b4 Retired Python 3.5 release schedule. 2020-10-01 11:43:36 -07:00
Guido van Rossum 0f7f6400a1
PEP 484: Clarify that 'import ... as ...' means 'X as X' (#1630) 2020-09-30 19:46:20 -07:00
Dustin Ingram f86dbb0f41
Clarify conditions for a successful vote (#1629) 2020-09-30 22:58:05 +02:00