Commit Graph

403 Commits

Author SHA1 Message Date
Adrian Garcia Badaracco 49b5935190
PEP 746: Use an attribute instead of a method (#3892) 2024-08-11 09:49:33 -07:00
Lysandros Nikolaou 5393dd6a15
PEP 750: Fix code example and CPython version in abstract (#3902) 2024-08-11 13:55:15 +02:00
Claudia Pellegrino e684657472
PEP 750: fix specifier mixup so that they are consistent with code example (#3900) 2024-08-11 13:41:19 +02:00
Yoav 3b3af3408c
PEP 750: Add Discussions-To header (#3901) 2024-08-10 12:48:09 -07:00
Jim Baker b1d591f26f
PEP 750: Tag Strings For Writing Domain-Specific Languages (#3858)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Paul Everitt <pauleveritt@me.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
2024-08-09 16:49:09 +02:00
Savannah Ostrowski a9242b65d4
PEP 744: Additional updates from discussion thread (#3861) 2024-08-08 21:43:24 -07:00
Brett Cannon 3b290a721b
PEP 751: address comments (#3898) 2024-08-08 01:22:55 +00:00
Tal Einat 74b07ca545
PEP 661: Small updates (#3897)
* Suggest using e.g. `Literal[MISSING]`
* Minor wording improvements
2024-08-06 15:31:33 +03:00
Alyssa Coghlan 34771adaea
PEP 558: Clarify rationale for locals() snapshots (#3895) 2024-08-05 13:54:25 +10:00
Brett Cannon 85040f7b77
PEP 751: make `packages.multiple-entries` optional (#3894) 2024-08-04 20:36:55 -07:00
Hugo van Kemenade 81c5900f25
PEP 101: Rename to `add_to_pydotorg.py` (#3889) 2024-08-04 15:50:07 +01:00
Hugo van Kemenade 219ea7d3e5
PEP 745: 3.14 development has begun (#3890) 2024-08-04 14:51:38 +03:00
Fridolín Pokorný 64bbebc786
PEP 710: Link specifications instead of PEP 610 (#3887)
Signed-off-by: Fridolin Pokorny <fridolin.pokorny@gmail.com>
2024-08-03 12:39:19 +01:00
Brett Cannon 40e8ff87a5
PEP 751: add `editable` to `packages.directory` (#3888)
* PEP 751: add `editable` to `packages.directory`
Along the way address some other comments.
2024-08-02 16:42:40 -07:00
Michael K. b59f591483
PEP 719: Update 3.13.0rc1 release date (#3885) 2024-08-01 16:40:22 +03:00
Brett Cannon 43eb5fe0dc
PEP 751: address comments (#3883)
* PEP 751: address comments

* Add a comment as to why `packages.files.origin` was left out for numpy

* Make it even more obvious that file lock names are arbitrary

* Tweak a sentence
2024-07-31 23:36:37 +00:00
Fridolín Pokorný 448f383dc0
PEP 710: State initial support in PDM (#3882)
Signed-off-by: Fridolin Pokorny <fridolin.pokorny@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-31 23:27:49 +01:00
Fridolín Pokorný b18f2ea08d
PEP 710: check uv for possible naming collision (#3881)
Signed-off-by: Fridolin Pokorny <fridolin.pokorny@gmail.com>
2024-07-31 22:28:23 +01:00
Fridolín Pokorný c09a325bf8
PEP 710: Remove index_url and state why it was removed (#3878)
Signed-off-by: Fridolin Pokorny <fridolin.pokorny@gmail.com>
2024-07-30 17:14:13 +01:00
Fridolín Pokorný 0acda961f9
PEP 710: Require at leat one hash to be stated (#3879)
Signed-off-by: Fridolin Pokorny <fridolin.pokorny@gmail.com>
Co-authored-by: Seth Michael Larson <seth@python.org>
2024-07-30 17:13:09 +01:00
Brett Cannon 07fc184eea
PEP 751: update based on feedback (#3877)
* PEP 751: update based on feedback

* Fix a section underline
2024-07-26 22:52:27 +00:00
Hugo van Kemenade da8cf9fcbe
PEP 665: Superseded-By: 751 (#3875) 2024-07-26 13:58:25 +01:00
Brett Cannon cb5caa843e
PEP 715: clarify what `[package.tool]` is (#3873) 2024-07-25 21:56:44 +00:00
Karolina Surma db2a96f8e1
PEP 639: Incorporate the latest discussion feedback (#3866)
* Remove the requirement of license-files defaults

* Cover all rejected subkeysideas in one paragraph

* Change the deprecation policy around classifiers

* Flatten the value of the license-files key, only globs are specified

* Update the Rejected ideas to match the current license-files proposal

---------

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
2024-07-25 14:07:53 -07:00
Brett Cannon 3dc383ad9e
PEP 751: Add Discussions-To and Post-History (#3872) 2024-07-25 11:59:04 -07:00
Petr Viktorin 2eb4fe5313
PEP 743: Rewrite to hide (soft-)deprecated API (GH-3869)
Co-authored-by: Victor Stinner <vstinner@python.org>
2024-07-25 14:32:18 +02:00
Brett Cannon 92634ee01f
PEP 751: A file format to list Python dependencies for installation reproducibility (#3870)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
2024-07-24 16:13:38 -07:00
Mariatta d0bbb6bdbb
PEP 635: Minor typo fix in code sample (#3871)
Looks like an unclosed f-string.
2024-07-24 23:56:04 +01:00
Lavrentiy Rubtsov 06debd965c
PEP 8: Update a Wikipedia link (#3552) 2024-07-24 12:02:17 -07:00
Jelle Zijlstra c1c52a5832
PEP 749: Add section on metaclasses (#3847)
Co-authored-by: Carl Meyer <carl@oddbird.net>
2024-07-23 13:49:18 -07:00
William Woodruff 6906bb2e07
PEP 740: Mark as Provisional (#3848)
Signed-off-by: William Woodruff <william@yossarian.net>
2024-07-18 16:49:15 +01:00
T. Wouters 1bb0b45e35
PEP 719: Update for today's release of 3.13.0b4 (#3868) 2024-07-18 08:39:56 -06:00
Hugo van Kemenade d2d6d71319
Meta: Document the PEPs API (#3864)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-16 23:04:03 -06:00
Hugo van Kemenade 7eed7f6853
PEP 11: Add Russell as an iOS contact (#3865) 2024-07-16 11:26:06 -07:00
Hugo van Kemenade 9ebb50cc85
PEP 101: Remove outdated info and add new info (#3863)
* PEP 101: Remove outdated info

* PEP 101: Update make command for running tests

* PEP 101: Replace '#python-dev and/or python-committers' with 'Discord and/or Discourse

* PEP 101: Add Hugo as 3.14 RM

* PEP 101: Add to PSRT
2024-07-15 11:09:45 +02:00
Hugo van Kemenade 181ffb65a2
PEP 2026: Update following discussion (#3860)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2024-07-11 17:35:42 +02:00
Barry Warsaw 92cf372007
PEP 694: Fix typo (#3859) 2024-07-10 14:28:34 -07:00
David Foster 1ad22881bc
PEP 747: Fix rules related to UnionType (T1 | T2). Contrast TypeExpr with TypeAlias. Apply other feedback. (#3856) 2024-07-08 19:17:30 -07:00
Savannah Ostrowski 8c02849924
PEP 744: Add link to slides and clarification about LLVM dependency (GH-3850) 2024-07-03 22:08:25 -07:00
Alyssa Coghlan 2d60997b1c
Intersphinx config: add Python 3.13 docs (#3855) 2024-07-04 12:30:02 +10:00
boomxy c14376672f
PEP 667: Change slots in FrameLocalsProxy (#3805)
Update pep-0667.rst

Changed __slots__ in FrameLocalsProxy
2024-07-03 10:01:00 -07:00
Fridolín Pokorný 7df3ef8738
PEP 710: Add ``index_url`` key to ``provenance_url.json`` (#3246) 2024-07-02 16:24:26 +03:00
Karolina Surma c21ff55815
PEP 639: Apply changes to the draft based on the Discourse thread (#3835)
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
2024-06-28 15:20:47 -07:00
Hugo van Kemenade 15b87159e5
PEP 719: Update 3.13.0b3 release date (#3854) 2024-06-28 12:55:23 +02:00
Victor Stinner dcbf9b2bae
PEP 731: Update C API WG members (#3852) 2024-06-27 17:01:11 +02:00
Matthew Rahtz 9a1b48dd05
PEP 646: Mark Final (#3832) 2024-06-26 17:41:45 -07:00
Filipe Laíns f5acaf3b9f
PEP 739: update fields based on feedback and add JSON Schema (#3851) 2024-06-26 06:54:06 +00:00
Joshua Bambrick e7003f09f9
PEP 736: Add 'How to Teach This' (#3838)
* Minor improvements

* Expand How to Teach This

* Fix explanation of f(*,x)

* Move How to Teach This

* Remove comment about syntax highlighting

* Clarify 'one name'

* Address comments

* Highlighting other references

* Add comment about extending the AST node attributes

* Clarify logic in case of expanding syntax on mouseover

* Fix list format

* Address willingc comments

* Retain 'a very simple' for discussion

* Add 'relatively straightforward'
2024-06-23 04:09:07 +10:00
David Foster be31ca3251
PEP 747: Add new "How to Teach This" section. Address other feedback. (#3849) 2024-06-21 18:26:30 -07:00
wyattscarpenter 25419bd3d3
PEP 0592: typo "awhile ago" → "a while ago" (#3844)
Typo in pep-0592.rst: "awhile ago" → "a while ago"
2024-06-18 10:55:29 -07:00
David Foster 5fa23eecb5
PEP 747: Add Discussions-To link (#3839) 2024-06-17 07:47:12 -07:00
David Foster 3e200c644b
PEP 747: TypeExpr: Type Hint for a Type Expression (#3798)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-06-16 15:42:44 -07:00
David Foster c6fc1210bf
PEP 12: Extract Intersphinx section. Add example of Intersphinx reference. (#3827)
* PEP 12: Extract Intersphinx section. Add example of Intersphinx reference.

* Update peps/pep-0012.rst

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

---------

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-06-14 16:31:40 -07:00
Stephen Rosen e947a9dcb0
PEP 735: rename 'include' to 'include-group' (#3836)
This changes the key used in PEP 735 Dependency Group Includes to be
'include-group'. Per feedback, and related to discussions about the
future direction of the PEP, this key will be less ambiguous when
Dependency Group Includes appear in other contexts and tables.
2024-06-14 16:01:17 -07:00
Hugo van Kemenade ae5512c91d
PEP 2026: Add Discussions-To and Post-History (#3837) 2024-06-14 14:31:55 -06:00
Hugo van Kemenade c8eac390dd
PEP 2026: Calendar versioning for Python (#3834)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-06-14 19:26:34 +03:00
William Woodruff 67631c3428
PEP 740: tweak JSON simple API prescriptions (#3768)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Facundo Tuesca <facundo.tuesca@trailofbits.com>
2024-06-12 20:08:35 +00:00
Alyssa Coghlan 764f563338
PEP 683: Mark Final (#3824)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-06-12 12:00:45 -06:00
Rebecca Chen 1a199b5080
PEP 746: small clarification to specification. (#3828) 2024-06-12 00:19:05 -06:00
Alex Waygood e8273d3ed3
Many typing PEPs: add more links to canonical docs (#3821) 2024-06-11 23:12:09 +01:00
qexat c5915b3ae0
PEP 749: use `annotationlib` as the proposed module name throughout (#3833)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-06-09 23:00:31 +00:00
Jelle Zijlstra 93557b3808
PEP 749: Add note on signature of __annotate__ (#3831) 2024-06-09 05:52:48 -06:00
Hugo van Kemenade afb586782c
PEP 693, 719: Update 3.12.4 and 3.13.0b2 release dates (#3830) 2024-06-07 20:51:11 -07:00
Barry Warsaw a17f32faf0
PEP 712: Mark as Rejected (gh-3829)
* Officially reject PEP 712
2024-06-06 19:57:11 -04:00
Hugo van Kemenade 7afb2339fe
PEP 745: Remove my email (#3820) 2024-06-06 19:53:10 +03:00
Jelle Zijlstra 736c72935b
PEP 749: Updates from discussion (#3823)
* Reject "make it a no-op forever"

* annotationlib
2024-06-06 05:03:41 -07:00
Adrian Garcia Badaracco 8a3d3f0f4a
PEP 746: Apply comments from review (#3802)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-06-05 16:22:37 -07:00
Adrian Garcia Badaracco 46e2cf7169
Add note to PEP-746 about raising NotImplementedError (#3822) 2024-06-05 16:21:31 -07:00
Alex Waygood 35940faeb0
PEP 561: link to canonical typing-spec on distributing typed Python packages (#3818) 2024-06-05 08:44:49 -07:00
Erlend E. Aasland 929fee4c3a
PEP 731: Update C API WG members (#3804) 2024-06-05 13:33:56 +02:00
Jelle Zijlstra 7c738cacf5
PEP 749: Make one point more explicit (#3816) 2024-06-04 20:00:15 -07:00
Jelle Zijlstra 6a3075f867
PEP 749: Discussions-To (#3815) 2024-06-04 18:15:53 -07:00
Jelle Zijlstra 0a803fec89
PEP 749: Implementing PEP 649 (#3814)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-06-04 11:17:25 -07:00
Kirill Podoprigora e73affad48
PEP 684: Mark as Final (#3810) 2024-06-04 11:05:36 -06:00
Zac Hatfield-Dodds 375d7c9158
PEP 789: Preventing task-cancellation bugs by limiting yield in async generators (#3782)
* PEP 9999: First draft for limiting-yield

* PEP 9999: cleanups and clarifications

* PEP 789

* PEP 789: further clarifications

* PEP 789: fix typos

* PEP 789: move codeowners entry

* PEP 789: "block" -> "prevent"

because the term "block" is overloaded in this context.

* PEP 789: maybe just deprecate asyncgens?

* PEP 789: why to keep async gens

* PEP 789: add corrected code sample

* PEP 789: can't just deliver exceptions

* PEP 789: bytecode inspection?

* PEP 789: various small updates

* PEP 789: mermaid diagrams

For expedience I'm using sphinxcontrib-mermaid here; we can easily embed .png versions before merging if preferred.

* PEP 789: footnotes section

* PEP 789: minor clarifications

* PEP 789: minor expression edits

---------

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-06-03 18:45:13 -07:00
Hugo van Kemenade e3fae76486
PEP 578: Mark as Final (#3811) 2024-06-03 17:51:21 +03:00
Hugo van Kemenade 097f2d8885
PEP 581: Mark as Final (#3807) 2024-06-01 21:57:49 -07:00
Erlend E. Aasland 7d0084f3c9
PEP 737: Clarify '%T' description (#3806) 2024-06-01 22:53:34 +02:00
Hugo van Kemenade db15dde802
PEPs 8104, 8105: Mark as Final (#3808) 2024-06-01 14:32:02 -06:00
Hugo van Kemenade 33150178ce
PEP 615: Mark as Final (#3592)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-06-01 14:10:03 -06:00
Hugo van Kemenade f05704238b
PEP 590: Mark as Final (#3598)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-06-01 14:09:32 -06:00
Alyssa Coghlan d1aae7bae0
PEP 667: PyFrame_GetLocals is no longer new (#3793)
PyFrame_GetLocals was already added back in Python 3.11,
so PEP 667 is changing it rather than adding it.

(Discrepancy picked up while writing the C API docs update)
2024-06-01 13:56:09 +10:00
Fabian P. Schmidt c85a956398
PEP 667: Fix word duplication (#3803) 2024-05-29 13:38:17 +01:00
Victor Stinner 90da34b363
PEP 741: Update (#3800)
* Describe relation with PEP 587 PyConfig API.
* Remove PyInitConfig_CreatePython().
* Rename PyInitConfig_CreateIsolated() to PyInitConfig_Create().
* Rejected Ideas: locale encoding and wide strings.
2024-05-29 14:15:22 +02:00
Adrian Garcia Badaracco 09337ad4a5
PEP 746: Type checking Annotated metadata (#3785)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-05-28 17:04:10 -07:00
Shantanu edaa764473
PEP 729: Link to current membership (#3799) 2024-05-28 06:07:09 -07:00
Hugo van Kemenade 1f3e7386ef
PEP 602: Link to SC acceptance (#3797) 2024-05-27 22:47:01 -07:00
Hugo van Kemenade b14f4e77a1
PEP 594: Re-link removed batteries to last included version (#3778) 2024-05-25 07:48:58 -06:00
Victor Stinner 0f45dbd37b
PEP 741: Address Steering Council's review (#3789)
* Remove string types other than UTF-8.
* Exclude the API from the limited C API.
* Remove the explicit preconfiguration.
* Remove the rationale about the limited C API / stable ABI.
2024-05-25 15:06:53 +02:00
Jelle Zijlstra 2d2cdf1bd3
PEP 649: Retarget to 3.14 (#3790)
https://discuss.python.org/t/pep-649-deferred-evaluation-of-annotations-tentatively-accepted/21331/65
2024-05-23 17:46:58 -07:00
Łukasz Langa c61d8a135d
PEP 719: Update Python 3.13 beta 2 and beta 3 schedules
Source: https://discuss.python.org/t/delaying-3-13-0b2-by-a-week/53911
2024-05-23 18:16:15 +02:00
Hugo ChunHo Lin fca6000dfd
PEP 544: Add missing empty body to examples (#3783) 2024-05-17 12:58:16 -04:00
Kirill Podoprigora 134897bc1f
PEP 667: Mark as Accepted (#3784) 2024-05-16 20:48:34 -06:00
Jörg Thalheim 2b85223700
PEP 668: Update link to official NixOS wiki (#3775)
This commit updates the the link from the former, unofficial nixos wiki page to the new https://wiki.nixos.org

ref: NixOS/foundation#113
2024-05-16 21:32:43 -04:00
Ofek Lev 928d64defb
PEP 723: Mark as final (#3772)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-05-16 06:27:35 -06:00
Sean O Brien 5768da3e68
PEP 719: Update 3.13.0b1 release date (#3779)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-05-15 04:57:15 -06:00
Joshua Bambrick f1d490fdd0
PEP 736: Address first round of feedback (#3639)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-05-13 05:02:12 -06:00
Miro Hrončok d3e304e8d6
PEP 639: Examples, always use ${VERSION}, not {version} (#3777) 2024-05-13 06:30:47 -04:00
Karolina Surma df80a63221
PEP 639: Update the discussion thread link + acknowledge the advisors (#3776)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-05-10 07:52:08 +00:00
Karolina Surma 0efd257074
PEP 639: Post-split edits (language simplification, deeper edits of sections) (#3743)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-05-10 07:04:17 +03:00