Commit Graph

9691 Commits

Author SHA1 Message Date
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
Hugo van Kemenade 76fcf6b0ea
Fix docutils deprecation warning when generating RSS (#2744) 2022-08-02 21:07:49 +01:00
Pablo Galindo Salgado efab331949
PEP 619: Update bugfix release dates (#2745) 2022-08-02 11:24:26 +01:00
Hugo van Kemenade 8af617d2ad
Infra: Test Python 3.11 beta (#2727)
* Bump actions versions

* Test Python 3.11 beta

* Infra: Apply suggestions from code review

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

* Infra: update JamesIves/github-pages-deploy-action

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

* Infra: Use v4 of action

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-31 13:34:28 +03:00
Hugo van Kemenade 0f56290a30
Infra: override RTD build commands (#2728) 2022-07-29 16:07:03 +03:00
Hugo van Kemenade c75fd8f293
PEP 605: fix footnotes (#2743) 2022-07-29 12:46:20 +03:00
Hugo van Kemenade 3d63099a52
PEP 635: fix duplicate labels (#2742) 2022-07-28 22:10:36 +03:00
Marco Buttu b7723057fb
PEP 613: Add missing Python-Version header (#2739) 2022-07-28 08:55:06 -07:00
Hugo van Kemenade cf3b2e1f26
PEP 634: Fix duplicate labels (#2735) 2022-07-28 14:49:29 +03:00
Hugo van Kemenade fb6151d92b
PEP 664: 3.11.0 RC1 expected Friday, 2022-08-05 (#2738)
PEP 664: RC1 expected Friday, 2022-08-05
2022-07-28 11:00:19 +01:00
Hugo van Kemenade 3a79e80801
PEP 601: Fix footnotes (#2736)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-28 12:41:30 +03:00
Pablo Galindo Salgado b1ab534da6
PEP 664: Add 3.11.0b5 release date (#2733) 2022-07-26 11:54:35 +01:00