Commit Graph

10378 Commits

Author SHA1 Message Date
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
Jean K a88e675cf9
Update punctuation in README.rst (#3587) 2023-12-13 12:36:49 -08:00
Hugo van Kemenade e9192948f9
Meta: Update pre-commit to fix Sphinx Lint (#3585)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-12-12 17:06:18 +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