Commit Graph

265 Commits

Author SHA1 Message Date
Victor Stinner a1249ac6d6
PEP 741: Update Discussions-To link (#3719) 2024-03-14 16:18:19 +01:00
Zixuan Li 221d07cb9b
PEP 728: Address Review Feedback (#3697) 2024-03-14 08:06:14 -07:00
Victor Stinner a8cc9106bc
PEP 741: Add PyInitConfig_GetExitcode() function (#3718) 2024-03-14 13:47:23 +01:00
Victor Stinner b69e2daa81
PEP 737: Remove Python changes (#3704) 2024-03-14 12:30:23 +01:00
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