Commit Graph

411 Commits

Author SHA1 Message Date
Filipe Laíns ec2ca2ec6c
PEP 739: add hexversion value in the example (#3717) 2024-03-13 13:01:38 +00:00
Victor Stinner 17cd307bd1
PEP 743: Add Py_COMPAT_API_VERSION to the Python C API (#3715) 2024-03-11 21:44:01 +01:00
Evan Kohilas e749257eb8
PEP 736: Add reference to new discussion (#3708)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-03-10 13:52:57 -06:00
Victor Stinner e98d6c00e4
PEP 741: Fix small mistakes (#3713) 2024-03-10 07:35:56 +00:00
Victor Stinner a0e3011518
PEP 741: remove Spawn process section (#3712) 2024-03-10 00:23:55 +00:00
Victor Stinner 4352a4a56c
PEP 741: Remove the Python API (#3711) 2024-03-10 00:54:18 +01:00
Victor Stinner 5a8622e004
PEP 741: Fix table formatting (#3710) 2024-03-09 21:12:42 +00:00
Victor Stinner 66ecf110b0
PEP 741: Add sys.set_config() (#3709) 2024-03-09 21:44:22 +01:00
Victor Stinner c4a5976ff3
PEP 741: Add Multi-phase section (#3706)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2024-03-09 08:58:39 +01:00
Victor Stinner 7e7296bfdc
PEP 741: Add sys.get_config_names() (#3686)
* PEP 741: Add sys.get_config_names()

* Add sys.get_config_names() function.
* Add PyInitConfig_HasOption() function.
* Remove Py_ExitWithInitConfig() function.
* Add "Fully remove the preinitialization" section.
* Mention when the caller must hold the GIL.
* Add example increasing an initialization configuration option.
* "Usage of the stable ABI" section: add more quotes.
* Document that options side effects are not taken in
  account by PyInitConfig_Set*() functions.
* Add "Spawnw process" section.
* Add Cython rationale.
* Add myself as PEP 741 code owner.
2024-03-08 15:35:01 +01:00
Diego Russo 95305ef99a
PEP 11: Promote `aarch64-apple-darwin` to tier 1 (#3705) 2024-03-07 10:15:57 -08:00
Łukasz Langa 5a1e77c4de
[pep703] Py_NOGIL is now Py_GIL_DISABLED after python/cpython#111864 2024-03-06 11:40:20 +01:00
Tian Gao 2179ebc927
PEP 667: Add discussion and implementation link (#3688) 2024-03-05 10:54:24 +00:00
Malcolm Smith 6a6f355bcb
PEP 738: clarify Android CI availability (#3700) 2024-03-04 14:09:57 +01:00
Jelle Zijlstra a8d040aceb
PEP 696, 705: Mark as Accepted (#3699) 2024-03-01 05:59:13 -08:00
Eric Snow 2df99f332c
PEP 734: Fix the Example Code Under Interpreter.call_in_thread() (#3698) 2024-02-29 16:29:05 -07:00
Jelle Zijlstra b70f26b7c4
PEP 742: Allow inferring the intersection type; carry over TypeGuard spec change (#3696) 2024-02-29 07:37:45 -08:00
Sergey B Kirpichev 711208a787
PEP 726: Mark as Rejected (#3695) 2024-02-28 15:47:57 -08:00
Mariatta 670382b5a6
PEP 732: Specify that the Python Wiki is not in scope (#3663) 2024-02-27 22:14:55 -08:00
Jelle Zijlstra b83b17ffd7
PEP 730: Mark as accepted (#3694) 2024-02-28 00:06:40 -05:00
Filipe Laíns 77a9780295
PEP 739: add missing fields (#3693) 2024-02-27 20:12:25 +00:00
Eric Snow 13022a6d12
PEP 734: Updates After Discussion (#3664) 2024-02-27 11:49:36 -07:00
Stephen Rosen c55835e170
PEP 735: Refine phrasing around 'non-standard' tool features (#3689)
Refine "non-standard" phrasing in PEP 735

One of the Poetry maintainers noted tha the current phrasing could be
read as a negative take on `poetry` and `pdm` using "non-standard"
data.

At the same time, it's important to be clear that the problem being
solved here is not adequately solved by the existing tools due to the
lack of an existing underlying standard.

This rephrasing tries to balance these two concerns, describing the
current behaviors as 'tool specific' and focusing on "standardization"
(positive) rather than "non-standardization" (negative).
2024-02-26 11:05:24 -08:00
Hugo van Kemenade 3029af3348
PEP 394: Fix formatting (#3691)
And remove redundant fields, and update BPO link
2024-02-26 09:33:49 +01:00
Filipe Laíns 46c0e9730a
PEP 739: first round of feedback (#3690) 2024-02-24 10:20:02 +00:00
William Andrea d294d5ef19
PEP 657: Fix alignment typo (#3605) 2024-02-23 18:21:19 -08:00
Jelle Zijlstra c576162334
PEP 742: Expand "How to Teach This" (#3683)
Example sections on:
- When to use TypeIs
- How to write a safe TypeIs
- TypeIs vs. TypeGuard

Also note the implementations in typing-extensions, pyright, and pyanalyze.
2024-02-22 20:55:29 -08:00
Tian Gao 5995f0b7f9
PEP 667: Add Tian to the list of authors (#3687) 2024-02-22 17:46:27 +00:00
Sviatoslav Sydorenko (Святослав Сидоренко) 9c5d66b67d
PEP 735: Fix a typo — "iif" -> "if" (#3685) 2024-02-20 19:10:31 -08:00
Hugo van Kemenade 3caeb30a58
PEP 664, 694, 719: Update 3.11.8, 3.12.2 and 3.13.0a4 release dates (#3681)
* PEP 694, 719: Update 3.12.2 and 3.13.0a4 release dates

* PEP 664: Update 3.11.8 release date
2024-02-19 14:46:14 +00:00
Zixuan Li 290f47b4f4
PEP 728: Incorporate feedback from discussions (#3680)
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2024-02-17 14:31:57 -08:00
James Hilton-Balfe c6c71c52e5
PEP 718: More rationale, use-cases and expansion on monomorphisation (#3631)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2024-02-16 19:29:08 -08:00
Hugo van Kemenade 16c8775b31
PEP 695: Mark as Final (#3675) 2024-02-16 19:25:41 -08:00
Hugo van Kemenade 908d90ab5c
PEP 604: Mark as Final (#3677) 2024-02-16 19:06:07 +02:00
Hugo van Kemenade 3f0332f992
PEP 692: Mark as Final (#3679) 2024-02-16 08:12:21 -08:00
Hugo van Kemenade 3e06783c66
PEP 688: Mark as Final (#3678) 2024-02-16 08:11:53 -08:00
Hugo van Kemenade 0a8908c752
PEP 613: Mark as Final (#3670) 2024-02-16 08:28:04 +02:00
Hugo van Kemenade 467e5b55cc
PEP 655: Mark as Final (#3672) 2024-02-16 08:27:36 +02:00
Hugo van Kemenade 248999fc15
PEP 681: Mark as Final (#3674) 2024-02-15 17:17:07 -08:00
Jelle Zijlstra b9cc1fcc61
PEP 742: Add Discussions-To; use TypeIs (#3665) 2024-02-15 17:16:03 -08:00
Hugo van Kemenade e1f09321ac
PEP 698: Mark as Final (#3676) 2024-02-15 12:03:31 -07:00
Hugo van Kemenade 9b015251ad
PEP 675: Mark as Final (#3673) 2024-02-15 18:22:13 +02:00
Hugo van Kemenade bcd42d645e
PEP 593: Mark as Final (#3669) 2024-02-15 17:45:15 +02:00
Hugo van Kemenade 74ceb5d8ae
PEP 591: Mark as Final (#3668) 2024-02-15 07:39:51 +02:00
Hugo van Kemenade e329925dba
PEP 589: Mark as Final (#3667) 2024-02-14 13:43:47 -07:00
Hugo van Kemenade ef1b489c4c
PEP 586: Mark as Final (#3666) 2024-02-14 13:29:34 -07:00
Malcolm Smith fda02b5757
PEP 738: Android support, draft 2 (GH-3651) 2024-02-13 16:16:35 +01:00
Jelle Zijlstra 53c3d1a703
PEP 742: TypeNarrower (#3649)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-10 20:14:42 -08:00
William Woodruff 708a7295c7
PEP 740: initial feedback (#3637)
Signed-off-by: William Woodruff <william@yossarian.net>
2024-02-10 20:48:19 +02:00
Hugo van Kemenade 9c7c5e06f7
PEP 647: Mark as Final (#3577) 2024-02-10 20:25:14 +02:00
Zixuan Li 15135035de
PEP 728: Fix formatting and code highlighting issues (#3659)
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2024-02-09 05:24:13 -08:00
Zixuan Li 54ba2b4612
Add the "Discussions-To"/"Post-History" headers and fix a typo. (#3658)
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2024-02-08 21:31:58 -08:00
James Hilton-Balfe 7dab70653e
PEP 718: Update discussions link (#3594) 2024-02-09 07:22:26 +02:00
Zixuan Li 395a3115da
PEP 728: TypedDict with Typed Extra Fields (#3441)
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-02-08 18:55:10 -08:00
Eric Traut 4112eff73b
PEP 724: Withdraw (#3656) 2024-02-08 18:51:39 -08:00
Sergey B Kirpichev a75631e0d4
PEP 726: fix type of sys.modules (#3642) 2024-02-08 16:58:24 -08:00
Victor Stinner dccf12ae3b
PEP 741: Add second discussion thread to Post History (#3654) 2024-02-08 18:00:51 -06:00
Brett Cannon 8a344a572a
PEP 11: promote `wasm32-wasi` to tier 2 (#3655) 2024-02-08 12:57:25 -08:00
Victor Stinner bbc39a5100
PEP 741: Second version (#3652) 2024-02-08 19:40:50 +01:00
Rebecca Chen 4f151e9777
PEP 696: consolidate discussion of constraint solving in "Function Defaults" section, add new "Subtyping" section (#3648)
* PEP 696: consolidate discussion of constraint solving.

Consolidates discussion of usage of defaults in constraint solving in
the "Function Defaults" section, to make it clear that this is
experimental and unspecified.

* PEP 696: Explicitly call out that defaults do not affect subtyping.
2024-02-07 16:44:55 -08:00
Rebecca Chen 2b913684ca
PEP 696: some suggestions to make the text clearer (#3641)
* Moves TypeVarTuple discussion so the text flows better. Otherwise, it
  feels to me like an awkward interlude between the paragraph
  introducing rules and the actual rules.
* In sections where the text uses `T1` and `T2` as TypeVar names, changes
  the examples to use the same names.
* Fix subtyping relationship in "Bound Rules."
* Spell out subclassing rules in the text, rather than leaning so much on the example.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com>
2024-02-07 16:29:44 -08:00
Hugo van Kemenade 67c0d14227
PEP 544: Mark as Final (take 2) (#3647) 2024-02-07 09:18:39 -08:00
Hugo van Kemenade e633b6e6c2
PEP 544: Mark as Final (#3646) 2024-02-07 19:10:05 +02:00
Hugo van Kemenade 7558f19291
PEP 673: Mark as Final (#3644) 2024-02-07 08:26:02 -08:00
Hugo van Kemenade fe70e94782
PEP 560: Mark as Final (#3570)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-02-07 17:02:53 +02:00
Ethan Furman 3728f0d47a
PEP 467: add discouraged use example (#3611)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-02-07 15:44:54 +02:00
Mark Shannon 641c75fac9
PEP 669: Mark final (#3615)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-07 11:51:52 +00:00
Rebecca Chen 9ef5738251
PEP 705: fix typo in "Motivation" section. (#3640) 2024-02-05 04:45:55 -08:00
Jelle Zijlstra 6460430a90
PEP 696: Proposed changes (#3638) 2024-02-01 22:39:41 -08:00
Gregory P. Smith 0caaa5ad59
PEP 11: Make unsupporting a platform less draconian (#3633)
This loosens the statements about builds and configure needing to
Break and instead changes this to a mere build/configure time warning.
This is in line with how we treat platforms that are not on a support
Tier (of which there are many).  Doing anything else would basically
be unreasonable punshiment for anything in our support Tiers that then
loses its official PEP-11 support for whatever reason.

Discussed in https://discuss.python.org/t/proposed-update-to-pep-11-on-unsupporting-a-platform-less-draconian-measures/44065.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-02-01 19:28:39 +00:00
James Hilton-Balfe 27ed905918
PEP 696: Replace usages of TypeVarLike with type parameter (#3619)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-02-01 07:02:03 -08:00
Hugo van Kemenade e31c0d565e
PEPs 729, 731, 732: Add contact for asking for a decision (#3636) 2024-01-31 17:57:38 +02:00
William Woodruff 825a7db115
PEP 740: update discussions-to (#3635) 2024-01-29 15:47:43 -08:00
William Woodruff a85fa9110d
PEP 740: Index support for digital attestations (#3618)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Facundo Tuesca <facundo.tuesca@trailofbits.com>
2024-01-29 14:26:19 -07:00
Stephen Rosen 9d82dd1cd8
PEP 735: Minor updates and fixes (#3627)
- Minor corrections / typo fixes
- Use a ref role for `use_cases` link. As currently written, it
  renders incorrectly to a relative link to a `use_cases` page.
- Fix header style for Use Cases Appendix
- Add an explicit Compatibility section to Rationale

Future compatibility and designing the Dependency Groups data to be
extensible is a particular area of concern within the PEP. Although it
is addressed to some degree in the Specification, this small note in
the Rationale clarifies that compatibility with spec extensions is a

---------

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-01-26 15:47:10 -08:00
Filipe Laíns 1eb29bbed0
PEP 739: don't use raw text in specification titles (#3634) 2024-01-26 15:52:40 +00:00
Petr Viktorin c9d5a85240
PEP 11: Move powerpc64le to tier 3 (#3632)
As announced in https://discuss.python.org/t/43534,
I'm stepping down as the contact for powerpc64le.
This demotes the platform to Tier 3 (which is the right
place for it, IMO).
2024-01-24 15:23:28 -08:00
Filipe Laíns 9eeb5d7249
PEP 739: Static description file for Python installations (#3599) 2024-01-20 22:34:53 +00:00
Victor Stinner 017cfb64ba
PEP 741: Add Discussions-To (#3626)
Move the "Discussions" section at the end.
2024-01-19 18:00:45 +01:00
Victor Stinner c3af863741
PEP 741: Python Configuration C API (#3625) 2024-01-19 17:43:45 +01:00
T. Wouters f31f53dcba
PEP 693: Explicitly list 3.12's future patch release dates (#3624)
Spell out the schedule for future patch releases of 3.12 explicitly.
2024-01-17 16:10:20 +00:00
T. Wouters 461fd91555
PEP 719: Update for 3.13.0a3 (#3623)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-01-17 16:09:36 +00:00
Victor Stinner 8cbcebf505
PEP 737: Add type.__format__() method (#3589)
* Add type.__format__() method.
* Add more formats to PyUnicode_FromFormat().
* Add PyType_GetModuleName() function.
2024-01-15 18:37:21 +01:00
Hugo van Kemenade d8e113004d
PEP 1: Remove outdated info about omitting delegate's email address (#3622) 2024-01-12 13:31:04 -07:00
Malcolm Smith 2cbb99c577
PEP 738 (new): Adding Android as a supported platform (GH-3586)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
2024-01-12 10:39:19 +01:00
Hugo van Kemenade f7f9f2d68a
PEP 612: Mark as Final (#3575)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-01-12 00:20:09 -07:00
Hugo van Kemenade 6b226b1ae9
PEP 495 and 732: Add alt text to images (#3606)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-01-11 16:25:09 +00:00
Steve Dower 887cdaa552
PEP 11: Add note about interpreting current Windows release (#3617)
PEP 0011: Add note about interpreting current Windows release
2024-01-10 15:54:09 +01:00
Brett Cannon 6a147eaacb
PEP 723: Mark as Accepted (#3616)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-01-10 01:00:01 +00:00
Joshua Bambrick 9498cb7107
PEP 736: Shorthand syntax for keyword arguments at invocation (#3551)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-01-09 17:03:59 +02:00
Stephen Rosen bf96565f05
PEP 735: 'Draft 3', updating to match current discussion (#3607)
- Remove the PEP 723 use-case
- Change to non-normalized names which require normalization
  - Update the reference implementation to normalize
- Clarify the meaning of an Include
- Forbid cycles in includes
- Add a section on validation and compatibility which clearly defines
  future-compatible behavior
- Remove 'include list' from open issues
- Add 'includes of `[project]` tables' to open issues
2024-01-03 14:38:27 -08:00
Brett Cannon 9176189e63
PEP 11: wasm32-unknown-emscripten is no longer supported (#3612) 2024-01-01 13:42:52 -08:00
Ethan Furman 828523ad82
PEP 437: update meta info (GH-3609) 2023-12-27 12:53:35 -08:00
Ethan Furman 1f196ea6c3
PEP-0467: include reference to current iter-bytes thread (GH-3608) 2023-12-27 11:51:37 -08:00
Mariatta d119fc4129
PEP 732: Mark as Active (#3604)
Added the note from SC regarding expanding
the scope to include docstrings in the
standard library.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-12-26 05:54:01 -08:00
Ethan Furman 89f5afbb21
PEP 467: ascii constructors removed (GH-3603) 2023-12-23 16:01:48 -08:00
Paul Moore 5f200941a3
PEP 723: Modify the spec based on post-acceptance discussions (gh-3601)
* PEP 723: Modify the spec based on post-acceptance discussions
2023-12-22 22:50:04 +00:00
Hugo van Kemenade 9779c7efe6
PEP 617: Update canonical link (#3597) 2023-12-18 21:39:13 +00:00
Hugo van Kemenade 228851c521
PEP 617: Mark as Final (#3596) 2023-12-18 21:25:40 +00:00
Hugo van Kemenade a1e917194c
PEP 709: Mark as Final (#3591) 2023-12-15 08:06:12 -07:00
Eric Snow a71220612a
PEP 734: Add Links For Discussions (#3590) 2023-12-15 00:22:25 +00:00
Aliaksei Urbanski b8084b8d08
Update Read the Docs name and URL (#3588) 2023-12-14 21:37:56 +00:00
Ee Durbin a05ec2e2c6
PEP 8105: Publish final and complete results (#3584) 2023-12-12 12:20:36 +00:00
Chris Angelico 108ca0a79a
PEP 726: Fix error message description (#3562)
* PEP 726: Fix error message description

Zero is a non-negative number, but since zero is being excluded here, the
check is really ensuring that it is a positive number.

* s/overriden/overridden/

---------

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-12-12 06:58:40 +02:00
Hugo van Kemenade 8fe50a0397
PEP 719: 3.13.0a2 has been released (#3544)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2023-12-12 00:30:50 +01:00
Hugo van Kemenade 8ce4ba9e8a
PEP 675: Mark malicious code example with red sidebar (#3574)
Co-authored-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
2023-12-12 00:22:29 +01:00
Sebastián Ramírez d9e47a206b
PEP 727: Specify `Doc` in type aliases documents the type alias symbol, update rejected ideas (#3581)
📝 Update PEP to specify `Doc` in type aliases documents the type alias symbol
2023-12-12 00:21:54 +01:00
John T. Wodder II 0244d89009
PEP 693: Add 3.12.1 release date (#3578)
As is done for the other release schedule PEPs
2023-12-12 00:17:42 +01:00
Blazej Michalik c15cbba664
PEP 448: Fix misleading passage in the abstract (#3573)
The passage in the PEP misleads its readers into believing, that
unpacking in comprehensions is supported. This is not the case, as
presented by the abstract itself:

> This PEP does not include unpacking operators inside list, set and
> dictionary comprehensions although this has not been ruled out for
> future proposals.

(Historically, the PEP originally did propose this, but that part of
the PEP was rejected, and the abstract wasn't completely updated.)
2023-12-11 10:58:32 -08:00
Ee Durbin 8788f8875d
PEP-8105 redux (#3582) 2023-12-11 08:17:54 -05:00
Ee Durbin 32d7853cf5
PEP-8105: Publish results (#3580) 2023-12-11 07:21:28 -05:00
Hugo van Kemenade 963f564c71
PEP 634: Mark as Final (#3576) 2023-12-11 07:40:56 +02:00
Hugo van Kemenade d341072725
PEP 8: Add green and red sidbar for good and bad examples (#3567) 2023-12-09 09:19:37 -07:00
Jean Abou-Samra 0e298a1903
PEP 668: Link to PyPA spec (#3532) 2023-12-07 12:59:56 -07:00
Jacob Coffee d869ad4829
PEP 698: adjust broken or shifted links (#3569) 2023-12-07 11:44:39 +02:00
Ralf Gommers 3e4a83d130
PEP 725: version 2, addressing review comments on Discourse to date (#3546) 2023-12-06 13:48:29 -07:00
Stephen Rosen 2a8ea315ef
PEP 735: Draft 2 of Dependency Groups in pyproject.toml (#3566)
The major changes are as follows:
- remove support for path dependencies (!)
- include a reference implementation
- move 'use cases' into appendix
- rephrase position vis-a-vis Poetry and PDM, and move details
  of those tools into an appendix
- include more example data throughout
- explicitly address the lack of standardization around "reserved
  names" for Dependency Groups in several places

This revision should be shorter as well. Some redundant and wordy
sections have been struck or rewritten.

---------

Co-authored-by: Brett Cannon <brett@python.org>
2023-12-06 10:06:00 -08:00
Hugo van Kemenade f8f3b5eec5
PEP 621: Fix reference to canonical spec (#3563) 2023-12-06 09:17:05 -07:00
Hugo van Kemenade c1f1b38c78
PEP 664: Update 3.11.7 release date (#3565) 2023-12-05 16:32:19 +00:00
Victor Stinner 99825461f8
PEP 737: Add %N format, recommend fully qualified name (#3560)
* Add %N and %#N formats.
* The %T and %#T formats now expect an object instead of a type.
* Exchange %T and %#T formats: %T now formats the fully qualified
  name.
* Recommend using the type fully qualified name in error messages and
  in __repr__() methods in new code.
* Skip the __main__ module in the fully qualified name.
2023-12-05 12:15:09 +01:00
Victor Stinner 15dbd2632c
PEP 621: Remove invalid reference (#3564)
The reference is not rendered, not used, and it doesn't exist.
2023-12-05 12:09:34 +01:00
Brett Cannon a3f2522c96
PEP 11: update contacts for WASM-related platforms 2023-11-30 13:54:58 -08:00
Stephen Rosen d75db62fa3
PEP 735: Add prior art sections for JS and Ruby to appendices (#3557)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Brett Cannon <brett@python.org>
2023-11-30 13:37:22 -08:00
Jelle Zijlstra 84fc526aaa
PEP 1: Mention the Typing Council (#3550) 2023-11-29 12:16:51 -08:00
Hugo van Kemenade 7655756e59
PEP 737: Add Discussions-To and Post-History (#3556) 2023-11-29 17:21:32 +02:00
Victor Stinner d1604aeefc
PEP 737: Add link to PEP discussion (#3555) 2023-11-29 14:26:35 +01:00
Victor Stinner c094b50cc7
PEP 737: Unify type name formatting (#3554) 2023-11-29 13:44:54 +01:00
Stephen Rosen 1a089b850e
PEP 735: Dependency Groups in pyproject.toml (#3541)
Co-authored-by: James Webber <jamestwebber@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: chrysle <fritzihab@posteo.de>
2023-11-28 17:15:22 -08:00
Alice 66d1fc80bd
PEP 705: Clarifications, and define runtime behavior changes (#3526)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-28 09:42:05 -08:00
Jelle Zijlstra 8cf69d6227
PEP 5, 6: Mark as Superseded (#3547)
These are both marked as Active, but neither represents current
practice.

PEP 5 has been replaced by PEP 387, the backwards compatibility policy.
PEP 6 concerns bugfix releases. The procedure for those is now
documented at https://devguide.python.org/developer-workflow/development-cycle/
2023-11-28 06:46:07 -08:00
Eric Snow 12e276545d
PEP 683: Update the Perf Regression With the Final Benchmark Results (#3519) 2023-11-27 19:44:40 -07:00
Eric Snow 6aeaba7f23
PEP 734: Multiple Interpreters in the Stdlib (#3523) 2023-11-27 19:32:35 -07:00
Zachary Ware 242239bb0c
PEP 602: Restore Post-History header (#3472) 2023-11-27 12:14:23 -07:00
Viicos a0ccdf5c68
PEP 702: fix typo (#3548) 2023-11-26 01:26:50 -08:00
Jelle Zijlstra 3db0f12cb1
PEP 729: Reword confusing "end users" wording (#3539) 2023-11-24 15:06:11 -08:00
Ee Durbin 76cf190e5e
PEP-8105: update with nominations and voter roll (#3543) 2023-11-23 11:45:52 -05:00
Jelle Zijlstra bf89a7c592
PEP 729: Mark as Active (#3542)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-22 17:28:29 -08:00
Guido van Rossum ae7f8fb930
PEP 731: List members explicitly and mark Active (#3540)
Also drop the sentence from the abstract implying the WG members are the PEP authors (the correspondence is now a mere coincidence).
2023-11-21 11:52:19 -08:00
Erlend E. Aasland ca28a17523
PEP 7: Add C pre-processor macro style recommendations (#3516) 2023-11-16 10:37:18 +01:00
Russell Keith-Magee c0870debbc
PEP 730: More revisions and clarifications (#3529) 2023-11-15 20:13:49 -05:00
Josh Cannon f7b84aab4e
PEP 712: Update with suggestions/clarifications from discussion (#3496) 2023-11-14 11:22:34 -08:00
Jelle Zijlstra bf0b381704
PEP 387: Use the @deprecated decorator if possible (#3525)
PEP 702 says that the deprecation policy should be updated to
encourage use of @deprecated for deprecations.
2023-11-14 07:46:11 -08:00
Cristián Maureira-Fredes eb71e6a422
PEP 733: Adjust binding generator for Qt (GH-3533)
PySide was listed as a binding generator for Qt,
but PySide is the final project. The name of the used
binding generator that PySide uses, is Shiboken.
2023-11-14 12:00:51 +01:00
Ee Durbin 9afa294e28
PEP 8105: i dropped the ball, move dates on pep. (#3530)
i dropped the ball, move dates on pep 8105.
2023-11-09 11:23:16 -05:00
Jean Abou-Samra d55eeb1958
PEP 440: Link to PyPA spec (#3527) 2023-11-09 07:30:12 +02:00
Ofek Lev e36a5a65c4
PEP 723: Rename to `Inline script metadata` (#3522) 2023-11-07 11:13:15 -08:00
Jelle Zijlstra ac7a42f671
PEP 702: Mark as Accepted (#3524) 2023-11-07 09:16:36 -08:00
Alice 52dcd9e1ee
PEP 705: Add new discussion thread URL (#3520) 2023-11-04 07:34:50 -07:00
Ofek Lev 04b3abd6a7
PEP 723: Mark as Provisional (#3505)
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: David Ellis <ducksual@gmail.com>
2023-11-03 12:16:59 -07:00
Eric Snow 502a13a43b
PEP 554: Clean Up and Add Channels Back In (#3498)
The bulk of the new text comes from what I removed in gh-2812 (a48b585).

One notable addition: Interpreter.set_main_attrs() (and Interpreter.get_main_attr()).
2023-11-01 17:06:47 -06:00
Hugo van Kemenade a60091889e
PEP 733: Add Post-History (#3518) 2023-11-01 16:42:24 +02:00
Irit Katriel 02da28b2bd
PEP 733: An Evaluation of Python's Public C API (#3491) 2023-11-01 13:39:52 +00:00
Sergey B Kirpichev 150fbe9368
PEP 726: Update, new sections (#3425) 2023-10-30 16:35:48 +01:00
Jelle Zijlstra f4382664a4
PEP 729: expand to five members; list initial names (#3513)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-29 22:06:57 -07:00
jablonskidev 66d56aad21
PEP 732: Clarify the Editorial and Docs group names and history (#3515)
Clarify the history and names of Editorial and Docs group
2023-10-29 13:52:09 -07:00
Sam Gross 1d09abe701
PEP 703: Mark as Accepted (#3512) 2023-10-28 16:23:10 -07:00
Philipp A 4e4ea9196a
PEP 536: Mark as Withdrawn (#3510)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-26 12:35:14 +03:00
Hugo van Kemenade 8df0448eca
PEP 732: Add Discussions-To and Post-History, fix typo (#3509) 2023-10-25 00:16:43 -06:00
Alice 718157a661
PEP 705: Simplify and clarify proposal (#3504)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-10-24 08:32:16 -07:00
Russell Keith-Magee 4d14f7a1f9
PEP 730: Revisions and clarifications following community discussion (#3506) 2023-10-24 01:19:00 +01:00
Ee Durbin fab61d6a3b
PEP 8105: 2024 Term Steering Council Election - Initial (#3508) 2023-10-23 21:28:56 +02:00
amak 5a230ee5c9
PEP 3333: Fix a TypeError in the example CGI Driver code (#3497) 2023-10-23 12:28:26 -07:00
Paul Moore 7e39ae246b
PEP 722: Mark as rejected (#3499) 2023-10-21 11:30:17 +01:00
Julien Palard afd253e6b1
PEP 101: Docs: Less steps to update versions. (#3494) 2023-10-20 14:14:42 +02:00
jablonskidev 54b14ed559
PEP 732: The Python Documentation Editorial Board (#3489)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Guido van Rossum <guido@python.org>
Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
2023-10-19 18:00:08 +03:00
Alice acecb12b9c
PEP 705: Clean up examples in Inheritance section (#3495)
Clean up examples in Inheritance section
2023-10-18 12:09:45 -07:00
Mikhail Golubev ad131c6132
PEP 698: Add "self" parameters to methods and a colon to a class (#3490) 2023-10-17 23:06:41 -07:00
Alice fb526a8822
PEP 705 Link to new discussion thread (#3492) 2023-10-17 06:53:12 -07:00
Sebastian Rittau 3759887f42
PEP 696: Update the discussions to link (#3493)
The latest discussion thread is now on discourse.
2023-10-17 06:40:42 -07:00
Alice 54f10d9ca4
PEP 705: Rewrite to focus on TypedDict changes (#3440)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-10-16 07:49:44 -07:00
Jelle Zijlstra 6715be7d1c
PEP 702: Tools may clean up the deprecation message (#3482)
See https://discuss.python.org/t/pep-702-marking-deprecations-using-the-type-system/23036/53?u=jelle

I don't want to prescribe the exact behavior on tools and IDEs; they
can figure out for themselves what works best. This change is intended
to make it so they can adjust the message without worrying that they
are breaking the specification.
2023-10-15 15:18:19 -07:00
Hugo van Kemenade 43bdd16f01
PEPs 729, 731: Apply Governance topic (#3487) 2023-10-13 09:08:03 -07:00
Hugo van Kemenade 2ff051f662
PEP 719: The first alpha of 3.13 was released on Friday 13th (#3485) 2023-10-13 17:21:08 +02:00
Jelle Zijlstra 6875de21e8
PEP 729, 731: Remove Python-Version (#3484) 2023-10-13 07:59:36 -06:00
Sebastian Rittau 4ea40e0d6a
PEP 729: A few proposed small changes (#3483)
* Remove a "now", which gets repeated in the next sentence.
* Add explanations behind PEP numbers.
* Move "conformance tests" behind "buy-in" items, seems it seems to me that buy-in should come before writing the tests.
2023-10-13 06:51:44 -07:00
Guido van Rossum b9138054bc
PEP 731: Add Discussions-To and Post-History (#3481) 2023-10-13 13:47:19 +00:00
Guido van Rossum 32adf8fb23
PEP 731: C API Working Group Charter (#3476)
(Co-authored by all listed co-authors, and also by Jelle, since we cribbed a lot of words from his PEP 729.)
2023-10-13 06:12:18 -07:00
Ofek Lev 52a3481381
PEP 658: fix typo (#3479) 2023-10-12 23:15:59 -06:00
Sebastián Ramírez 7fba02d76c
PEP 727: Update `first_name` to `name` from feedback by Gregory P. Smith (#3478) 2023-10-12 07:16:44 -07:00
Alyssa Coghlan 6f1da2042d
Update references to Alyssa Coghlan (#3475)
* For most cases (including all PEP metadata), replace birth name with chosen name
* Birth name has been retained in parentheses when this makes other references
  substantially clearer (e.g. references to mailing list posts, elected members
  of the inaugural Steering Council)
2023-10-11 14:05:51 +02:00
Michael Scott Asato Cuthbert 532efdb824
PEP 661: Standardize module name (#2795)
standardize mod name

The PEP says that the module name is "sentinels" (plural) but the example imports Sentinel from the "sentinel" (singular) module.  Not absolutely sure which one is intended but recent standards (secrets, dataclasses) have used the plural.

CLA for Python signed, in case that's needed.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-11 11:37:22 +02:00
Petr Viktorin e38ee92c88
PEP-3121: Mark as Final (#3471) 2023-10-11 11:31:29 +02:00
Russell Keith-Magee 1418d8b7b9
PEP 730: Adding iOS as a supported platform (#3473)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: T. Wouters <thomas@python.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-11 02:57:44 -06:00
Hugo van Kemenade ad2f54ba43
PEP 654, 678, 680: Mark as Final (#3193)
* PEP 654, 678, 680: Mark as Final
* PEP 654: Add Discussions-To
* PEP 654: Add Resolution
* PEP 678, 680: Update Post-History
* PEP 654, 678, 680: Link to canonical docs
* PEP 654, 707: Update Irit's email

---------

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-10-10 17:15:34 +02:00
Pablo Galindo Salgado 32db9d6112
PEP 701: Clarify that newlines also end format specifier mode (#3460) 2023-10-10 15:14:41 +02:00
Zachary Ware dd08f74688
PEP 632: Mark as Final (#3468) 2023-10-10 12:05:14 +01:00
东方球 7983fbd635
PEP 282: update the log4j link in references (#3470) 2023-10-09 23:32:07 -06:00
Zachary Ware 7079a94eda
PEP 8001: Update my email address (#3466) 2023-10-09 23:43:15 +00:00
Zachary Ware 39eb8f322b
PEP 602: Fix lint, unbreak CI (#3467) 2023-10-09 18:34:22 -05:00
Łukasz Langa 619e4e2393
Update PEP 602 with 2 years of full support of Python 3.13+ 2023-10-09 13:25:03 +02:00
Łukasz Langa ab708c40b1
Modernize PEP 101 2023-10-09 13:01:36 +02:00
Erlend E. Aasland b05d5c654d
PEP 670, 687: Update Erlend's email (#3463) 2023-10-05 00:18:07 +01:00
Jelle Zijlstra 495eefba9a
PEP 729: Update Discussions-To (#3462) 2023-10-04 11:36:33 -07:00
Mikhail Golubev 4387d8b4b8
PEP 695: Fix a typo in a type parameter name (#3461)
Fix a type parameter name in PEP 695
2023-10-04 11:04:03 +01:00
Jelle Zijlstra 0e28ae91d4
PEP 729: Typing governance process (#3455)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-03 21:48:04 -07:00
Sebastián Ramírez e27162276e
PEP 727: update with latest implementation and feedback from discussion (#3459) 2023-10-03 06:01:11 -07:00
Jelle Zijlstra e173bd0e0f
PEP 695: __type_params__ attribute is writable (#3457)
Fixes python/cpython#104600.

We realized that the attribute should be writable on functions and
classes for the benefit of wrappers such as @functools.wraps.
2023-10-02 21:42:15 -07:00
Adam Turner 44472d0c0a
PEP 664, 693: Note the release of 3.11.6 and 3.12.0 (#3458) 2023-10-02 18:19:03 +01:00
Toni Alatalo 186c5adc55
PEP 703: typo fix, "with with" -> "with" (#3456) 2023-09-30 10:41:31 +03:00
Hugo van Kemenade 3b5f6f4464
PEP 1 and 12: Remove optional Content-Type from templates (#3454) 2023-09-28 02:00:23 +01:00
Rich Chiodo a159a9ac58
PEP 724: Add the Rationale section (#3447) 2023-09-22 19:02:16 -07:00
konsti a703204b82
PEP 440: Make examples clearer (#2898)
The PEP 440 version matching examples are confusing to read and the `1.1a1` in `== 1.1.*` is dependent on whether the user requested pre-releases or not, which I've clarified (https://github.com/pypa/packaging/issues/617)
2023-09-22 14:23:38 -07:00
Adam Turner d226c15c82
PEP 1: Stop recommending Typing-SIG (it has ceased to be!) (#3453) 2023-09-21 23:01:39 +01:00
Erlend E. Aasland 3a6714f29e
PEP 443: Fix collections.abc example (#3131) 2023-09-20 11:53:10 -07:00
Jelle Zijlstra 00295ada36
PEP 702: Move to warnings, expand spec (#3442) 2023-09-19 20:15:30 -07:00
Sam Gross c972a76923
PEP 703: Use 't' for proposed ABI tag (#3445) 2023-09-19 11:21:12 -07:00
Rich Chiodo 2c0c4b377c
PEP 724: Add the current Discussions-To thread (#3446) 2023-09-19 09:42:25 -07:00
Sean O Brien 2a9d6a5fcf
PEP 693: Add Python 3.12.0rc3 release date (#3443)
Add Python 3.12.0rc3 release date.
2023-09-19 16:26:28 +02:00
Rich Chiodo 48306604c8
PEP 724: Stricter TypeGuard (#3266)
Co-authored-by: Erik De Bonte <erikd@microsoft.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-09-18 16:38:31 -07:00
James Hilton-Balfe 94ac129495
PEP 696: Add section on binding rules (#3427) 2023-09-14 06:33:43 -07:00
Adam Turner 08d688fdca
All PEPs: Move to ``peps/`` folder (#3418) 2023-09-09 18:39:29 +01:00