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 — Remove undocumented deprecated keyword argument syntax for `typing.NamedTuple` · Issue #133817 · python/cpython

Remove undocumented deprecated keyword argument syntax for typing.NamedTuple #133817

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove undocumented deprecated keyword argument syntax for typing.NamedTuple#133817
Copy link
Assignees
picnixz
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-typingtype-featureA feature request or enhancementA feature request or enhancement

Description

@picnixz
picnixz
opened on May 10, 2025
Issue body actions

Feature or enhancement

Proposal:

Do not use Point = NamedTuple("Point", x=int, y=int), but use the class or functional syntax instead.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

  • gh-133817: remove keyword argument syntax for NamedTuple objects #133822

Activity

  1. picnixz
    added
    type-featureA feature request or enhancementA feature request or enhancement
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    topic-typing
    on May 10, 2025
  2. picnixz
    self-assigned this
    on May 10, 2025
  3. picnixz commented on May 10, 2025

    @picnixz
    picnixz
    on May 10, 2025
    MemberAuthor
    More actions

    Mmh, apparently, at runtime, TypedDict also warns the user. It was only mentioned in 3.13 What's New.

  4. picnixz
    added a commit that references this issue on May 11, 2025

    gh-133817: remove keyword arguments syntax for `NamedTuple` (#133822)

    c5e1775
  5. picnixz
    closed this as completedon May 11, 2025
  6. Pranjal095
    added a commit that references this issue on Jul 12, 2025

    pythongh-133817: remove keyword arguments syntax for `NamedTuple` (py…

    6663a98
  7. taegyunkim
    added a commit that references this issue on Aug 4, 2025

    pythongh-133817: remove keyword arguments syntax for `NamedTuple` (py…

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

Metadata

Metadata

Assignees

  • @picnixz
    picnixz

Labels

stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-typingtype-featureA feature request or enhancementA feature request or enhancement

Projects

No projects

    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.