Commit Graph

161 Commits

Author SHA1 Message Date
Eric Snow a71220612a
PEP 734: Add Links For Discussions (#3590) 2023-12-15 00:22:25 +00:00
Aliaksei Urbanski b8084b8d08
Update Read the Docs name and URL (#3588) 2023-12-14 21:37:56 +00:00
Ee Durbin a05ec2e2c6
PEP 8105: Publish final and complete results (#3584) 2023-12-12 12:20:36 +00:00
Chris Angelico 108ca0a79a
PEP 726: Fix error message description (#3562)
* PEP 726: Fix error message description

Zero is a non-negative number, but since zero is being excluded here, the
check is really ensuring that it is a positive number.

* s/overriden/overridden/

---------

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-12-12 06:58:40 +02:00
Hugo van Kemenade 8fe50a0397
PEP 719: 3.13.0a2 has been released (#3544)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2023-12-12 00:30:50 +01:00
Hugo van Kemenade 8ce4ba9e8a
PEP 675: Mark malicious code example with red sidebar (#3574)
Co-authored-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
2023-12-12 00:22:29 +01:00
Sebastián Ramírez d9e47a206b
PEP 727: Specify `Doc` in type aliases documents the type alias symbol, update rejected ideas (#3581)
📝 Update PEP to specify `Doc` in type aliases documents the type alias symbol
2023-12-12 00:21:54 +01:00
John T. Wodder II 0244d89009
PEP 693: Add 3.12.1 release date (#3578)
As is done for the other release schedule PEPs
2023-12-12 00:17:42 +01:00
Blazej Michalik c15cbba664
PEP 448: Fix misleading passage in the abstract (#3573)
The passage in the PEP misleads its readers into believing, that
unpacking in comprehensions is supported. This is not the case, as
presented by the abstract itself:

> This PEP does not include unpacking operators inside list, set and
> dictionary comprehensions although this has not been ruled out for
> future proposals.

(Historically, the PEP originally did propose this, but that part of
the PEP was rejected, and the abstract wasn't completely updated.)
2023-12-11 10:58:32 -08:00
Ee Durbin 8788f8875d
PEP-8105 redux (#3582) 2023-12-11 08:17:54 -05:00
Ee Durbin 32d7853cf5
PEP-8105: Publish results (#3580) 2023-12-11 07:21:28 -05:00
Hugo van Kemenade 963f564c71
PEP 634: Mark as Final (#3576) 2023-12-11 07:40:56 +02:00
Hugo van Kemenade d341072725
PEP 8: Add green and red sidbar for good and bad examples (#3567) 2023-12-09 09:19:37 -07:00
Jean Abou-Samra 0e298a1903
PEP 668: Link to PyPA spec (#3532) 2023-12-07 12:59:56 -07:00
Jacob Coffee d869ad4829
PEP 698: adjust broken or shifted links (#3569) 2023-12-07 11:44:39 +02:00
Ralf Gommers 3e4a83d130
PEP 725: version 2, addressing review comments on Discourse to date (#3546) 2023-12-06 13:48:29 -07:00
Stephen Rosen 2a8ea315ef
PEP 735: Draft 2 of Dependency Groups in pyproject.toml (#3566)
The major changes are as follows:
- remove support for path dependencies (!)
- include a reference implementation
- move 'use cases' into appendix
- rephrase position vis-a-vis Poetry and PDM, and move details
  of those tools into an appendix
- include more example data throughout
- explicitly address the lack of standardization around "reserved
  names" for Dependency Groups in several places

This revision should be shorter as well. Some redundant and wordy
sections have been struck or rewritten.

---------

Co-authored-by: Brett Cannon <brett@python.org>
2023-12-06 10:06:00 -08:00
Hugo van Kemenade f8f3b5eec5
PEP 621: Fix reference to canonical spec (#3563) 2023-12-06 09:17:05 -07:00
Hugo van Kemenade c1f1b38c78
PEP 664: Update 3.11.7 release date (#3565) 2023-12-05 16:32:19 +00:00
Victor Stinner 99825461f8
PEP 737: Add %N format, recommend fully qualified name (#3560)
* Add %N and %#N formats.
* The %T and %#T formats now expect an object instead of a type.
* Exchange %T and %#T formats: %T now formats the fully qualified
  name.
* Recommend using the type fully qualified name in error messages and
  in __repr__() methods in new code.
* Skip the __main__ module in the fully qualified name.
2023-12-05 12:15:09 +01:00
Victor Stinner 15dbd2632c
PEP 621: Remove invalid reference (#3564)
The reference is not rendered, not used, and it doesn't exist.
2023-12-05 12:09:34 +01:00
Brett Cannon a3f2522c96
PEP 11: update contacts for WASM-related platforms 2023-11-30 13:54:58 -08:00
Stephen Rosen d75db62fa3
PEP 735: Add prior art sections for JS and Ruby to appendices (#3557)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Brett Cannon <brett@python.org>
2023-11-30 13:37:22 -08:00
Jelle Zijlstra 84fc526aaa
PEP 1: Mention the Typing Council (#3550) 2023-11-29 12:16:51 -08:00
Hugo van Kemenade 7655756e59
PEP 737: Add Discussions-To and Post-History (#3556) 2023-11-29 17:21:32 +02:00
Victor Stinner d1604aeefc
PEP 737: Add link to PEP discussion (#3555) 2023-11-29 14:26:35 +01:00
Victor Stinner c094b50cc7
PEP 737: Unify type name formatting (#3554) 2023-11-29 13:44:54 +01:00
Stephen Rosen 1a089b850e
PEP 735: Dependency Groups in pyproject.toml (#3541)
Co-authored-by: James Webber <jamestwebber@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: chrysle <fritzihab@posteo.de>
2023-11-28 17:15:22 -08:00
Alice 66d1fc80bd
PEP 705: Clarifications, and define runtime behavior changes (#3526)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-28 09:42:05 -08:00
Jelle Zijlstra 8cf69d6227
PEP 5, 6: Mark as Superseded (#3547)
These are both marked as Active, but neither represents current
practice.

PEP 5 has been replaced by PEP 387, the backwards compatibility policy.
PEP 6 concerns bugfix releases. The procedure for those is now
documented at https://devguide.python.org/developer-workflow/development-cycle/
2023-11-28 06:46:07 -08:00
Eric Snow 12e276545d
PEP 683: Update the Perf Regression With the Final Benchmark Results (#3519) 2023-11-27 19:44:40 -07:00
Eric Snow 6aeaba7f23
PEP 734: Multiple Interpreters in the Stdlib (#3523) 2023-11-27 19:32:35 -07:00
Zachary Ware 242239bb0c
PEP 602: Restore Post-History header (#3472) 2023-11-27 12:14:23 -07:00
Viicos a0ccdf5c68
PEP 702: fix typo (#3548) 2023-11-26 01:26:50 -08:00
Jelle Zijlstra 3db0f12cb1
PEP 729: Reword confusing "end users" wording (#3539) 2023-11-24 15:06:11 -08:00
Ee Durbin 76cf190e5e
PEP-8105: update with nominations and voter roll (#3543) 2023-11-23 11:45:52 -05:00
Jelle Zijlstra bf89a7c592
PEP 729: Mark as Active (#3542)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-22 17:28:29 -08:00
Guido van Rossum ae7f8fb930
PEP 731: List members explicitly and mark Active (#3540)
Also drop the sentence from the abstract implying the WG members are the PEP authors (the correspondence is now a mere coincidence).
2023-11-21 11:52:19 -08:00
Erlend E. Aasland ca28a17523
PEP 7: Add C pre-processor macro style recommendations (#3516) 2023-11-16 10:37:18 +01:00
Russell Keith-Magee c0870debbc
PEP 730: More revisions and clarifications (#3529) 2023-11-15 20:13:49 -05:00
Josh Cannon f7b84aab4e
PEP 712: Update with suggestions/clarifications from discussion (#3496) 2023-11-14 11:22:34 -08:00
Jelle Zijlstra bf0b381704
PEP 387: Use the @deprecated decorator if possible (#3525)
PEP 702 says that the deprecation policy should be updated to
encourage use of @deprecated for deprecations.
2023-11-14 07:46:11 -08:00
Cristián Maureira-Fredes eb71e6a422
PEP 733: Adjust binding generator for Qt (GH-3533)
PySide was listed as a binding generator for Qt,
but PySide is the final project. The name of the used
binding generator that PySide uses, is Shiboken.
2023-11-14 12:00:51 +01:00
Ee Durbin 9afa294e28
PEP 8105: i dropped the ball, move dates on pep. (#3530)
i dropped the ball, move dates on pep 8105.
2023-11-09 11:23:16 -05:00
Jean Abou-Samra d55eeb1958
PEP 440: Link to PyPA spec (#3527) 2023-11-09 07:30:12 +02:00
Ofek Lev e36a5a65c4
PEP 723: Rename to `Inline script metadata` (#3522) 2023-11-07 11:13:15 -08:00
Jelle Zijlstra ac7a42f671
PEP 702: Mark as Accepted (#3524) 2023-11-07 09:16:36 -08:00
Alice 52dcd9e1ee
PEP 705: Add new discussion thread URL (#3520) 2023-11-04 07:34:50 -07:00
Ofek Lev 04b3abd6a7
PEP 723: Mark as Provisional (#3505)
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: David Ellis <ducksual@gmail.com>
2023-11-03 12:16:59 -07:00
Eric Snow 502a13a43b
PEP 554: Clean Up and Add Channels Back In (#3498)
The bulk of the new text comes from what I removed in gh-2812 (a48b585).

One notable addition: Interpreter.set_main_attrs() (and Interpreter.get_main_attr()).
2023-11-01 17:06:47 -06:00
Hugo van Kemenade a60091889e
PEP 733: Add Post-History (#3518) 2023-11-01 16:42:24 +02:00
Irit Katriel 02da28b2bd
PEP 733: An Evaluation of Python's Public C API (#3491) 2023-11-01 13:39:52 +00:00
Sergey B Kirpichev 150fbe9368
PEP 726: Update, new sections (#3425) 2023-10-30 16:35:48 +01:00
Jelle Zijlstra f4382664a4
PEP 729: expand to five members; list initial names (#3513)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-29 22:06:57 -07:00
jablonskidev 66d56aad21
PEP 732: Clarify the Editorial and Docs group names and history (#3515)
Clarify the history and names of Editorial and Docs group
2023-10-29 13:52:09 -07:00
Sam Gross 1d09abe701
PEP 703: Mark as Accepted (#3512) 2023-10-28 16:23:10 -07:00
Philipp A 4e4ea9196a
PEP 536: Mark as Withdrawn (#3510)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-26 12:35:14 +03:00
Hugo van Kemenade 8df0448eca
PEP 732: Add Discussions-To and Post-History, fix typo (#3509) 2023-10-25 00:16:43 -06:00
Alice 718157a661
PEP 705: Simplify and clarify proposal (#3504)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-10-24 08:32:16 -07:00
Russell Keith-Magee 4d14f7a1f9
PEP 730: Revisions and clarifications following community discussion (#3506) 2023-10-24 01:19:00 +01:00
Ee Durbin fab61d6a3b
PEP 8105: 2024 Term Steering Council Election - Initial (#3508) 2023-10-23 21:28:56 +02:00
amak 5a230ee5c9
PEP 3333: Fix a TypeError in the example CGI Driver code (#3497) 2023-10-23 12:28:26 -07:00
Paul Moore 7e39ae246b
PEP 722: Mark as rejected (#3499) 2023-10-21 11:30:17 +01:00
Julien Palard afd253e6b1
PEP 101: Docs: Less steps to update versions. (#3494) 2023-10-20 14:14:42 +02:00
jablonskidev 54b14ed559
PEP 732: The Python Documentation Editorial Board (#3489)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Guido van Rossum <guido@python.org>
Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
2023-10-19 18:00:08 +03:00
Alice acecb12b9c
PEP 705: Clean up examples in Inheritance section (#3495)
Clean up examples in Inheritance section
2023-10-18 12:09:45 -07:00
Mikhail Golubev ad131c6132
PEP 698: Add "self" parameters to methods and a colon to a class (#3490) 2023-10-17 23:06:41 -07:00
Alice fb526a8822
PEP 705 Link to new discussion thread (#3492) 2023-10-17 06:53:12 -07:00
Sebastian Rittau 3759887f42
PEP 696: Update the discussions to link (#3493)
The latest discussion thread is now on discourse.
2023-10-17 06:40:42 -07:00
Alice 54f10d9ca4
PEP 705: Rewrite to focus on TypedDict changes (#3440)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-10-16 07:49:44 -07:00
Jelle Zijlstra 6715be7d1c
PEP 702: Tools may clean up the deprecation message (#3482)
See https://discuss.python.org/t/pep-702-marking-deprecations-using-the-type-system/23036/53?u=jelle

I don't want to prescribe the exact behavior on tools and IDEs; they
can figure out for themselves what works best. This change is intended
to make it so they can adjust the message without worrying that they
are breaking the specification.
2023-10-15 15:18:19 -07:00
Hugo van Kemenade 43bdd16f01
PEPs 729, 731: Apply Governance topic (#3487) 2023-10-13 09:08:03 -07:00
Hugo van Kemenade 2ff051f662
PEP 719: The first alpha of 3.13 was released on Friday 13th (#3485) 2023-10-13 17:21:08 +02:00
Jelle Zijlstra 6875de21e8
PEP 729, 731: Remove Python-Version (#3484) 2023-10-13 07:59:36 -06:00
Sebastian Rittau 4ea40e0d6a
PEP 729: A few proposed small changes (#3483)
* Remove a "now", which gets repeated in the next sentence.
* Add explanations behind PEP numbers.
* Move "conformance tests" behind "buy-in" items, seems it seems to me that buy-in should come before writing the tests.
2023-10-13 06:51:44 -07:00
Guido van Rossum b9138054bc
PEP 731: Add Discussions-To and Post-History (#3481) 2023-10-13 13:47:19 +00:00
Guido van Rossum 32adf8fb23
PEP 731: C API Working Group Charter (#3476)
(Co-authored by all listed co-authors, and also by Jelle, since we cribbed a lot of words from his PEP 729.)
2023-10-13 06:12:18 -07:00
Ofek Lev 52a3481381
PEP 658: fix typo (#3479) 2023-10-12 23:15:59 -06:00
Sebastián Ramírez 7fba02d76c
PEP 727: Update `first_name` to `name` from feedback by Gregory P. Smith (#3478) 2023-10-12 07:16:44 -07:00
Alyssa Coghlan 6f1da2042d
Update references to Alyssa Coghlan (#3475)
* For most cases (including all PEP metadata), replace birth name with chosen name
* Birth name has been retained in parentheses when this makes other references
  substantially clearer (e.g. references to mailing list posts, elected members
  of the inaugural Steering Council)
2023-10-11 14:05:51 +02:00
Michael Scott Asato Cuthbert 532efdb824
PEP 661: Standardize module name (#2795)
standardize mod name

The PEP says that the module name is "sentinels" (plural) but the example imports Sentinel from the "sentinel" (singular) module.  Not absolutely sure which one is intended but recent standards (secrets, dataclasses) have used the plural.

CLA for Python signed, in case that's needed.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-11 11:37:22 +02:00
Petr Viktorin e38ee92c88
PEP-3121: Mark as Final (#3471) 2023-10-11 11:31:29 +02:00
Russell Keith-Magee 1418d8b7b9
PEP 730: Adding iOS as a supported platform (#3473)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: T. Wouters <thomas@python.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-11 02:57:44 -06:00
Hugo van Kemenade ad2f54ba43
PEP 654, 678, 680: Mark as Final (#3193)
* PEP 654, 678, 680: Mark as Final
* PEP 654: Add Discussions-To
* PEP 654: Add Resolution
* PEP 678, 680: Update Post-History
* PEP 654, 678, 680: Link to canonical docs
* PEP 654, 707: Update Irit's email

---------

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-10-10 17:15:34 +02:00
Pablo Galindo Salgado 32db9d6112
PEP 701: Clarify that newlines also end format specifier mode (#3460) 2023-10-10 15:14:41 +02:00
Zachary Ware dd08f74688
PEP 632: Mark as Final (#3468) 2023-10-10 12:05:14 +01:00
东方球 7983fbd635
PEP 282: update the log4j link in references (#3470) 2023-10-09 23:32:07 -06:00
Zachary Ware 7079a94eda
PEP 8001: Update my email address (#3466) 2023-10-09 23:43:15 +00:00
Zachary Ware 39eb8f322b
PEP 602: Fix lint, unbreak CI (#3467) 2023-10-09 18:34:22 -05:00
Łukasz Langa 619e4e2393
Update PEP 602 with 2 years of full support of Python 3.13+ 2023-10-09 13:25:03 +02:00
Łukasz Langa ab708c40b1
Modernize PEP 101 2023-10-09 13:01:36 +02:00
Erlend E. Aasland b05d5c654d
PEP 670, 687: Update Erlend's email (#3463) 2023-10-05 00:18:07 +01:00
Jelle Zijlstra 495eefba9a
PEP 729: Update Discussions-To (#3462) 2023-10-04 11:36:33 -07:00
Mikhail Golubev 4387d8b4b8
PEP 695: Fix a typo in a type parameter name (#3461)
Fix a type parameter name in PEP 695
2023-10-04 11:04:03 +01:00
Jelle Zijlstra 0e28ae91d4
PEP 729: Typing governance process (#3455)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-03 21:48:04 -07:00
Sebastián Ramírez e27162276e
PEP 727: update with latest implementation and feedback from discussion (#3459) 2023-10-03 06:01:11 -07:00
Jelle Zijlstra e173bd0e0f
PEP 695: __type_params__ attribute is writable (#3457)
Fixes python/cpython#104600.

We realized that the attribute should be writable on functions and
classes for the benefit of wrappers such as @functools.wraps.
2023-10-02 21:42:15 -07:00
Adam Turner 44472d0c0a
PEP 664, 693: Note the release of 3.11.6 and 3.12.0 (#3458) 2023-10-02 18:19:03 +01:00
Toni Alatalo 186c5adc55
PEP 703: typo fix, "with with" -> "with" (#3456) 2023-09-30 10:41:31 +03:00
Hugo van Kemenade 3b5f6f4464
PEP 1 and 12: Remove optional Content-Type from templates (#3454) 2023-09-28 02:00:23 +01:00