GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — List and document remaining significant PEPs in What's New in 3.11 · Issue #95914 · python/cpython

List and document remaining significant PEPs in What's New in 3.11 #95914

New issue
Copy link
New issue
Copy link
Closed
Closed
List and document remaining significant PEPs in What's New in 3.11#95914
Copy link
Assignees
CAM-Gerlach
Labels
3.11only security fixesonly security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dir

Description

@CAM-Gerlach
CAM-Gerlach
opened on Aug 12, 2022
Issue body actions

As discussed with @pablogsal , meta-issue to add the significant PEPs not yet added to the summary section of the What's New in Python 3.11, as well as PEPs that are not documented in the body of the What's New but probably should be.

Specifically, the PEPs not currently mentioned in the Summary - Release Highlights section are (written with a non-canonical - so GitHub will link them):

  • PEP-594 Removing dead stdlib batteries
  • PEP-624 Remove Py_UNICODE encoder APIs
  • PEP-657 Fine-grained error locations
  • PEP-670 Macros to Functions in the C API
  • PEP-678 Enriching exceptions with notes
  • PEP-680: Tomllib
  • PEP-681 Dataclass transforms
  • PEP-682 Format specifier for signed zero (?)

These will be added to the relevant lists as appropriate, following the mold of the Python 3.10 What's New

  • I've opened gh-95914: Add missing PEPs to the Summary section of 3.11 What's New #95916 to do so. Edit: Merged!

Most 3.11 PEPs are already described in other What's New sections, but a few are conspicuously missing and should probably be documented somewhere. I've cross referenced this with the PEP API, as well as Accepted/Final PEPs that were not tagged with a Python-Version (notably, PEP 654 was lacking it, which I also fixed):

  • PEP-624 Remove Py_UNICODE encoder APIs contains an Alternative APIs section that would be useful for porting, but is not mentioned at all anywhere in What's New. Documenting the change and migration guidance was a condition of the PEP's acceptance by the SC, so it seems we should list those APIs under the Removed section and add the migration guidance under the C API Changes -> Porting to Python 3.11 subsection. @methane any objections if I go ahead with that, or would you like to do it yourself (I can proofread as needed)

    • I went ahead and opened gh-95914: Add Py_UNICODE encode APIs removed in PEP 624 to 3.11 What's New #96016
  • PEP-654 Exception Groups and except* is listed in the Summary, but does not appear to be discussed at all in the body of the What's New, which it presumably should as it is a major new feature (and its related PEP 678 is documented under New Features, but is not listed in the Summary). @iritkatriel @1st1 @gvanrossum you're listed as the authors; would one of you like to write a summary, or do you want me to draft something for your (and @pablogsal 's) review? Done, thanks @iritkatriel !

    • @iritkatriel opened as gh-95914: Add paragraph about PEP 654 in main body of 'What's New in 3.11' #95937
    • Related: gh-95975: Move except/*/finally ref labels to more precise locations #95976
  • PEP-670 Convert Macros to Functions in the Python C API isn't mentioned anywhere; the intention with the specific PEP appears to be to avoid any backward compat impacts and be mostly transparent to users, but there is one significant change: With the limited ABI set to >=3.11, callers will need to cast arguments to their expected values. @erlend-aasland @vstinner , should at least this (and maybe a mention of the broader change) be including in C API Changes -> Porting to Python 3.11 subsection?

    • On the suggestion of @erlend-aasland , I've opened gh-95914: Add What's New item describing PEP 670 changes #98315 to finally implement this

Then, once those are dealt with, we should finally:

  • Link the relevant What's New sections and other index targets in the respective summary items, so readers can quickly jump to more information about them
    • Opened as PR gh-95914: Add links to 3.11 WhatsNew Summary items #98416

Related: #95913

Reacted by Ezio Melotti, Mehdi Drissi and Erlend E. Aasland

Activity

Next
  1. CAM-Gerlach
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    3.11only security fixesonly security fixes
    on Aug 12, 2022
  2. CAM-Gerlach
    self-assigned this
    on Aug 12, 2022
  3. miss-islington
    added a commit that references this issue on Aug 12, 2022

    pythongh-95914: Add missing PEPs to the Summary section of 3.11 What'…

    073bd05
  4. ambv
    added 2 commits that reference this issue on Aug 12, 2022

    gh-95914: Add missing PEPs to the Summary section of 3.11 What's New (G…

    6376433

    gh-95914: Add missing PEPs to the Summary section of 3.11 What's New (G…

    5cc3964
  5. iritkatriel commented on Aug 12, 2022

    @iritkatriel
    iritkatriel
    on Aug 12, 2022
    Member
    More actions

    I'll add something. on PEP 654.

    Reacted by C.A.M. Gerlach
  6. iritkatriel
    added 2 commits that reference this issue on Aug 12, 2022

    pythongh-95914: add paragraph about pep 654 in main body of 'what's n…

    f7e14d4

    pythongh-95914: add paragraph about pep 654 in main body of 'what's n…

    232d87b
  7. CAM-Gerlach commented on Aug 12, 2022

    @CAM-Gerlach
    CAM-Gerlach
    on Aug 12, 2022
    MemberAuthor
    More actions

    Thanks @iritkatriel !

  8. iritkatriel
    added a commit that references this issue on Aug 13, 2022

    gh-95914: Add paragraph about PEP 654 in main body of 'What's New in …

    1402d2c
  9. miss-islington
    added a commit that references this issue on Aug 13, 2022

    pythongh-95914: Add paragraph about PEP 654 in main body of 'What's N…

    0fc91f3
  10. iritkatriel
    added a commit that references this issue on Aug 13, 2022

    pythongh-95914: Add to what's new a credit for pep 678 author

    9616a28
  11. CAM-Gerlach
    added a commit that references this issue on Aug 14, 2022

    pythongh-95914: Add to What's New a credit for PEP 678 author

    81add60
  12. belm0 commented on Aug 16, 2022

    @belm0
    belm0
    on Aug 16, 2022
    Contributor
    More actions

    Regarding PEP-682 "Format specifier for signed zero", see discussion in PR #93624. Though it has a PEP, a few of us thought that it didn't warrant being in the highlights.

  13. 15 remaining items

  14. CAM-Gerlach commented on Oct 16, 2022

    @CAM-Gerlach
    CAM-Gerlach
    on Oct 16, 2022
    MemberAuthor
    More actions

    After talking with @erlend-aasland , I've opened #98315 to document PEP-670, which should be the last blocker before I can link all the summary items to an entry and then we can close this issue.

    Reacted by Erlend E. Aasland
  15. vstinner
    added a commit that references this issue on Oct 17, 2022

    gh-95914: Add What's New item describing PEP 670 changes (#98315)

    aafc53c
  16. miss-islington
    added 2 commits that reference this issue on Oct 17, 2022

    pythongh-95914: Add What's New item describing PEP 670 changes (pytho…

    284511a

    gh-95914: Add What's New item describing PEP 670 changes (GH-98315)

    f4a0b80
  17. carljm
    added a commit that references this issue on Oct 17, 2022

    Merge branch 'main' into typewatch

    cdbe93b
  18. CAM-Gerlach commented on Oct 17, 2022

    @CAM-Gerlach
    CAM-Gerlach
    on Oct 17, 2022
    MemberAuthor
    More actions

    I'll go ahead and open a PR on the final step, linking the summary items to their sections, once #98342 is merged. Almost done here!

  19. ezio-melotti
    added a commit that references this issue on Oct 18, 2022

    gh-95914: Add links to 3.11 WhatsNew Summary items (#98416)

    fcae195
  20. miss-islington
    added 2 commits that reference this issue on Oct 18, 2022

    pythongh-95914: Add links to 3.11 WhatsNew Summary items (pythonGH-98416

    91eda69

    gh-95914: Add links to 3.11 WhatsNew Summary items (GH-98416)

    75357cd
  21. CAM-Gerlach commented on Oct 19, 2022

    @CAM-Gerlach
    CAM-Gerlach
    on Oct 19, 2022
    MemberAuthor
    More actions

    All tasks complete, so going ahead and closing this as resolved. Thanks everyone for your help!

    Reacted by Erlend E. Aasland and Hugo van Kemenade
    Reacted by Erlend E. Aasland and Hugo van Kemenade
  22. CAM-Gerlach
    closed this as completedon Oct 19, 2022
  23. Repository owner moved this from In Progress to Done in Sprinton Oct 19, 2022
  24. erlend-aasland commented on Oct 19, 2022

    @erlend-aasland
    erlend-aasland
    on Oct 19, 2022
    Contributor
    More actions

    Great job!

    Reacted by Hugo van Kemenade and C.A.M. Gerlach
  25. pablogsal
    added 2 commits that reference this issue on Oct 22, 2022

    gh-95914: Add What's New item describing PEP 670 changes (GH-98315)

    715b677

    gh-95914: Add links to 3.11 WhatsNew Summary items (GH-98416)

    25ebe35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @CAM-Gerlach
    CAM-Gerlach

Labels

3.11only security fixesonly security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dir

Projects

  • Sprint
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.