Commit Graph

8748 Commits

Author SHA1 Message Date
Paul Moore aaeeaeaefb
PEP 643: Further updates (#1713) 2020-11-14 20:43:39 +00:00
Brett Cannon acb6e4c0a0
PEP 641: open issue for the idea of standardizing on double digit minor version numbers (#1715) 2020-11-13 13:30:41 -08:00
Brett Cannon 19bac6162a
PEP 621: reviewer feedback (#1714) 2020-11-13 13:17:42 -08:00
Brett Cannon 855ab61a82
PEP 621: fix a spelling mistake 2020-11-10 14:36:08 -08:00
Steve Dower 7a89293d05
PEP-101: Improve description of Windows build steps for release (#1710) 2020-11-10 00:14:14 +00:00
Maggie Moss e374575f20
PEP 645: New syntax for optional types (#1707) 2020-11-09 12:42:58 -08:00
Nick Coghlan ed214e8955
PEP 642: Additional edits for 2nd posting (#1709)
* Switch to `__`` as the proposed wildcard marker
* OR patterns also need a disambiguating space before `==`
* Misc wording tweaks and other edits
2020-11-08 15:52:50 +10:00
Julien Palard f2213d72e4
PEP 101: Simplified due to centralisation of switchers in the doc. (#1438) 2020-11-07 11:43:59 +01:00
Nick Coghlan 698d027ff0
PEP 642: Accept most of Steven D'Aprano's counter-proposal (#1708)
* Equality prefix changes from '?' to '=='
* Identity prefix changes from '?is" to 'is'
* Wildcard marker reverts to '_'
* Syntactic shorthands from PEP 634 are mostly kept,
  but only as syntactic sugar for the explicit forms
* AST changes allow most match-specific code to be
  dropped from the compiler
* Add the planned post date for this version
2020-11-07 19:59:40 +10:00
Eric V. Smith 50a31d14b4
PEP 636: Fix incorrect wording (#1705) 2020-11-02 15:47:52 -08:00
Paul Moore 3fb3e01471
PEP 643: Update Post-History and clarify permitted tool behaviour (GH-1704) 2020-11-02 19:06:09 +00:00
Eric V. Smith 954e0dc7b2 Fix trivial typo. 2020-11-02 11:29:00 -05:00
Ofek Lev 75b5fd8c1e
PEP 621: fix typo (#1702) 2020-11-01 14:17:53 +11:00
Brett Cannon 3008efd0de
PEP 621: address feedback (#1701) 2020-10-31 16:29:10 -07:00
Guido van Rossum f72d3d61bc PEP 634, 635, 636: Update Post-History 2020-10-31 13:43:32 -07:00
Paul Moore ce4b45de8a
PEP 643: Further updates (GH-1700) 2020-10-31 18:49:22 +00:00
Serhiy Storchaka 55afd5fdaf
PEP 3134: Fix indentation in example. (#1699) 2020-10-31 06:41:02 -07:00
Nick Coghlan e772923bb0
PEP 642: Prepare for initial publication (#1698)
* Set initial post date
* Remove most of the caveats on the reference implementation
  (the PEP 634 test cases have been adjusted as necessary to
  pass, and new PEP 642 specific test cases added)
* Additional subsection in Deferred Ideas for negated constraints
* Add notes on PEP 635's concerns about potential semantic confusion
  between assignment targets and pattern matching
* Assorted final pre-publication tweaks
2020-10-31 16:14:04 +10:00
Mark Shannon 9128bcd1b3
PEP 626: Clarify lifetimes of helper functions and struct. (#1695)
* Clarify lifetimes of helper functions and struct.

* Mark 626 as accepted.
2020-10-30 18:23:46 +00:00
Ernest W. Durbin III 35ce93be21
PEP-8102 -- 2021 Term steering council election (#1697) 2020-10-29 09:53:28 -07:00
Nick Coghlan d253b702a4
PEP 642: Add identity constraints (#1696)
* add explicit syntax for identity constraints
* reject literal patterns (with rationale)
* reorder rejected ideas to put unpublished ideas last
* add containment constraints as a deferred idea
* update some details based on draft implementation status
* misc ReST formatting fixes and other text fixes
2020-10-30 00:40:48 +10:00
Christian Heimes 08abdc8d14
PEP-644: Require OpenSSL 1.1 or newer (#1692)
Signed-off-by: Christian Heimes <christian@python.org>
2020-10-27 19:57:45 +01:00
Brett Cannon c9a0f76dd4
PEP 641: Make Pablo the PEP Delegate (#1690) 2020-10-27 09:53:21 -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
Paul Moore e56630a365
PEP 643: Add Discussions-To and clarify handling of Python-Requires (#1689) 2020-10-26 12:22:26 -07:00
Hugo van Kemenade 4f140e4fcd
Remove unused pep2pyramid.py (#1688) 2020-10-26 12:06:23 -07:00
Hugo van Kemenade a169cac7d5
Change language from BDFL-Delegate to PEP-Delegate (#1672) 2020-10-26 11:48:42 -07:00
Paul Moore 5f8209da52
PEP 643: Metadata for Package Source Distributions (GH-1683) 2020-10-26 17:25:41 +00:00
Nick Coghlan 0265bd00d5
PEP 642: Use correct terminology for new PEG parser (#1687)
Also links to the WIP reference implementation.
2020-10-26 23:40:26 +10:00
Nick Coghlan 732d8ff3a9
PEP 642: Add notes on reference implementation status (#1686) 2020-10-26 21:36:21 +10:00
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