Commit Graph

9850 Commits

Author SHA1 Message Date
Eclips4 dc44249a14
PEP 675: Clarify Motivation query examples are abridged (#2854)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-30 06:29:39 -07:00
Peter Law a3310aeeff
PEP 649: Fix nested list formatting (#2856) 2022-10-29 16:01:10 +03:00
Eric Snow 4a2e3e3059
PEP 684: Updates for Round 2 of Discussions (gh-2807) 2022-10-28 19:28:38 -06:00
Steven Troxler 37a5ea8fe6
PEP 698: Add `__override__` flag to runtime behavior (#2855)
We decided to add this for two reasons:

- It was specifically requested by the author of the `overrides`
  library, because there there are some handy runtime uses
  of override information (such as propagating docstrings, which
  we highlight as a concrete example)
- We realized that we actually added `__final__` to
  `@typing.final` in spite of it not being specified in PEP 591,
  which we felt strongly suggests that even if we omit it we
  would later change our minds.

This runtime behavior is currently implemented in typing_extensions
(see https://github.com/python/typing_extensions/pull/86) as well
as pyre_extensions.
2022-10-28 16:09:33 -07:00
Dustin Ingram 7604dcafbb
PEP 541: Additional clarifications on invalid projects (#2828) 2022-10-28 12:02:11 +02:00
Petr Viktorin a981dc1c2a
PEP 689: Link to new discussion thread (#2852) 2022-10-27 18:22:17 +02:00
Petr Viktorin e707124176
PEP 689: Rewrite, with PyUnstable_ prefix (GH-2847)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-27 17:16:40 +02:00
Jelle Zijlstra 13c89dc8cb
PEP 688: New Post-History links (#2850) 2022-10-26 18:43:02 -07:00
Jelle Zijlstra f509c2a2fd
PEP 688: Enhancements from discussion (#2832) 2022-10-25 21:04:12 -07:00
Hugo van Kemenade 3233678fbd
PEP 693: Set to active with 3.12.0a1 release (#2845)
Co-authored-by: T. Wouters <thomas@python.org>
2022-10-25 20:37:46 +03:00
Łukasz Langa bab071ff3f
[pep-0664] Actual date for 3.11.0 2022-10-25 17:13:59 +02:00
Hugo van Kemenade 1a931bf317
Infra: Don't generate broken source link for topic pages (#2843) 2022-10-22 20:42:06 -07:00
Sumana Harihareswara 1838f20010
PEP 458: Clarify sequence of PyPI and pip integration (#2789) 2022-10-22 10:47:47 +03:00
Hugo van Kemenade ed92c0697c
Infra: Only emit a category table when it has entries (#2839)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-10-22 10:44:36 +03:00
Hugo van Kemenade 18b3870e3a
Infra: Declare Makefile targets as phony (#2841) 2022-10-22 10:43:53 +03:00
Hugo van Kemenade c0b28dab5b
Infra: Add tooltips to type/status in PEP 0 (#2838)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2022-10-22 10:43:36 +03:00
Paul Moore 45e373eb92
PEP 700: Additional Fields for the Simple API for Package Indexes (gh-2840) 2022-10-21 13:38:03 +01:00
Pavel Karateev 759a6bd547
PEP 646: Add forgotten parameter name in examples (#2837) 2022-10-20 11:51:08 -07:00
James Hilton-Balfe 71daa07244
PEP 696: Improve section "Using another TypeVarLike as the default" (#2777)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Eric Traut <eric@traut.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-19 17:52:52 -07:00
C.A.M. Gerlach 82d2996b38
Lint: Add a new check for consistent PEP header order (#2835)
* Lint: Clarify name/ID of required header check

* PEP 440: Fix header ordering

* PEP 441: Fix header ordering

* PEP 523: Fix header ordering

* PEP 612: Fix spurious top-level title section heading

* Lint: Add new check for consistant PEP header order
2022-10-15 21:09:24 -07:00
C.A.M. Gerlach e1c7bce5b5
Lint: Upgrade linters, enable backtick check & fix new errors (#2825)
* PEP 240: Fix issue detected by Sphinx-Lint
* PEP 357: Fix issue detected by Sphinx-Lint
* PEP 447: Fix issue detected by Sphinx-Lint
* PEP 461: Fix issue detected by Sphinx-Lint
* Lint: Autoupdate pre-commit hook versions
* Lint: Re-enable --role-with-double-backticks now that FP is fixed
2022-10-14 00:01:49 -05:00
Pradyun Gedam e810b67dfb
PEP 668: Change to Standards Track (#2774)
This PEP describes a new feature for Python Packaging interoperability,
which is better classified under this type.
2022-10-13 23:49:21 -05:00
C.A.M. Gerlach b378bbafc0
PEP 569, 596, 619: Add release dates for 2022-10-11 release (#2833)
* PEP 569: Add Python 3.8.15 date
* PEP 596: Add Python 3.9.15 date
* PEP 619: Add Python 3.10.8 date
2022-10-13 23:42:12 -05:00
Steven Troxler 5d975396db
PEP 698: Add Discussions-To and Post-History (#2834)
* Add Discussions-To header pointing to Typing-SIG
* Add Post-History header

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-13 23:38:29 -05:00
Petr Viktorin eb65647442
PEP 697: Add Post-History & Discussions-To (#2827) 2022-10-12 11:19:49 +02:00
Mikko Korpela 67e29bf61a
Fix typos in PEP 698 (#2830) 2022-10-11 09:13:01 -07:00
Ned Deily 87b12e7ada
PEP 537: 3.7.15 (#2829)
3.7.15
2022-10-11 01:00:19 -07:00
Mark Shannon 43af7ba688
Allow limited PEP 523 plugins. (#2822) 2022-10-08 00:42:35 +01:00
T. Wouters 5cf5c3baae
Adjust the 3.12 alpha 1 release date to match 3.11 final, and move down 3.12a2 by a week. (#2824) 2022-10-07 14:38:09 -07:00
C.A.M. Gerlach bf3465d3e3
Packaging PEPs: Update headers & link canonical PyPA specs (#2690)
* Update headers/etc. of older packaging PEPs to reflect replacement PEPs

* Infra: Fix lowercase and tweak plural in text for PyPA spec banner

* Add banner to all relevant PEPs pointing to their canonical PyPA specs

Co-authored-by: Brett Cannon <brett@python.org>
2022-10-07 08:29:13 -07:00
Jelle Zijlstra e46b83661d
Add Topic for release schedule PEPs (#2669)
Release PEPs are a pretty unusual kind of PEP and it's useful to me to have
them all listed together. Happy to adjust the name of the topic if desired.

I took the opportunity to adjust the status of a few release PEPs. Now all
releases for EOL versions are Final (3.5 was previously Active), and all
releases for released versions are Active (3.10 was still draft). 3.11 remains
Draft as 3.11 has not yet been released.

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-06 18:01:52 -07:00
Jelle Zijlstra 83b976da18
Add Typing Topic (#2670)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-06 17:36:39 -07:00
Jelle Zijlstra 520cc0bbe7
Topic pages: remove authors table (#2823)
This table is not too useful, and for some reason we're not properly
mangling email addresses in the table. For simplicity, just omit the
table.
2022-10-06 17:36:15 -07:00
Jelle Zijlstra e447c5476a
PEP 688: Second version (#2818)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-10-06 16:40:12 -07:00
Hugo van Kemenade 7fa80c34d7
Infra + many PEPs: Add Sphinx Lint and fix errors (#2816)
* PEP 555, 653: Fix inline literal missing (escaped) space after literal

* Add newline at end of file

* PEP 692: Add newline at end of file

* PEP 633: Fix missing space before role

* Run sphinx-lint in pre-commit

* PEP 639: Remove rogue backticks

* PEP 372: Remove rogue backticks

* PEP 462: Add missing underscore after closing backtick in hyperlink

* PEP 481: Add missing underscore after closing backtick in hyperlinks

* PEP 507: Add missing underscore after closing backtick in hyperlinks

* PEP 453: Add missing underscore after closing backtick in hyperlinks, and convert to links

* PEP 534: Fix inline literal missing (escaped) space after literal

* PEP 372, 453, 462: Redirect BPO to GH
2022-10-06 12:14:32 -07:00
Ken Jin 6fe23c94f9
PEP 699: Add post history (#2821)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-10-06 11:06:15 -07:00
Petr Viktorin 139672b8c7
PEP 697: Rewrite (#2814)
Rewrite the motivation/rationale.
The actual proposal stays nearly the same.
2022-10-06 12:59:06 +02:00
Zachary Blackwood 778c260e35
PEP 698: Fix typo in example code (#2813) 2022-10-05 12:00:43 -07:00
Ken Jin d9fca22645
PEP 699: Add Discussions-To (#2817) 2022-10-05 11:37:42 -07:00
Ken Jin f4f58d4250
PEP 699: Remove private dict version field added in PEP 509 (#2811)
Remove private dict version field added in PEP 509
2022-10-05 10:54:56 -07:00
Adam Turner 80c69055a5
Remove ``include_patterns`` monkeypatching (#2810)
This is included in Sphinx core from version 5.1
2022-10-05 18:03:04 +01:00
Hugo van Kemenade 5fb8b28a06
Many PEPs: 'Author' must be list of 'Name <email@example.com>, ...' (#2809) 2022-10-05 19:48:43 +03:00
Erik De Bonte b4bed87dd1
PEP 681: Clarifications about classes decorated with `dataclass_transform` (#2815) 2022-10-05 09:43:49 -07:00
Eric Snow 290853700e
PEP 683: Updates for Round 4 of Discussions (gh-2766) 2022-10-04 17:06:56 -06:00
C.A.M. Gerlach 0850bfb6c0
PEP 11: Clarify Fixed vs. Modern lifecycle & non-support of ESU (#2802)
* PEP 11: Elide long-obselete emacs declaration & header fields
* PEP 11: Convert last footnote to inline link, fix redirect & use HTTPS
* PEP 11: Apply ESU textual fixes/improvements suggested on #2801
* PEP 11: Update Windows section to clarify Fixed vs. Modern lifecycle
* PEP 11: Apply reviewer-suggested tweaks

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
2022-10-01 19:38:19 -05:00
C.A.M. Gerlach 326e5623a5
Style: Fix zebra stripes and improve table & code presentation (#2805)
* Style: Further lighten table zebra stripes
* Style: Ensure consistent contrast for code blocks in zebra tables
* Style: Add padding around inline code literal BG to not be so tight
* Style: Add horizontal rules and header color to tables
* Style: Remove zebra striping from tables	
* Style: Use more sensible color name for admonition + header color
2022-10-01 19:36:50 -05:00
Germán Méndez Bravo 9cbe5213bc
PEP 690: Update for second round of discussions (#2786)
* Pep 690 v3

* Changes from some of the comments
2022-09-30 18:19:16 -07:00
Eric Snow 8154e0747f
PEP 684: Update the PEP Header (gh-2806)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-09-30 13:38:31 -06:00
Eric Snow a9a5364c05
PEP 684: Updates for Round 1 of Discussions (gh-2800) 2022-09-29 16:51:03 -06:00
Nathaniel J. Smith a3ada0e295
PEP 11: Clarify Windows support phases (#2801)
Clarify Windows support phases

This isn't a semantic change, but I just got "extended support" and "extended security updates" confused and Steve Dower had to correct me. So make it even more obvious in the text that we mean "extended support", and not "extended security updates".
2022-09-24 10:12:29 -07:00