Skip to content

Cross-module dataclass inheritance breaks get_type_hints #89687

Open
@aidanbclark

Description

@aidanbclark
BPO 45524
Nosy @gvanrossum, @ericvsmith, @JelleZijlstra, @sobolevn, @Fidget-Spinner, @AlexWaygood
PRs
  • gh-89687: fix get_type_hints with dataclasses __init__ generation #29158
  • 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 = 'https://github.com/ericvsmith'
    closed_at = None
    created_at = <Date 2021-10-19.14:37:47.448>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'Cross-module dataclass inheritance breaks get_type_hints'
    updated_at = <Date 2022-01-22.08:37:13.515>
    user = 'https://bugs.python.org/aidanbclark'

    bugs.python.org fields:

    activity = <Date 2022-01-22.08:37:13.515>
    actor = 'AlexWaygood'
    assignee = 'eric.smith'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-10-19.14:37:47.448>
    creator = 'aidan.b.clark'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45524
    keywords = ['patch']
    message_count = 13.0
    messages = ['404307', '404312', '404313', '404314', '404321', '404740', '404752', '404754', '404812', '404822', '404823', '404907', '404918']
    nosy_count = 8.0
    nosy_names = ['gvanrossum', 'eric.smith', 'JelleZijlstra', 'slebedev', 'sobolevn', 'kj', 'AlexWaygood', 'aidan.b.clark']
    pr_nums = ['29158']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45524'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.11only security fixes3.9only security fixesstdlibPython modules in the Lib dirtopic-dataclassestopic-typingtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions