Commit Graph

10655 Commits

Author SHA1 Message Date
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
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
Jacob Coffee ff0702ebfc
Infra: update canonical banners to not stick on small screens (#3559)
Updates small media sizes to not have a sticky banner
Adds a helper close button to optionally close banner

Closes #3536
2023-12-02 22:31:13 -08:00
Hugo van Kemenade 2d1bdc5cf5
Infra: `make htmllive`: open browser when ready (#3558) 2023-12-01 18:47:36 +02: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