Commit Graph

9453 Commits

Author SHA1 Message Date
Ned Deily 58b93bdfdb
PEP 494: move 3.6 to end-of-life status. 2021-12-31 20:55:18 -05:00
Irit Katriel f2f542d544
PEP-654: clarify that BaseExceptionGroup is the factory function that… (GH-2203) 2021-12-27 21:51:08 +00:00
Anatoli Babenia b07248305b
440: Extend example to clarify 1.dev0 < 1.0.15 (#2108)
>>> from packaging.version import Version
    >>> Version("1.dev0") > Version("1.0.15")
    False
2021-12-23 16:24:41 +10:00
Nick Coghlan cb8b62e1d0
PEP 558: remove lingering mentions of the 'view' API (#2204) 2021-12-23 13:04:55 +10:00
Nick Coghlan dedc9d250e
PEP 558: Adopt Python level semantics from PEP 667 (#2124)
* fast locals proxy never assumes the value cache is already up to date
* operations become O(n) as required to avoid that assumption
* remove `*View()` APIs from proposal due to algorithmic complexity issue
* add Python pseudo-code to the PEP 667 comparison section
* reword PEP 667 comparison section to focus on the remaining differences
  in the C API proposal
2021-12-23 09:25:51 +10:00
Brett Cannon 107361803d PEP 665: link to a locker PoC 2021-12-22 11:13:35 -08:00
Zac Hatfield-Dodds 8c43285a06
PEP 678: Enriching Exceptions with Notes (#2201)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-12-22 08:13:01 -08:00
Brett Cannon 886624a3a5 PEP 665: fix reST error 2021-12-21 11:56:18 -08:00
Brett Cannon 991cc7a295 PEP 665: outline a potential transition plan 2021-12-20 17:00:33 -08:00
Brett Cannon 79cddd5639 PEP 665: address review feedback 2021-12-20 14:10:15 -08:00
Dimitri Papadopoulos Orfanos ec3ac5bf29
PEP 7: No need to call out in-line (//) comments twice (#2074)
It's already mentioned in a preceding bulleted sublist.
2021-12-20 12:52:55 -08:00
CAM Gerlach f82973df46
Don't auto-add inline links to ref section & rm if empty, per #2130 (#2155)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2021-12-18 15:23:14 -08:00
Steven Troxler 21f6df59ed
PEP 677: Clarify support for PEP 646 Unpack/* (#2198) 2021-12-18 10:55:56 -08:00
CAM Gerlach 80e009085f
PEP 639: Make requested additions and changes, add additional helpful info, reformat, update and copyedit (#2164)
* PEP 639: Reframe core metadata update as discrete proposal per PEP 643

* PEP 639: Clean up formatting, syntax, spelling, headers and lists

* PEP 639: Rewrite to reflect License-Expression field and depr process

* PEP 639: Update examples, current tools survey, links and more

* PEP 639: Add PEP 621, expand/move examples & reorganize/shorten headings

* PEP 639: Further specify and clarify license file handling

* PEP 639: Add additional ambigous classifiers and tool recommendations

* PEP 639: Rework PEP 621 keys, refine dynamic/globs & add rejected ideas

* PEP 639: Specify license path root & subdirs, & expand examples

* PEP 639: Add license_files dir, rejected ideas & sdist/wheel/installed

* PEP 639: Add PyPI validation of new fields for newly-uploaded files

* PEP 639: Add open isssue for back-filling & reject per-dist licenses

* PEP 639: Add User Scenarios to provide guidance for common use cases

* PEP 639: Update Abstract, Goals, Rationale, Compat. & other sections

* PEP 639: Add terminology section & use consistant, clear & correct terms

* PEP 639: Make refs inline per #2130, add links, fix others & refine text

* PEP 639: Copyedit and proofread for grammar, phrasing, clarity & tone

* PEP 639: Address reviewer and community feedback

* PEP 639: Add custom IDs issue & clarify rejected license key str value
2021-12-17 15:20:01 -08:00
Edward O 0e3c5cf71b
Typo in pep-0616 (removeprefix) 'Rejected' section (#2197) 2021-12-17 14:49:28 -08:00
Steven Troxler fc2e5d0106
PEP 677: Update the thanks section (#2196) 2021-12-16 09:14:56 -08:00
Pradeep Kumar 9c60e96f0f
PEP 673: forbid Self in type aliases. (#2194)
Thanks to Eric Traut who tested all the code examples in Pyright and
raised implementation concerns about ``Self`` type in aliases.

I ran into implementation issues in Pyre too. This is because Pyre
preprocesses things like ``Self`` in an early phase and does alias
resolution in a later phase. Mixing the two would lead to a lot of
hacks.
2021-12-16 06:41:11 -08:00
Ee Durbin b999554240
PEP-8103: Results (#2195) 2021-12-16 07:12:18 -05:00
Steven Troxler c8a66e38e6
PEP 677: Readability and organizational edits (#2193)
* Address Guido's comments from initial PR

* Update functions-as-types based on Pradeep's feedback

* Fix some markup, address comments on endpoint example

* Rearrange Motivation and Rationale

* Move the language comparison subsection to Rational

* Fix more markup errors

* Rework "Motivation" section again

Going with Pradeep's suggested order:
- untyped example
- correct types
- partially-typed code
- our proposal

* Fix more lint errors

* Add a section highlighting a concern about -> readability

* Update the add/wrap/flatmap example

* Wording change suggested by AlexWaygood

* Add missing return annotation

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>

* Break up long sentence

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

* Break up long sentence (thanks Jelle)

* Reword awkward sentence (thanks Pradeep)

* Rearrange paragraphs in Motivation

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-12-15 21:23:34 -08:00
Steven Troxler 581d21d947
PEP 677: Callable Type Syntax (#2187)
Ported from a google doc at
https://docs.google.com/document/d/16UmBItZWIzKZK3ZTpDKH8vazNZ817E4UqKmPtebO4jQ/edit

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Tuomas Suutari <tuomas@nepnep.net>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
2021-12-13 20:31:31 -08:00
Matthew Rahtz 27b476d1c6
PEP 646: Explain the results of the new grammar/compiler change (#2189) 2021-12-13 13:22:29 -08:00
Paul Moore 641e39fa70
PEP 643 - Mark as Final (GH-2191) 2021-12-13 19:17:45 +00:00
Julin S 621208878f
Fix typo (#2192)
Fix a typo.
2021-12-13 09:15:18 -08:00
Mark Shannon 773ff9e1c7
PEP 669: Add an enum and namespace to the interface. (#2186) 2021-12-10 13:17:58 +00:00
Ram Rachum 83cfd2f7d3
Change unicode quotes with ASCII quotes (#2188) 2021-12-09 15:37:35 +02:00
bobozi-cmd 9dade42dbe
PEP 7: Mention PyAPI_DATA() macro (#2184) 2021-12-08 16:41:17 -08:00
Pablo Galindo 4f9188c572
PEP 664: Update date for Python3.11.0a2 and Python.3.11.0a3 2021-12-08 23:59:34 +00:00
Pradeep Kumar f1c02245cc
[PEP 646] Allow cleanly substituting any tuple type for a TypeVarTuple (#2162)
A number of cleanups also happened, improving readability of various sections and examples, but the only *semantic* change here is that TypeVarTuples can now be substituted with unbounded tuples (previously that was explicitly forbidden, but we convinced ourselves that there is no reason for that).
2021-12-08 14:07:27 -08:00
Mark Shannon 23307c1239
PEP 669: Low Impact Monitoring for CPython (#2183) 2021-12-07 15:09:44 +00:00
Hugo van Kemenade 268b0c1d36
PEP 619: Python 3.10.1 was released on 2021-12-06 (#2185) 2021-12-07 10:03:52 +00:00
Brett Cannon 8b43411c73 PEP 12: fix reST directive error 2021-12-06 16:09:16 -08:00
Brett Cannon 885552cec7 PEP 12: ignore the template file when building
Also ignore `.venv` as a common virtual environment name.
2021-12-06 15:56:51 -08:00
Brett Cannon cd1e507dd8
PEP 12: create a complete PEP template (#2181) 2021-12-06 15:38:13 -08:00
Mark Shannon 91b9f68579
PEP 667: Update to account for changes to PEP 558 and feedback from Nick. (#2180)
* Remove incorrect implementation of pop(). There is an implementation in collections.MutableMapping so it is not needed. Add implementation of __contains__.

* Remove outdated section on differences with PEP 558.
2021-12-06 10:11:27 +00:00
Hugo van Kemenade e47f9242f8
Rename master to main (#2178) 2021-12-03 06:59:24 -08:00
Hugo van Kemenade e5c7822dcd
PEPs 1, 426, 512, 545, 8001, 8002, 8016: rename master to main (#2179) 2021-12-03 12:29:10 +01:00
Adam Turner 54e9bd01a3
PEP 676: PEP Infrastructure Process (#2173) 2021-12-02 11:57:42 -08:00
Ee Durbin b6e3845f4c
Update to deploy from main (#2176) 2021-12-02 13:29:46 -05:00
Victor Stinner ce2ed3eb88
PEP 674: Sam's endorsment for the nogil section (#2175) 2021-12-02 17:57:02 +01:00
Victor Stinner c6df2854f9
PEP 674: Fix typo (#2174) 2021-12-02 15:54:23 +01:00
Victor Stinner 8f76cc83ea
PEP 674: fix typo (#2172) 2021-12-01 15:54:08 -08:00
Chris Angelico 2f8088c384 PEP 671: Document QUERY_DEREF among implementation details 2021-12-02 09:57:15 +11:00
Pradeep Kumar 21f6993114
PEP 675: Arbitrary literal strings (#2167) 2021-12-01 09:57:41 -08:00
Tim Felgentreff 7d8c2a104a
PEP 674: GraalPython C API emulation rationale (#2171) 2021-12-01 18:33:11 +01:00
Victor Stinner 6caef0d18c
PEP 674: HPy (#2169) 2021-12-01 17:39:49 +01:00
Victor Stinner 23c90120e3
PEP 674: Backward compatibility (#2170) 2021-12-01 17:05:22 +01:00
Chris Angelico 45cf9e5250 PEP 671: Quick pass over wording and settle some things from discussion 2021-12-01 17:04:57 +11:00
Victor Stinner 745bfda492
PEP 674: fix creation date; add myself to CODEOWNERS (#2168) 2021-12-01 00:30:08 +01:00
Victor Stinner 509154a4d5
PEP 674: Disallow using macros as l-value (#2166) 2021-11-30 19:12:11 +01:00
Victor Stinner 3388a3753c
PEP 670: Link to python-dev discussion (#2165) 2021-11-29 17:31:40 +01:00