Commit Graph

8668 Commits

Author SHA1 Message Date
Nick Coghlan 5e04c595b4
PEP 642: Constraint Pattern Syntax for Structural Pattern Matching (#1685)
A counter-proposal that mostly endorses PEP 634, but
proposes an explicit marker prefix based alternative to
PEP 634's approach where attribute lookups are
processed as value constraints while simple names
are capture patterns.
2020-10-25 22:28:40 +10:00
Jimm Domingo 657677f3c5
PEP 440: update clause range for SemVer 2.0.0 (#1393)
The clauses 1-8 in the Semantic Version 2.0.0 Specification:

  *  https://semver.org/spec/v2.0.0.html

cover what were clauses 1-9 in the first release candidate of
that version of the specification:

  *  https://semver.org/spec/v2.0.0-rc.1.html
2020-10-25 14:16:20 +10:00
Marina Moore 2000c81f05
PEP 480: Update PEP 480 to account for changes to PEP 458 (#1681)
This commit adds various updates to account for changes in PEP 458, including:
* updating the link to the Python glossary
* add definitions of distribution file, target files
* clarify ‘target files’ and ‘target metadata’
* Use BLAKE 2 instead of SHA-2 in filenames
* transaction process -> upload process
* update paper links to use the permanent links from theupdateframework.io

This commit also adds a few clarifications about the purpose
of this PEP, including adding an overview of the changes needed
to implement the PEP.

Signed-off-by: marinamoore <mnm678@gmail.com>
2020-10-25 14:10:53 +10:00
Brett Cannon 38c98e574d
PEP 621: drop requiring updating sdists (#1684) 2020-10-24 16:20:05 -07:00
Brandt Bucher e2bbee5cbf
PEP 634: Fix code block markup (#1682) 2020-10-23 17:25:45 -07:00
Brett Cannon ea098c122f
Switch from Travis to GitHub Actions 2020-10-23 10:36:37 -07:00
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