Commit Graph

9852 Commits

Author SHA1 Message Date
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
Franek Magiera e3010cb7d2
PEP 692: Abandon the syntax change proposal (#2941)
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: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-12-29 13:56:28 -08:00
Batuhan Taskaya d1cfb37937
PEP 701: Mention about code generators (#2940) 2022-12-26 16:44:31 +00:00
Pablo Galindo Salgado d547ef7ef4
PEP 701: Incorporate feedback from the discussion thread (#2939)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-12-24 21:42:21 +00:00
Ken Jin 574e82c2f4
PEP 699: Follow standard deprecation policy (#2927)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-12-22 22:41:33 +08:00
Jelle Zijlstra 58d49df46a
PEP 688: Enhance and clarify the specification (#2917)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2022-12-20 09:58:44 -08:00
Dane Hillard f68b3c1898
PEP 701: Proofreading / copy editing (#2935) 2022-12-20 11:58:54 +00:00
Pablo Galindo Salgado 09032faf9b
PEP 701: Correct link to nested interpolation strings (#2933) 2022-12-19 23:10:00 +00:00
Paul Moore 805b973c1b
PEP 700: Mark as accepted (#2934) 2022-12-19 18:04:47 -05:00
Hugo van Kemenade 959416955f
PEP 690: Change status to rejected (#2930) 2022-12-19 10:02:06 -08:00
Pablo Galindo Salgado c8905d0d73
PEP 701: Add discussion link (#2932) 2022-12-19 17:59:15 +00:00
Hugo van Kemenade 68f55b3139
PEP 8104: No withdrawn nominations (#2926) 2022-12-18 12:59:50 +02:00
Ezio Melotti 89ed2e4597
PEP 562: Fix example by adding repr in an error message (#2928)
Fix example by adding repr in an error message.
2022-12-16 15:03:30 -08:00