Commit Graph

9004 Commits

Author SHA1 Message Date
Jelle Zijlstra f9bee1672a
PEP 625: Typo fixes (GH-1506)
* Typo fixes in PEP 625
2020-07-15 12:08:23 +01:00
Inada Naoki db53258b08
PEP 624: Add rejected idea. (#1508)
New section describes why this PEP doesn't deprecate
PyUnicode_Decode*** APIs.
2020-07-15 14:31:39 +09:00
Brandt Bucher bfdfd74c5c
PEP 622: Fix Django example (#1523)
Closes https://github.com/gvanrossum/patma/issues/135
2020-07-14 09:04:45 -07:00
Łukasz Langa d3ddd080ee
[pep-569] Notarize release date of 3.8.4 2020-07-13 23:12:31 +02:00
Mark Mendoza d872215d94
PEP 612: Polishing up (#1521)
* making indentation consistent

* small alteration to section structure

* providing a bit more context for the 'User Defined Generic Classes' section

* missing 'and'
2020-07-13 13:11:38 -07:00
wyz23x2 5b81f54bd3
Update pep-0008.txt (#1522) 2020-07-11 07:39:44 -07:00
Guido van Rossum ebf43452d0
PEP 596: 3.9.0b4 was published last Friday (#1519) 2020-07-11 00:44:05 +02:00
Guido van Rossum a700156ab9 PEP 622: Update Acknowledgments 2020-07-09 17:47:06 -07:00
Guido van Rossum 1317e46695 PEP 622: Mention that many scripts don't distinguish case
Fixes #1518
2020-07-09 17:41:41 -07:00
Guido van Rossum f43058cab2 Sub-patterns may be processed in parallel
Fixes #1517
2020-07-09 17:33:01 -07:00
Guido van Rossum a2e4fc9aed PEP 622: Add note to Django example
Fixes 510
2020-07-09 15:10:05 -07:00
Guido van Rossum bf6e6ec5ba PEP 622: clarify 'list of patterns' reference
Fixes #1511
2020-07-09 15:02:38 -07:00
Guido van Rossum d56591331e PEP 622: Rename 'Ambiguous Matches' section to 'Overlapping sub-patterns'
Closes #1514
2020-07-09 14:58:06 -07:00
Guido van Rossum c8c872c512 PEP 622: Fix example in static checks
Fixes #1516
2020-07-09 14:51:09 -07:00
Ram Rachum 16b6744345
PEP 622: Fix typo (#1509) 2020-07-09 13:36:20 -07:00
Guido van Rossum da849ee33c PEP 622: Two small clarifications based on early python-dev feedback
- Emphasize that the capture pattern only allows a simple/single name.
- Add dropping of default "self" positional argument to version history
2020-07-08 13:02:37 -07:00
Tzu-ping Chung 4d21729080
PEP to specify a new sdist file naming scheme (#1505) 2020-07-08 19:56:33 +10:00
Victor Stinner 501ba2d69b
Update PEP 620 (#1450) 2020-07-08 11:34:18 +02:00
Talin 382f0dfc7d
PEP 622: Added rejected ideas section comparing with traditional OOP (#1504)
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
2020-07-07 19:35:05 -07:00
Daniel F Moisset 26ac4b3d3e
PEP 622: Include overview to different patterns and summarised syntax (#1501)
Also some other improvements, and added Daniel as author (that was Guido's work).

Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
2020-07-07 16:00:55 -07:00
Daniel F Moisset e43a11d86e
PEP 622: Why the match statement is the correct feature right now (#1502) 2020-07-07 14:32:08 -07:00
Daniel F Moisset 6f3434b750
PEP622: Be more explicit about side-effects (#1503) 2020-07-07 13:47:42 -07:00
Guido van Rossum 11c354d8a3
PEP 622: Brand-new introductory sections (#1500)
Daniel Moisset and I rewrote the Abstract and "Rationale and Goals"
sections and inserted a new Overview section in between.

Also:
* Added Acknowledgments and Version History sections
* Updated links to implementation and example code, added playground link

Co-authored-by: Daniel F Moisset <dfmoisset@gmail.com>
2020-07-07 10:32:01 -07:00
Inada Naoki d51eaeec78
PEP 624: Remove Py_UNICODE encoder APIs (#1497)
Co-authored-by: Victor Stinner <vstinner@python.org>
2020-07-08 00:08:47 +09:00
Brandt Bucher f1de4f169d
PEP 622: Ditch leading dots for name loads (#1499)
Also rewrite related examples and strengthen some argumentation.
2020-07-06 16:37:45 -07:00
Talin b893d2e02b
PEP 622: Change 'target' to 'subject' (#1498) 2020-07-05 21:29:52 -07:00
Pablo Galindo 561593f1ff
PEP 617: Fix typo (#1496) 2020-07-05 11:56:20 +10:00
Victor Stinner 95ac2ff27f
Rephrase the PEP 623 (#1492)
* Rephrase the PEP 623

* Add Discussion section and bpo links

* Update pep-0623.rst

Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>

Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2020-07-04 23:12:10 +02:00
JimJJewett 058b126e7b
PEP 622: Sync explanation example; case 0 is now first (#1495) 2020-07-04 14:04:43 -07:00
Daniel F Moisset 60a15e8332
PEP 622: make the binding semantics explicit (#1490) 2020-07-02 16:11:05 -07:00
Daniel F Moisset 127fc3701e
PEP 622: Add exception semantics (#1491) 2020-07-02 14:47:45 -07:00
Guido van Rossum 2bedd36c45
PEP 622: Add argumentation against 'else' (#1489) 2020-07-01 22:46:42 -07:00
Guido van Rossum 045450aaf4
PEP 622: Strengthen the argument for _ as wildcard (#1488)
See https://github.com/gvanrossum/patma/issues/93#issuecomment-650723402

Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
2020-07-01 22:32:42 -07:00
Guido van Rossum 4b7f1fcd4c
PEP 622: Write up why we reject alternative spellings of OR patterns (#1487)
Much of this was cribbed from https://github.com/gvanrossum/patma/issues/93
2020-07-01 22:11:53 -07:00
Brandt Bucher 74c81defd0
PEP 622: Drop __match__ from the spec (#1484) 2020-07-01 08:37:47 -07:00
Talin 31d5ffe9ca
PEP 622: Re-wrote deferred ideas section (#1483)
The section that explains the decision to defer an extended
custom matching protocol has been transformed into a section
that defers custom matching altogether.
2020-07-01 07:57:00 -07:00
Guido van Rossum 2e8df86101
PEP 622: Rename 'named sub-pattern' to 'walrus pattern' (#1482) 2020-06-30 20:26:10 -07:00
Yuki Nihei f9ba5a955c
Add missing parentheses (#1486) 2020-07-01 10:58:32 +10:00
Brett Cannon 4c5a0d0203
Re-introduce 'Maintainers' (#1485) 2020-06-30 17:39:08 -07:00
Łukasz Langa 47fa1fb501
[pep-0569] [pep-0596] [pep-0619] Update Lifespan descriptions
The lifespan descriptions haven't been updated after PEP 602 has been approved.
This is now fixed. Notable changes:

- describe that the next bugfix release is not *right* after the next major
  version is released

- bugfix releases aren't made every month for 12 months but every two months
  for 18 months
2020-06-30 19:31:06 +02:00
Łukasz Langa 8c57805f1c
[pep-0569] Actual date for 3.8.4rc1, more expected dates 2020-06-30 19:27:23 +02:00
Nick Coghlan 1f1b67516a
PEP 558: Postpone to 3.10 (#1364)
Leaving as Draft as I'm still intending to work on it in the coming
months, it just wasn't ready in time for the 3.9 beta 1
deadline.
2020-06-30 22:21:31 +10:00
Brett Cannon 7e4d2545a0
PEP 621: clearly specify that metadata specified is static, but it's all optional (#1481) 2020-06-29 15:40:46 -07:00
Guido van Rossum d3bcd15cd2
PEP 622: Rename name pattern to capture pattern (#1479)
Also make the section headings describing various types of patterns plural, e.g. "Capture patterns".
2020-06-29 12:11:20 -07:00
Brandt Bucher 5aec654f9e
PEP 622: Drop ImpossibleMatchError (#1480) 2020-06-29 11:54:42 -07:00
Guido van Rossum d95ec4b557
Change definition of __match__ (#1477)
It should never raise if an attribute is missing.

Also fix one last mention of the exception for a single positional argument.

See https://github.com/gvanrossum/patma/issues/111#issuecomment-650874268
2020-06-29 09:32:21 -07:00
Guido van Rossum 430718e6a5 Fix link to deferred idea for __match__ 2020-06-28 20:30:08 -07:00
Brett Cannon fbd23d76b6
PEP 621: Clearly specify that PEP 621 is not meant to be read from an sdist (#1474)
Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
Co-authored-by: Paul Ganssle <p.ganssle@gmail.com>
2020-06-28 15:40:42 -07:00
Ned Deily 4575b0105d
3.7.8 and 3.6.11 finals 2020-06-28 09:29:04 -04:00
Brandt Bucher 0146bb56f9
PEP 622: Remove type and complex from special cases (#1475) 2020-06-27 12:22:24 -07:00