Commit Graph

9864 Commits

Author SHA1 Message Date
Hugo van Kemenade e92c4d6afa
PEP 1 and 12: Document Topic header (#2995)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-02-03 21:34:17 +02:00
Sagi Sarussi 7e1d4a5ae5
PEP 582: Correct typo (#3003)
`stie-packages` -> `site-packages`
2023-02-03 14:29:50 +00:00
Kushal Das f75d300ed9
PEP 582: Updates the rejected ideas list (#3002)
Updates the rejected ideas list
2023-02-03 09:04:15 +01:00
Hugo van Kemenade 5bdec964da
Meta: Add a governance topic (#2993)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Fixes https://github.com/python/peps/issues/2987
2023-02-02 12:50:01 +02:00
Kushal Das c5efbaca06
PEP 582: Update the PEP with all feedback (#2999)
Updates the PEP with all feedback

This also adds more proper explanation for the interpreter and
tool developers.
2023-02-02 07:33:53 +01:00
C.A.M. Gerlach 6adb907aaf
Meta: Fix name of Other template to include Other so it sorts properly (#3000)
Fix name of Other template to include Other so it sorts properly
2023-02-01 16:58:51 -06:00
C.A.M. Gerlach 40f1df99f7
Meta: Rename PR templates to be more descriptive in the GitHu UI (#2998)
* Rename PR templates to be more descriptive in the GitHu UI
* Remove currently-unused data block & extra heading from PR templates
2023-02-01 16:45:36 -06:00
C.A.M. Gerlach f009036f37
Meta: Add templates/checklists for new, Accepted/Rejected & Final PEPs (#2956)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-02-01 21:19:54 +02:00
Ralf Gommers c36b348151
PEP 517: add clarifying sentence about duplicate keys in config-settings (GH-2996) 2023-02-01 08:31:26 +00:00
Hugo van Kemenade 77bbe7983a
PEP 404: Add Python 2.8 to Release PEPs topic (#2986) 2023-01-31 11:03:08 +02:00
Hugo van Kemenade b6ac1faea8
Infra: Update precommit to fix Poetry (#2994) 2023-01-31 10:36:17 +02:00
Steven Troxler 4224fa7f8d
PEP 698: Mark as Accepted (#2991)
See https://github.com/python/steering-council/issues/160#issuecomment-1409208844
2023-01-30 21:34:44 -08:00
Kushal Das e25c1fee99
PEP 582: Add more explanation based on feedback (#2983)
* Updates based on feedback

Adds explanation of handling `bin/` directory, or how we are not
trying to replace the existing virtual environments.

* Updates grammar based on feedback
2023-01-29 20:18:01 +01:00
Pablo Galindo Salgado 32eab9398d
PEP 701: Incorporate more feedback from the discussion thread (#2974) 2023-01-28 20:04:56 +00:00
Ken Jin 558d2066c0
PEP 699: Add implementation link (#2984)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-01-28 14:24:19 +08:00
Pradyun Gedam 6c40d235e6
PEP 704: Require virtual environments by default for installers (#2964)
Enforce the use of virtual environments and establish a conventional
name for the virtual environment directory.

Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Zak Johnson <me@zakj.net>
2023-01-25 06:11:02 -08:00
Jelle Zijlstra 78231877fc
PEP 702: Fix typo, section ordering (#2982) 2023-01-24 17:23:21 +02:00
Hugo van Kemenade 15caa8f24b
Infra: Use dark grey instead of dark green for dark theme background (#2977)
* Use #121212 for dark theme bgcolor

* Use #1111111 for dark theme bgcolor

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-01-24 07:53:08 +02:00
Hugo van Kemenade 2f277a0a2a
Infra: Fix Replaces/Superseded-By/Requires links for dirhtml (#2981)
After #2972, when building dirhtml,
we need to re-add the initial / for the links to PEPs
in the Replaces/Superseded-By/Requires headers.
2023-01-23 21:26:36 -06:00
Hugo van Kemenade b4a610bce9
PEP 13: Update current SC members for 2023 term (#2978)
PEP 13: Update current SC members
2023-01-23 13:32:22 -08:00
Sam Gross d9503c0be9
PEP 703: --disable-gil and other small changes (#2979)
* Rename `--without-gil` to `--disable-gil`.

Suggested by Inada Naoki.

* Add two sections to "Rejected Ideas":

 - Why Not Deprecate ``PyDict_GetItem`` in Favor of ``PyDict_FetchItem``?
 - Why Not Use PEP 683 Immortalization?

* Expand on Python build modes
2023-01-23 18:06:13 +01:00
Jelle Zijlstra b4de31296d
PEP 702: Add to Post-History (#2976) 2023-01-23 17:55:33 +01:00
Brian Park 52d0109c2e
PEP 495: Fix incorrect gap image (#2965)
The SVG image in the "Mind the Gap" section (pep-0495-gap.svg) was incorrect.
It is essentially the same as the the SVG image in the "In the Gap" section (pep-0495-fold.svg).
This is a bug that dates back to the original commit on
2015-08-30 (814d372811)
that uploaded the both the PNG and SVG versions of the Fold and Gap images.
The PNG version of the Gap image is correct, but the SVG version is incorrect.

The replacement SVG image attached in this PR is a manual recreation
of the PNG version of the Gap image that was deleted on 2022-04-23.
It is not exactly the same, but I think it is close enough.
2023-01-22 14:09:33 -06:00
Jelle Zijlstra d26af1abff
PEP 702: Changes after discussion (#2975) 2023-01-22 06:18:46 -08:00
Hugo van Kemenade 6fc3a4ddf3
Infra: Use relative links to ease development (#2972) 2023-01-22 12:56:05 +02:00
Hugo van Kemenade b173099ac6
Infra: replace feedgen/lxml dependency to test Python 3.12-dev (#2973) 2023-01-21 16:08:38 +02:00
Eric Snow a48b585960
PEP 554: Simplify! (#2812)
Most notably, I've removed "channels" from the PEP.
2023-01-20 11:12:46 -07:00
Inada Naoki eb63ebdbb6
PEP 582: Fix footnote (#2970) 2023-01-19 17:43:27 -08:00
Hugo van Kemenade 55ef1f44f5
Infra: Use consistent 'make html' and 'make dirhtml' (#2968) 2023-01-19 16:39:28 +02:00
Steven Troxler c582627501
PEP 698: Tighten up the section about typing rules. (#2969)
In our original draft to PEP 698, we wanted to emphasize that the
PEP exclusively deals with `@override`, rather than adding new
rules about override type signature.

We did this by stating that compatibility rules were pre-existing.
This is true de-facto, because all type checkers implement at least
some compatibility checks, but upon a careful re-reading it turns out
compatibility checks on subclass methods are not specified in any
PEP.

As a result, we should simply state that this PEP is not adding
any new rules on signatures, without alluding to type checking
rules that are not specified in previous PEPs.

I will separately start a discussion in typing-sig about whether we
want to provide a paper trail in PEPs - either a new PEP or a
light amendment to PEP 484 - to make compatibility checks explicit.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-01-18 16:33:42 +00:00
Petr Viktorin d525d4db6a
PEP 689: Mark as Accepted (#2967) 2023-01-18 11:58:46 +01:00
Ken Jin ab15de6ab8
PEP 699 & 509: Accept 699 and supersede 509 (#2963)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-01-18 16:28:02 +08:00
Kushal Das c34268dd5b
Adds Rationale section in the PEP (#2966) 2023-01-17 14:20:10 +01:00
Hugo van Kemenade 241163786e
Link to the correct location for the RSS feed (#2962) 2023-01-14 17:32:50 +00:00
Semnodime 5acbab82d8
PEP 617: Fix typo `out` -> `our` (#2961) 2023-01-13 14:53:48 +00:00
Martin Fischer d8ce90756f
PEP 561: Clarify 4th step in Module Resolution Order (#2960) 2023-01-13 00:43:43 -08:00
T. Wouters 26d2f2bff8
PEP 693: Update with the release date for 3.12.0a4 (#2957) 2023-01-10 13:15:42 -08:00
Łukasz Langa 02d8959947
[pep-0703] Add discussion thread on discuss.python.org 2023-01-10 17:09:10 +01:00
Sam Gross 094ad58a88
PEP 703: Making the Global Interpreter Lock Optional in CPython (#2955)
Sponsor: Łukasz Langa <lukasz at python.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Qexat <43090614+qexat@users.noreply.github.com>
2023-01-10 16:52:02 +01:00
James Hilton-Balfe b32d1ce8a1
PEP 696: Add further clarification and edge cases (#2902)
Co-authored-by: Eric Traut <eric@traut.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-01-08 13:45:09 -08:00
Adam Turner 859164d25e
Uncap the Sphinx requirement (#2952)
This updates the Sphinx requirement to allow 6.1.2 and beyond, but blacklists 6.1.0 and 6.1.1 (broken versions) from being installed.
2023-01-08 00:00:16 +00:00
Ed Swierk c8825e8551
PEP 227: Fix link to Cardelli paper (#2951) 2023-01-06 13:22:41 -06:00
Ken Jin b5d930c310
PEP 659: Mark's Paper was published in 2011, not 2010 (#2943) 2023-01-06 17:45:47 +00:00
Adam Turner 8d3c3fdedc
Cap Sphinx to 6.0.0 (#2950) 2023-01-06 16:50:42 +00:00
Philipp A 631ee6ce60
Infra: Only invert image brightness, not hue (#2949)
Since inversion doesn’t just affect brightness, but also hue, there’s a problem: Some background colors have perceptually less contrast with their text when hue rotated. This rotates their hue back, fixing the contrast issue.
2023-01-06 16:33:58 +00:00
Steven Troxler 32c692b214
PEP 698: discuss.python.org thread to post-history (#2948)
* PEP 698: discuss.python.org thread to post-history

As far as I know this is the last update needed ahead of SC
review.

* Also change the Discussions-To header
2023-01-04 11:00:29 -08:00
Jelle Zijlstra 2220d705a9
PEP 702: More discussion of precedent and runtime behavior (#2946)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-01-03 09:00:06 -08:00
Jelle Zijlstra d42d5a8a70
PEP 702: fix typos (#2945)
Pointed out by @hugovk on Discord.
2023-01-02 07:59:28 -08:00
Jelle Zijlstra f8f0f4acbc
PEP 702: Add link (#2944) 2023-01-01 16:22:04 -08:00
Jelle Zijlstra f668d6b846
PEP 702: Type system support for deprecations (#2942) 2023-01-01 16:01:08 -08:00