Skip to content

Can't create generic NamedTuple as of py3.9 #88089

Closed
@FHTMitchell

Description

@FHTMitchell
BPO 43923
Nosy @gvanrossum, @rhettinger, @ericvsmith, @serhiy-storchaka, @graingert, @ilevkivskyi, @dlukes, @JelleZijlstra, @FHTMitchell, @sobolevn, @Fidget-Spinner, @AlexWaygood, @juliusgeo
PRs
  • bpo-43923: Revert "bpo-40185: Refactor typing.NamedTuple (GH-19371)" #31679
  • bpo-43923: Allow NamedTuple multiple inheritance #31779
  • gh-116241: Add support of multiple inheritance with typing.NamedTuple #31781
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2021-04-23.16:22:56.566>
    labels = ['type-bug', '3.9', '3.10', '3.11']
    title = "Can't create generic NamedTuple as of py3.9"
    updated_at = <Date 2022-03-10.21:38:13.215>
    user = 'https://github.com/FHTMitchell'

    bugs.python.org fields:

    activity = <Date 2022-03-10.21:38:13.215>
    actor = 'behackett'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2021-04-23.16:22:56.566>
    creator = 'FHTMitchell'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43923
    keywords = ['patch']
    message_count = 25.0
    messages = ['391705', '406083', '406124', '414541', '414557', '414558', '414559', '414563', '414567', '414568', '414570', '414584', '414585', '414589', '414592', '414593', '414705', '414709', '414754', '414791', '414792', '414815', '414816', '414817', '414830']
    nosy_count = 16.0
    nosy_names = ['gvanrossum', 'rhettinger', 'eric.smith', 'python-dev', 'serhiy.storchaka', 'graingert', 'levkivskyi', 'dlukes', 'JelleZijlstra', 'behackett', 'FHTMitchell', 'Steven Silvester', 'sobolevn', 'kj', 'AlexWaygood', 'juliusgeo']
    pr_nums = ['31679', '31779', '31781']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue43923'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibPython modules in the Lib dirtopic-typingtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions