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 — Add typing to 3.11 What's New · Issue #91491 · python/cpython

Add typing to 3.11 What's New #91491

New issue
Copy link
New issue
Copy link
Closed
#92708
Closed
Add typing to 3.11 What's New#91491
#92708
Copy link
Assignees
JelleZijlstra
Labels
3.11only security fixesonly security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dirtopic-typing

Description

@JelleZijlstra
JelleZijlstra
opened on Apr 13, 2022
Issue body actions

I promised somewhere to write the typing section of the 3.11 What's New.

Here's what needs to be covered:

  • PEP 646 (TypeVarTuple, Unpack)
  • PEP 655 (Required/NotRequired)
  • PEP 673 (Self)
  • PEP 675 (LiteralString)
  • (if accepted) PEP 681 (dataclass_transform)
  • typing.reveal_type()
  • typing.Never
  • typing.assert_never()
  • typing.assert_type()
  • Improved introspection: @Final, @overload
  • Runtime changes: bpo-44807: Allow Protocol classes to define __init__ #31628, bpo-46998: Allow subclassing Any at runtime #31841, bpo-46981: Remove typing._TypingEmpty #31836, bpo-46644: Remove callable() requirement from typing._type_check #31151, bpo-41370: Evaluate strings as forward refs in PEP 585 generics #30900, bpo-46195: Do not add Optional in get_type_hints #30304, bpo-46571: improve typing.no_type_check to skip foreign objects #31042, bpo-46066: Deprecate kwargs syntax for TypedDict definitions #31126, bpo-46655: allow stringized TypeAlias with get_type_hints #31156, bpo-46553: allow bare typing.ClassVar annotations #30983 and probably others
Reacted by Carol Willing and Ken Jin

Activity

  1. JelleZijlstra
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    on Apr 13, 2022
  2. JelleZijlstra
    self-assigned this
    on Apr 13, 2022
  3. AlexWaygood
    added
    release-blocker
    on Apr 13, 2022
  4. Fidget-Spinner
    added
    topic-typing
    on Apr 13, 2022
  5. AlexWaygood
    added
    3.11only security fixesonly security fixes
    on Apr 14, 2022
  6. AlexWaygood commented on Apr 14, 2022

    @AlexWaygood
    AlexWaygood
    on Apr 14, 2022
    Member
    More actions

    If #32335 is merged before the feature freeze, it might need a mention in the "new modules" section.

  7. ezio-melotti
    added this to Release and Deferred blockers 🚫on Apr 14, 2022
  8. ezio-melotti
    moved this to Release blocker in Release and Deferred blockers 🚫on Apr 14, 2022
  9. JelleZijlstra
    added 2 commits that reference this issue on Apr 20, 2022

    pythongh-91491: What's New in 3.11 section for typing PEPs

    f0d92e2

    gh-91491: What's New in 3.11 section for typing PEPs (#91721)

    dd3cf12
  10. hauntsaninja
    added a commit that references this issue on Apr 29, 2022

    pythongh-91491: Add several typing features to What's New

    dd82399
  11. JelleZijlstra
    added a commit that references this issue on Apr 30, 2022

    gh-91491: Add several typing features to What's New (#92060)

    d0064a1
  12. JelleZijlstra
    added
    deferred-blocker
    and removed
    release-blocker
    on May 3, 2022
  13. AlexWaygood
    moved this from Release blocker to Deferred Blocker in Release and Deferred blockers 🚫on May 4, 2022
  14. hauntsaninja commented on May 7, 2022

    @hauntsaninja
    hauntsaninja
    on May 7, 2022
    Contributor
    More actions

    To clarify the state here, following #92060 , all the individual bullet points in ^^ have been covered, but we're missing coverage in What's New for the large clump of changes in the last bullet point.

    Reacted by Alex Waygood
  15. pablogsal commented on May 9, 2022

    @pablogsal
    pablogsal
    on May 9, 2022
    Member
    More actions

    ⚠️ This issue has been updated from 'deferred-blocker' to 'release blocker' as we are past beta1. This issue will block the next release (Python 3.11.0 beta 2). ⚠️

  16. pablogsal
    added
    release-blocker
    and removed
    deferred-blocker
    on May 9, 2022
  17. JelleZijlstra
    added a commit that references this issue on May 12, 2022

    pythongh-91491: Complete Whats New in 3.11 for typing

    0a9eb32
  18. JelleZijlstra
    closed this as completedin #92708on May 19, 2022
  19. JelleZijlstra
    added a commit that references this issue on May 19, 2022

    gh-91491: Complete Whats New in 3.11 for typing (#92708)

    6b51773
  20. miss-islington
    added a commit that references this issue on May 19, 2022

    pythongh-91491: Complete Whats New in 3.11 for typing (pythonGH-92708)

    fdb36c2
  21. AlexWaygood
    moved this to Done in Release and Deferred blockers 🚫on May 19, 2022
  22. AlexWaygood
    removed
    release-blocker
    on May 19, 2022
  23. miss-islington
    added a commit that references this issue on May 19, 2022

    gh-91491: Complete Whats New in 3.11 for typing (GH-92708)

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

Metadata

Metadata

Assignees

  • @JelleZijlstra
    JelleZijlstra

Labels

3.11only security fixesonly security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dirtopic-typing

Projects

  • Release and Deferred blockers 🚫
    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.