Commit Graph

9702 Commits

Author SHA1 Message Date
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
Mark Shannon 39b78da33b
PEP 669: Clarify and restrict interaction with PEP 523 (#2760) 2022-08-12 10:14:56 +01:00
Mark Shannon 9819ca468e
PEP 669: Clarify section on DISABLE. (#2759)
Clarify section on DISABLE.
2022-08-11 17:33:48 +01:00
Mark Shannon 738a01cb30
PEP 669: Clarifications (#2758) 2022-08-11 15:27:05 +01:00
CAM Gerlach 9aa0775867
PEP 654: Add missing Python-Version header (#2755) 2022-08-09 16:16:29 -05:00
Hugo van Kemenade 146c45709b
PEP 664: Update 3.11 RC1 release date (#2753) 2022-08-08 17:24:37 +01:00
Kushal Das 949dc03304
PEP 582: Updates to internal directory structure (#2750)
* Updates 582 with internal directory example

Now we have working example in both Cpython & in PyPy.

* Fixes Python version
2022-08-06 21:31:05 +02:00
Mark Shannon be96146cae
PEP-669: Fix version number (#2748)
Fix version number
2022-08-05 13:09:54 +01:00
Mark Shannon 0fe55c6d12
PEP 669: Add multiple tool and one-shot event handling capabilities (#2747) 2022-08-04 15:04:26 +01:00
Hugo van Kemenade 7f4e764885
PEP 565: Fix footnotes (#2741)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-04 11:42:03 +03:00
Hugo van Kemenade f74f32b030
PEP 501: Fix footnotes (#2715) 2022-08-04 11:41:52 +03:00
Kebap b9a70c2c14
PEP 282: Improve upon colloquial phrasing (#2667)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2022-08-03 23:35:23 +01:00
Paul Moore 2563e2a419
PEP 625: Mark as draft again (GH-2746) 2022-08-03 09:34:17 +01:00
CAM Gerlach f87de8284c
Infra: Add new directives to point to PEP's canonical content (#2702)
As originally discussed in #2692 , this adds a three new custom directives intended to be used at the top of PEPs:

* `pep-banner`, a generic admonition banner that can be subclassed with an arbitrary message,
* `canonical-docs`, which renders a banner linking to a `Final` PEP's canonical documentation/specification.
* `canonical-pypa-spec`, a banner for packaging interoperability PEPs linking to the canonical PyPA specs.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-08-02 22:48:56 -05:00
CAM Gerlach d31806fe1e
PEP 639: Further update per discussion, w/flat license key, etc. (#2705)
Substantive content changes:

* Instead of adding a new top-level `license-expression` key for the license expression in the `[project]` table of the `pyproject.toml` source metadata, the PEP now specifies using the top-level string value of the `license` key for this purpose, which PEP 621 (PEP-621) reserved it for, and updates the `license-expression` and `license` key specs, and the examples, rejected ideas and other sections accordingly.
* Since this makes it not possible to convert a legacy `license` key to the new `License-Expression` field at build time, and that's not really advisable anyway, it drastically simplifies the normative Converting Legacy Metadata section to just a single normative statement, and updates/removes other mentions of it accordingly, and the (already rather unhelpful) example
* Likewise, it simplifies and refines the guidance in the Mapping classifiers to SPDX identifiers section to be more general and less focused on build time, and also allows tools to ignore redundant parent classifiers (Note: This section will be moved to an external appendix in the next PR, but I didn't move it here for ease of review)
* The `license_files` directory was renamed to `licenses` at the request of @brettcannon and to simplify things a touch
* The specified handling of the `license.file` key was a bit confused by a (apparently quite common) misunderstanding about how the specified file is used (to inject its text directly under the `License` field in core metadata, rather than included in distribution archives or its path specified in metadata) due to it being rather underspecified in PEP 621, which this revision corrects.
* Bump the core metadata version to reflect acceptance of PEP 685 as Metadata 2.3
* Bump the SPDX license list version to be up to date

Significant non-normative/editorial changes:

* Mention implementation of drafts of this PEP in Hatch and Setuptools, and also describes previous efforts in Setuptools and Wheel that this PEP builds on more clearly, as suggested on the discussion thread
* Reference the canonical project [source] metadata PyPA spec instead of PEP 621, use clearer language surrounding that, and update a few references to other PEPs
* Revise the Motivations and Rationale to be less duplicative/redundant, more balanced and focused more specifically on their respective areas (providing some background and describing the problem, and introducing and justifying the proposed solution, respectively)
* Add a short blurb making explicit the use of RFC 2119 terminology (MUST, SHOULD, etc)
* Update PEP headers
* Various other minor revisions to correct typos and other issues, clarify and simply the text, and improve source formatting.
2022-08-02 22:43:25 -05:00