Commit Graph

10296 Commits

Author SHA1 Message Date
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 f98b4c7dc1
Add sphinx-warnings.txt to .gitignore 2023-10-09 15:05:31 +02: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
Hugo van Kemenade b794468df6
Infra: Add Python version to PEP 0 tables (#3434)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-27 15:16:17 +01:00
Rich Chiodo a159a9ac58
PEP 724: Add the Rationale section (#3447) 2023-09-22 19:02:16 -07:00
konsti a703204b82
PEP 440: Make examples clearer (#2898)
The PEP 440 version matching examples are confusing to read and the `1.1a1` in `== 1.1.*` is dependent on whether the user requested pre-releases or not, which I've clarified (https://github.com/pypa/packaging/issues/617)
2023-09-22 14:23:38 -07:00
Adam Turner d226c15c82
PEP 1: Stop recommending Typing-SIG (it has ceased to be!) (#3453) 2023-09-21 23:01:39 +01:00
Erlend E. Aasland 3a6714f29e
PEP 443: Fix collections.abc example (#3131) 2023-09-20 11:53:10 -07:00
Jelle Zijlstra 00295ada36
PEP 702: Move to warnings, expand spec (#3442) 2023-09-19 20:15:30 -07:00
Sam Gross c972a76923
PEP 703: Use 't' for proposed ABI tag (#3445) 2023-09-19 11:21:12 -07:00
Rich Chiodo 2c0c4b377c
PEP 724: Add the current Discussions-To thread (#3446) 2023-09-19 09:42:25 -07:00
Sean O Brien 2a9d6a5fcf
PEP 693: Add Python 3.12.0rc3 release date (#3443)
Add Python 3.12.0rc3 release date.
2023-09-19 16:26:28 +02:00
Rich Chiodo 48306604c8
PEP 724: Stricter TypeGuard (#3266)
Co-authored-by: Erik De Bonte <erikd@microsoft.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-09-18 16:38:31 -07:00
James Hilton-Balfe 94ac129495
PEP 696: Add section on binding rules (#3427) 2023-09-14 06:33:43 -07:00
Hugo van Kemenade 2868fe9c84
Lint: Update Ruff config (#3433) 2023-09-10 16:04:40 +01:00
Adam Turner 233cd5e065
Meta: Instruct linguist to include PEPs in the statistics (#3430) 2023-09-09 19:58:51 +01:00
Adam Turner 08d688fdca
All PEPs: Move to ``peps/`` folder (#3418) 2023-09-09 18:39:29 +01:00
Adam Turner 0f22268963
Lint: Add Ruff (#3429) 2023-09-09 17:33:52 +01:00
Adam Turner 971a49b67a
PEP 727: Review (#3316)
* Strip thread name

* Link to Python docs

* Reference PEP 484

* Fix heading levels

* Add missing sections (as a comment)

* Rename EAaOPV to Reference Implementation

* Code block formatting

* Remove leading elipses

* Tighten usage criteria

* Remove non-specification content

* Rewrite the Specification

* Simplify Examples and move DocInfo to the reference implementation

* Improve the Reference Implementation

* Syntax
2023-09-07 22:48:58 -07:00
Adam Turner 5ce45eda6d
PEP 713: Mark as Rejected (#3423) 2023-09-06 16:44:00 +01:00
T. Wouters ffdff87dff
PEP 693: Update the Python 3.12.0rc2 release date. (#3426) 2023-09-06 15:43:46 +03:00
Adam Turner 2afb609499
Infra: Use actions/checkout version 4 (#3422) 2023-09-05 07:08:14 +03:00
Adam Turner 814ceede97
Lint: Add ``check-peps.py`` (#3275)
``check-peps`` codifies the rules in PEP 1 and PEP 12 into a single
place containing all of the PEP-specific checks. These are primarily
header and metadata validation, and ensuring that direct links to
RFCs and PEPs aren't used.

Reviewed-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Reviewed-by: C.A.M. Gerlach <cam.gerlach@gerlach.cam>
2023-09-05 04:44:46 +01:00
Adam Turner fe3993d64a
PEP 499: Shorten the title (#3325) 2023-09-05 02:40:47 +00:00
Adam Turner 497250afe0
Infra: Update documentation and ``build.py`` (#3420)
- Always fail on warnings, remove the related flag
- Nitpicky is now enabled in ``conf.py``, remove the related flag
- Use direct links to PEPs rather than Sphinx-only ``:doc:`` roles
- Remove references to ``AUTHOR_OVERRIDES.csv``, which is no longer used
- Fix indentation for an enumerated list
2023-09-03 22:08:42 +01:00
Adam Turner 2d4c98dca7
Infra: Prepare for moving PEPs to a subfolder (#3417) 2023-09-03 04:55:19 +01:00
Pradyun Gedam e7314c978b
PEP 725: Fix example using `project.optional-dependencies` (#3416)
Correct the syntax used to specify optional runtime Python dependencies.
2023-09-01 21:54:33 +01:00
Adam Turner 678bc9b8d3
Lint: Enable pre-commit default role checks (#3415) 2023-09-01 20:41:07 +01:00
Adam Turner d285b1ae1d
PEP 497: Resolve uses of the default role (#3414) 2023-09-01 20:37:23 +01:00
Adam Turner b0ef027427
PEP 495: Resolve uses of the default role (#3413) 2023-09-01 19:32:22 +00:00
Adam Turner 12326a9337
PEP 458: Resolve uses of the default role (#3405) 2023-09-01 20:32:10 +01:00
Adam Turner fba94ce6c9
PEP 425: Resolve uses of the default role (#3393) 2023-09-01 20:31:42 +01:00