Commit Graph

9716 Commits

Author SHA1 Message Date
Jelle Zijlstra 0cb0066fba
PEP 688: Making the buffer protocol accessible in Python (#2549) 2022-04-24 20:38:57 -07:00
Jelle Zijlstra 24dec4419d
Infra: Add note on finding the RTD preview (#2551)
It's very useful but a bit buried. Hopefully this will help more people find it.

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-04-24 06:33:56 -07:00
Jean Abou-Samra 5673bc4737
PEP 642: update status (#2547)
PEP 642, "Explicit Pattern Syntax for Structural Pattern Matching",
has been rejected.
2022-04-23 17:50:19 -07:00
Ezra Citron c83efdfa41
PEP 594: Fix a typo (#2550) 2022-04-23 19:47:49 +01:00
CAM Gerlach 28a5eb386a
Lint: Optimize images to reduce file size by 1.5-2x for free (#2542)
* Lint: Optimize images to reduce file size by 25-50% for free

* Lint: Switch PEPs with SVGs over to using them and remove old PNGs
2022-04-23 16:03:16 +03:00
Victor Stinner 9cbbc2d452
PEP 11: Add Discussions section (#2544) 2022-04-21 00:10:04 +02:00
CAM Gerlach e0d4ae5855
Style: Retitle inline 'Contents' to 'Table of Contents' for clarity (#2541) 2022-04-20 04:54:38 -05:00
CAM Gerlach a6336e9d74
Lint: Update headers and checks per current guidance & provide helpful feedback (#2484)
* Lint: Disable a couple potentially problematic/unneeded hooks

* Lint: Refine regex for existing Content-Type and PEP references checks

* Lint: Refine regex for Python-Version check and fix a couple deviations

* Lint: Refine regex for Created check and fix a couple deviations

* Lint: Refine regex for Resolution check and fix a few deviations

* Lint: Add new check for Post-History header

* Lint: Add check for Discussions-To header link

* Lint: Add basic check for PEP title presense & excessive length

* Lint: Add check for PEP/BDFL-Delegate header

* Lint: Add check for Sponsor header

* Lint: Add check for legacy Author field format

* Lint: Add check for RST Author field

* Lint: Use more helpful, user-oriented descriptions for header checks

* PEP 245: Add historical note and archive links to wiki page/email lsit

* PEP 628: Add direct link to resolution in acceptance message

* Lint: Explictly allow all valid RFC 2822 line continuations in headers

* Lint: Tweak Post-History and Resolution checks to accept fragments
2022-04-20 04:53:08 -05:00
wim glenn 07b9d0cd51
PEP 517: add missing def for the mandatory hook build_wheel signature (#2535) 2022-04-19 16:40:23 -07:00
Dong-hee Na 6879a7d95b
PEP 11: fix a typo of a name (#2538) 2022-04-19 16:24:06 -07:00
CAM Gerlach dfdd865c05
PEP 630: Format and copyedit prior to conversion into a docs HOWTO guide (GH-2459) 2022-04-19 10:07:57 +02:00
Hugo van Kemenade 53d6d5987b
Infra: remove two of the five instances of title at top of pages (#2532)
* Infra: remove one of the four instances of title at top of pages

* Infra: remove another of the five instances of title at top of pages

* Infra: but keep PEP number in the breadcrumbs
2022-04-19 02:28:45 -05:00
CAM Gerlach 5949604187
PEP 639: Update header, footer, link, reference and code block syntax (#2531)
* PEP 639: Update header and footer in line with new PEP 1/12 guidance

* PEP 639: Update implict references to use ref role

* PEP 639: Remove spurious # from link targets and make anonymous

* PEP 639: Format code blocks with appropriate syntax highlighting
2022-04-19 02:26:30 -05:00
CAM Gerlach efeae28e9e
Infra: Improve email and link processing and rendering in headers (#2467)
* Infra: Include mailing list link type in text for clarity, & refactor

* Infra: Support mailing list info pages as well as archives

* Infra: Pretty-format Discourse categories/threads in headers as well

* Infra: Show friendly-name of target in Post-History link hover text

* Infra: Automatically link list addresses to list pages in Discussions-To

* Infra: Use simpler check for title in Discourse URL header processing

* Infra: Automatically trim trailing commas & whitespace in header values
2022-04-19 09:27:27 +03:00
CAM Gerlach 4a5751f0d3
Style: Reduce space consumed by headers and improve alignment (#2533) 2022-04-19 09:24:27 +03:00
Brett Cannon 0806d5200b
PEP 11: define tiered platform support (#2442) 2022-04-18 14:57:20 -07:00
Hugo van Kemenade 42e241fac4
PEP 595: replace mismatched references with inline links (#2534)
* PEP 595: replace mismatched references with inline links

* PEP 595: use plaintext instead of Python formatting

* PEP 595: remove redundant Emacs stanza
2022-04-17 16:06:40 -05:00
David Foster adf9512d96
Build Instructions: Fix to work with the latest Makefile (#2485) 2022-04-16 13:46:31 +03:00
Jelle Zijlstra f163a0b807
PEP 681: Fix header links (#2507)
#2481 didn't like the hashes in the URLs
2022-04-15 22:00:42 -05:00
Erlend Egeberg Aasland 32adbecf66
PEP 687: amendments after feedback (#2521)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2022-04-15 17:15:06 -07:00
Erlend Egeberg Aasland 0666a97c47
PEP 670: Mark as Accepted (#2522)
* PEP 670: Mark as Accepted

* Add post history

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-04-15 18:26:32 -05:00
CAM Gerlach 3882b927a7
PEP 631: Update status to reflect incorperation into PEP 621 (#2506) 2022-04-15 16:35:49 -05:00
David Foster cf75fc46d0
PEP 645: Mark as Withdrawn (and as Standards Track) (#2529)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
2022-04-15 11:55:52 -07:00
David Foster 0140226753
PEP 671: Add Discussions-To header and Post-History (#2482) 2022-04-15 09:36:40 -07:00
Ee Durbin 9514bd9c7d
bump HSTS to reccommended settings (#2528) 2022-04-15 06:58:36 -04:00
Ee Durbin e637415047
Terraform fastly service (#2527)
* define peps fastly frontend with terraform

* add myself as codeowner of terraform/fastly
2022-04-15 04:10:11 -04:00
Brett Cannon 5144e88dfb
PEP 681: grammar tweak 2022-04-14 15:12:43 -07:00
Hugo van Kemenade 3f6aec0937
Infra: Restore PEPs RSS feed in <head> (#2509) 2022-04-15 00:18:57 +03:00
Ee Durbin d85b9f6be5
purge CDN cache on deploy (#2526)
* purge CDN cache on deploy

issues a purge all to the Fastly service that fronts peps.python.org to make new changes appear fast..... lier.

* yaml?
2022-04-14 13:36:47 -04:00
Inada Naoki a6a7eb3e07
PEP 686: gh-91156 is fixed (#2525) 2022-04-14 07:43:54 -07:00
Tzu-ping Chung dab4e0bb9b
Wheel should have headers, not include (#2523) 2022-04-13 11:20:18 -07:00
Hugo van Kemenade 642ad67260
Infra: don't wrap PEP numbers in PEP 0 tables (#2524)
Fixes #2520
2022-04-13 08:01:43 -07:00
Jelle Zijlstra 7a4c01e73d
PEP 687: Add to CODEOWNERS (GH-2516) 2022-04-12 10:57:50 +02:00
Zac Hatfield-Dodds 013164778a
PEP 678: update status to Accepted (#2518) 2022-04-11 19:25:26 -07:00
Erik De Bonte 515eb419de
PEP 681: Add author override (#2517) 2022-04-11 18:30:38 -07:00
Mark Amery 75cc6853e1
Infra: Remove pre-wrap CSS rule that breaks multi-line inline literals (#2512)
As written up in detail at https://github.com/python/peps/issues/2511, this rule breaks the rendering of 199 inline literals across all the PEPs, and appears to have no reason to exist. I therefore propose to remove it.
2022-04-11 12:09:26 -07:00
Michael Droettboom eab767b2b9
PEP 687: Fix reference to PEP 489 (#2515)
As far as I can tell, PEP 484 is a typo and unrelated to this work.
2022-04-11 11:51:02 -07:00
Mark Dickinson 2c4d71f791
PEP 682: Mark as final (#2513)
The implementation of PEP 682 was completed in python/cpython#30049.
2022-04-11 07:53:14 -07:00
மனோஜ்குமார் பழனிச்சாமி 37831699de
3.11.0 alpha 7 released (#2510) 2022-04-09 10:46:22 +01:00
CAM Gerlach 63d802d093
Meta: Clearly document current guidance for changing existing PEPs (#2378)
* Meta: Document expectations for changing existing PEPs in contrib guide

* Meta: Clarify commit message/PR title prefixes in contrib guide

* Meta: Further improve change policy in CG per Jelle's feedback

* Meta: Reduce verbosity and perscriptiveness of changes section in CG

* Meta: Move more general/normative PEP modification guidance to PEP 1

* Meta: Further revise PEP change guidance to reflect current reality

* Meta: Update, simplify and consolidate guidance on changing PEPs

* PEP 1: Remove sentence explicitly discussing changing governance PEPs
2022-04-06 18:21:47 -05:00
Erik De Bonte f73a0aa1ca
PEP 681: Add support for kwargs (#2504) 2022-04-05 21:31:59 -07:00
Jelle Zijlstra 7e537baa97
PEP 681: Add Post-History (#2502) 2022-04-05 06:55:40 -07:00
Erik De Bonte b10f0f86e9
PEP 681: Rename `field descriptor` to `field specifier` (#2503) 2022-04-05 06:55:23 -07:00
Brett Cannon 671b6a84aa
PEP 387: clarify that the SC should be consulted when a warning cannot be provided 2022-04-04 16:39:11 -07:00
Petr Viktorin c8ad36c2d7
PEP 687: Add Discussions-To & Post-History (GH-2501) 2022-04-04 18:09:44 +02:00
Petr Viktorin 19cff91a09
PEP 687: Isolating modules in the standard library (GH-2499) 2022-04-04 17:51:46 +02:00
wookie184 67fe49b322
Fix colour scheme toggling when switching from default dark mode (#2494)
* Fix colour scheme toggling when switching from default dark mode

* Add workaround for Chrome bug where disabling element doesn't cause rerender
2022-04-02 09:05:13 +03:00
Hugo van Kemenade fe2d145d5a
Infra: generate machine-readable PEP index (#2475)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-04-01 23:07:39 +03:00
Erik De Bonte 5725206d49
PEP 681: Decorator placement, future params, unstated semantics (#2498) 2022-04-01 09:45:15 -07:00
Mark Shannon 47299f2627
Update PEP 669 specification to return current callback object when registering a new callback. (#2460) 2022-04-01 11:38:25 +01:00