Commit Graph

9887 Commits

Author SHA1 Message Date
Irit Katriel 23e1d474ad
PEP 707: A simplified signature for __exit__ and __aexit__ (#3018) 2023-03-02 10:28:07 +00:00
Hugo van Kemenade d54d4e66c7
Infra: Automatically edit PRs with link to RTD preview (#3031) 2023-03-01 07:05:31 +02:00
Carl Meyer 57f118e963
PEP 709: add notes from discussion thread (#3032) 2023-02-28 15:24:22 -08:00
Carl Meyer 98235c7a0b
PEP 709: Remove obsolete incompatibility subsection (#3030) 2023-02-27 20:11:31 -06:00
Carl Meyer cf5741c181
PEP 709: Inlined comprehensions (#3029)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-02-26 17:11:03 -08:00
Erlend E. Aasland 6d182da522
PEP 8: Allow both one and two spaces after period (#3027)
Authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-02-25 04:44:10 -08:00
C.A.M. Gerlach 78b814d7a6
Meta: Further tweak PR template titles to get the right order (#3001)
* Further tweak the PR template titles to get the right order
* Further refine New PEP PR checklist text
2023-02-25 02:41:31 -06:00
Donald Stufft 3115df4af7
PEP 708: Add Discussions-To and update Post-History (#3026) 2023-02-23 10:56:46 -05:00
Donald Stufft f074fe020b
PEP 708: Extending the Repository API to Mitigate Dependency Confusion Attacks (#3019)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Stefano Rivera <github@rivera.za.net>
2023-02-23 10:48:47 -05:00
Mark Shannon bf937e64f5
PEP 669: Update to reflect latest design and implementation (#3021)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-02-23 13:37:40 +00:00
Petr Viktorin 706b7aa2e1
PEP 706: Add some notes, remove open issue, fix mistakes & formatting (#3023)
* Add some notes, remove open issue, fix mistakes & formatting

- Remove Open Issue “How far should this be backported?”.
  That'll be up to release managers, no need to put it in the PEP.
- Add a section on adding filters to zipfile. Not *quite* a
  “rejected idea”, but IMO the PEP is good enough without it.
- Add a note on a registration mechanism
- Fix a few obvious mistakes, typos, formatting

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-02-22 17:19:58 +01:00
Jelle Zijlstra 3eb648d9b4
PEP 692: Mark as accepted (#3022) 2023-02-22 09:35:45 +02:00
Lumír 'Frenzy' Balhar ba0d2a3ffd
PEP 706: Fix typo (#3020) 2023-02-21 06:11:43 -08:00
Caleb P. Burns db94143ce1
PEP 706: Fix trivial typo (#3017) 2023-02-15 16:49:24 -08:00
Petr Viktorin 43a289fe27
PEP 706: Add Discussions-To & Post-History entry (#3016) 2023-02-15 16:43:24 +01:00
Petr Viktorin 01717ed196
PEP 706: Filter for tarfile.extractall (#3009)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-02-15 13:32:31 +01:00
Jelle Zijlstra 605ea6644c
PEP 688: Expand backwards compatibility section (#3007)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-02-14 16:23:15 -08:00
Kushal Das 2b670aa514
PEP 582: Updates sysconfig scheme requirement (#3014) 2023-02-13 16:29:31 +01:00
Jelle Zijlstra 65a56a2142
PEP 702: Update number of parameters in specification (#3011)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2023-02-09 09:30:20 -08:00
Hugo van Kemenade b793892420
PEPs 619, 664, 693: Update newest release dates (#3008) 2023-02-09 11:14:24 +01:00
Jelle Zijlstra 5f9a9e7f10
PEP 702: Runtime warnings by default (#3006) 2023-02-06 20:36:32 -08:00
C.A.M. Gerlach f292166dba
Lint: Allow per-message Post-History links w/trailing slash (#3005)
* Lint: Only ignore per-message links in Post-History with trailing slash
* PEP 684: Add trailing slash to per-message Post-History link
* Infra: Use clearer term (message, not post) for single Discourse messages
2023-02-06 16:49:00 -06:00
Eric Snow bb50330507
PEP 684: Minor Updates (#3004)
I had forgotten to update the Post-History header back in October. There was also one minor point from that round of discussion that I had not added to the PEP yet.
2023-02-03 15:49:21 -07:00
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