Commit Graph

9534 Commits

Author SHA1 Message Date
Germán Méndez Bravo 376341a223
PEP 690: Lazy Imports (#2569)
* Added first draft for Lazy Imports PEP

* Suggested changes to lazy imports PEP.

* Add another example of forcing eager imports.

* Update pep-9999.rst

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

* Update Carl's email

* Update pep-9999.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Update pep-9999.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Update pep-9999.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Update pep-9999.rst

Co-authored-by: Carl Meyer <carl@oddbird.net>

* Update and rename pep-9999.rst to pep-0690.rst

* Update .github/CODEOWNERS

Co-authored-by: Carl Meyer <carl@oddbird.net>

* Update pep-0690.rst

Co-authored-by: Carl Meyer <carl@oddbird.net>

* Update pep-0690.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Added myself to AUTHOR_OVERRIDES

* More updates to lazy imports

* Resolved comments

* More updates to lazy imports PEP.

* Update pep-0690.rst

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

Co-authored-by: Carl Meyer <carl@oddbird.net>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-05-03 13:47:13 -05:00
Itamar Ostricher 4b04a2b7be
PEP 1: Refer to GitHub for the Python issue tracker (#2568)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Chris Angelico <rosuav@gmail.com>
2022-05-03 00:57:13 +01:00
wookie184 278070ac97
Include the PEP index in `peps.json` (#2567) 2022-05-01 16:38:40 +01:00
CAM Gerlach 77b5482c82
PEP 11: Add back and update Post-History header with direct links (#2546) 2022-04-30 13:31:30 -05:00
Christopher H.Barker, PhD dd8535b610
PEP 485: Update email address (#2566) 2022-04-29 17:19:25 +01:00
David Foster 26d7a56338
PEP 638: Typographic fixes (#2368)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-04-29 14:51:43 +01:00
Philipp A ebff37d5e7
Enable resetting HTML colour scheme preferences
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-04-28 16:49:31 +01:00
Petr Viktorin fa18fffb76
PEP 689: Add Post-History (#2561) 2022-04-27 16:39:28 +02:00
Petr Viktorin 7f53796471
PEP 689: Semi-stable C API tier (GH-2559)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-27 15:13:10 +02:00
Jelle Zijlstra e84c71ba7d
PEP 594: fix typos (#2558) 2022-04-26 20:10:00 +01:00
Hugo van Kemenade 0b0dd6ddd5
Add tests for `pep_sphinx_extensions` (#2545)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-04-26 20:07:20 +01:00
Marina Moore 73d438cadb
PEP 480: Clarify automated signing solution to remove key sharing (#1711) 2022-04-26 17:43:57 +01:00
Inada Naoki ee521575d9
PEP 686: Postpone target version to 3.15 (#2556) 2022-04-26 12:58:27 +09:00
Brett Cannon 701999a91d
PEP 11: add mailcap to the deprecation list (#2557)
This received SC approval at their 2022-04-25 meeting.
2022-04-25 20:41:00 -07:00
Erik De Bonte d40ca166d0
PEP 681: Address Steering Council feedback (#2555)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-04-25 16:20:22 -07:00
Victor Stinner 4233ef7c88
PEP 11: Add Linux s390x to Tier 3 (#2543) 2022-04-26 00:01:22 +02:00
Jelle Zijlstra 5d84d6529d
PEP 688: Add discussion links (#2554)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-04-25 08:23:33 -07:00
Petr Viktorin d098303985
PEP 688: Link to current docs (#2553)
Link to current documentation of the protocol first and make the
PEP secondary (it might still be useful for the original motivation/rationale).
2022-04-25 06:10:42 -07:00
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