Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the _field_types attribute of NamedTuple #84363

Closed
serhiy-storchaka opened this issue Apr 4, 2020 · 2 comments
Closed

Remove the _field_types attribute of NamedTuple #84363

serhiy-storchaka opened this issue Apr 4, 2020 · 2 comments
Labels
3.9 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@serhiy-storchaka
Copy link
Member

BPO 40182
Nosy @gvanrossum, @rhettinger, @serhiy-storchaka, @ilevkivskyi
PRs
  • bpo-40182: Remove the _field_types attribute of the NamedTuple class #19368
  • 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 = <Date 2020-04-04.21:54:03.064>
    created_at = <Date 2020-04-04.20:42:01.710>
    labels = ['type-feature', 'library', '3.9']
    title = 'Remove the _field_types attribute of NamedTuple'
    updated_at = <Date 2020-04-04.21:54:03.063>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2020-04-04.21:54:03.063>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-04-04.21:54:03.064>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2020-04-04.20:42:01.710>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40182
    keywords = ['patch']
    message_count = 2.0
    messages = ['365780', '365793']
    nosy_count = 4.0
    nosy_names = ['gvanrossum', 'rhettinger', 'serhiy.storchaka', 'levkivskyi']
    pr_nums = ['19368']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue40182'
    versions = ['Python 3.9']

    @serhiy-storchaka
    Copy link
    Member Author

    It was deprecated since 3.8 (see bpo-36320). The __annotations__ attribute has the same information.

    @serhiy-storchaka serhiy-storchaka added 3.9 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Apr 4, 2020
    @serhiy-storchaka
    Copy link
    Member Author

    New changeset 6fed3c8 by Serhiy Storchaka in branch 'master':
    bpo-40182: Remove the _field_types attribute of the NamedTuple class (GH-19368)
    6fed3c8

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant