Commit Graph

9716 Commits

Author SHA1 Message Date
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
Brett Cannon 565cc9cd94
PEPs 2, 4, 411: updates to how the stdlib is managed (#2651)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-09-23 15:56:29 -07:00
Steven Troxler 90ae6434f6
PEP 698: Override Decorator for Static Typing (`@typing.override`) (#2783)
See earlier draft document at
https://docs.google.com/document/d/1dBkHKaOCqttnqzPo7kw1dzvbuFzNoOdx7OPyfbJHuV4/edit#
and discussion on `typing-sig` at
https://mail.python.org/archives/list/typing-sig@python.org/thread/7JDW2PKGF6YTERUJGWM3BRP3GDHRFP4O/
2022-09-23 10:42:25 -07:00
Mark Shannon 94cce31230
PEP 669: minor clarifications (#2799) 2022-09-21 11:39:31 +01:00
Franek Magiera 8297df43bb
PEP 692: Explicitly describe the change to Unpack.__repr__ behavior (#2798)
Explicitly describe the change to Unpack.__repr__ behavior
2022-09-20 12:25:27 -07:00
C.A.M. Gerlach b18ca66cb5
PEP 1: Update main PEP discussion venue from Python-Dev to Discourse (GH-2775) 2022-09-20 11:50:10 +02:00
Paul Moore 275ae1eedd
PEP 625: Approval (#2797) 2022-09-17 11:04:40 +01:00
Hugo van Kemenade 68160887c2
PEP 366, 395, 413, 426, 430, 440, 531, 535, 3150: Fix footnotes (#2794) 2022-09-16 08:15:18 +03:00
Victor Stinner 38b778d3b9
PEP 674: Update top 5000 PyPI projects stats (#2793) 2022-09-15 02:13:48 +02:00
Sebastián Ramírez 7ca6c74aae
PEP 518: Fix typo (#2792) 2022-09-14 18:48:22 +03:00
Hugo van Kemenade 01473dc8d0
PEP 532, 577, 598: Fix footnotes references (#2791) 2022-09-14 11:35:00 +03:00
Eric Traut b88f26c984
PEP 695: Incorporate feedback on draft PEP (#2782)
Co-authored-by: Eric Traut <erictr@microsoft.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Guido van Rossum <guido@python.org>
2022-09-13 21:26:28 -07:00
Shantanu ca6d20a04a
PEP 585: clarify removal as "no sooner than" (#2778)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-09-12 08:50:00 -07:00
Pablo Galindo Salgado ab09fce142
PEP 664: Add 3.11.0rc2 release date and correct date for 3.11.0 final (#2790) 2022-09-12 14:00:12 +01:00
Hugo van Kemenade 4bdde4839c
PEP 619: Add 3.10.7 release (#2784) 2022-09-09 15:13:25 +01:00
Tal Einat 7bad8d9f10
PEP 661: Update draft in anticipation of proposal (#2785) 2022-09-08 21:02:39 +03:00
Ned Deily 6c72c58229
PEP 537: Update for 3.7.14 release (#2787)
Update for 3.7.14 release
2022-09-06 20:56:13 -04:00
Łukasz Langa faae376eea
[pep-0569] [pep-0596] Mention Python 3.8.14 and 3.9.14 security releases 2022-09-07 00:00:57 +02:00
Marc-Andre Lemburg 77039588ff
PEP 249: Replace StandardError with Exception (#2781)
* Replace StandardError with Exception to avoid confusion when using
the DB-API 2.0 in the context of Python 3.

Add a note about a future upgrade to the Warning base class.

Fixes #2776.

* Fix typo and add year for more context.

* Remove mention of the exceptions module

This was removed in Python 3 as well.  Python 2.7 doesn't need it either,
since all standard exceptions are builtin objects.

* Remove mention of exception objects being builtins.

They were already for a very long time, so this is pointless.
I only had this sentence to explain why I had removed the
"import exceptions" line from the Python 2 days.

* Grammar fix

* Fix exception hierarchy formatting
2022-09-06 16:49:53 +02:00
Petr Viktorin e7446a16eb
PEP 697 (new): C-API for Extending Opaque Types (#2772) 2022-08-31 11:35:53 +02:00
Franek Magiera 5432a30b84
PEP 692: Update Reference Implementation section (#2779) 2022-08-30 21:03:47 -07:00
Hugo van Kemenade 97e3dbde98
Infra: Mute table zebra stripes to de-emphasise different rows (#2740)
* Infra: Mute table zebra stripes to de-emphasise different rows

* Infra: change #eee to #ddd
2022-08-28 22:55:26 +03:00
KotlinIsland 754c8fb1f6
PEP 695: Fix/improve syntax & content of Language Survey section (#2725) 2022-08-28 12:00:56 -05:00
Petr Viktorin 82072755b5
PEP 630: superseded by a HOWTO in the docs (GH-2773) 2022-08-26 13:38:20 +02:00
C.A.M. Gerlach df0c276128
Lint: Add missing Python-Version header in PEPs (#2757) 2022-08-24 17:40:18 -05:00
C.A.M. Gerlach f613ad8801
Lint: Update outdated Python-Version on still-Draft PEPs (#2756)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2022-08-24 17:39:36 -05:00
Petr Viktorin de9695d9f0
PEP 689: Fix typo in deferral note (GH-2771) 2022-08-24 17:07:42 +02:00
Petr Viktorin 63ec31e8d8
PEP 689: Defer for now (GH-2769) 2022-08-24 16:45:26 +02:00
Mark Shannon 62f1b67db4
PEP 669: Require names for tools. (GH-2770)
* Add Petr's suggestion for naming tools.

* Clarify that instrumentation works similarly to PEP 659, but that PEP 659 is not a requirement.
2022-08-24 11:10:28 +01:00
Franek Magiera 4f34145396
PEP 692: Introduce proposed enhancements and expand Motivation section (#2732)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-08-23 14:07:52 -07:00
Petr Viktorin b62ca71d52
PEP 669: nitpicks & clarifications (#2767) 2022-08-18 14:57:20 +01:00
Hugo van Kemenade a4329d46e7
PEP 558: fix footnote references (#2754)
* PEP 558: fix footnote references

* PEP 558: Remove orphaned footnote

* PEP 558: Remove redundant emacs metadata

* PEP 558: Fix code formatting

* PEP 558: Fix typos

* PEP 558: Update BPO redirects

* PEP 558: Convert to regular links
2022-08-17 08:26:55 +03:00
Hugo van Kemenade cdc1a44f71
PEP 467: Fix footnotes (#2752)
* PEP 467: Convert orphaned references to bullets

* PEP 467: Update link redirects
2022-08-17 08:25:53 +03:00
Hugo van Kemenade 0d7637fbfe
PEP 550: Fix footnotes (#2751)
* PEP 550: Remove orphaned references

* PEP 550: Remove redundant emacs metadata

* PEP 550: Use plaintext literal block for ASCII diagram

* PEP 550: Update links

* PEP 550: Clean up link

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-17 08:23:06 +03:00
Zac Hatfield-Dodds 46178be287
PEP 678: fix typo in sample code (GH-2762) 2022-08-12 10:36:28 +01:00