Skip to content

TypedDict inheritance doesn't work with get_type_hints and postponed evaluation of annotations across modules #85421

@keithblaha

Description

@keithblaha
mannequin
BPO 41249
Nosy @gvanrossum, @ambv, @Kronuz, @ilevkivskyi, @miss-islington, @septatrix, @keithblaha, @Fidget-Spinner
PRs
  • bpo-41249: Fix postponed annotations for TypedDict #27017
  • [3.10] bpo-41249: Fix postponed annotations for TypedDict (GH-27017) #27204
  • [3.9] bpo-41249: Fix postponed annotations for TypedDict (GH-27017) #27205
  • 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 2021-07-17.09:37:32.514>
    created_at = <Date 2020-07-08.23:47:38.289>
    labels = ['type-bug', '3.8', '3.9', '3.10', '3.11', '3.7', 'library']
    title = "TypedDict inheritance doesn't work with get_type_hints and postponed evaluation of annotations across modules"
    updated_at = <Date 2021-07-17.09:37:32.513>
    user = 'https://github.com/keithblaha'

    bugs.python.org fields:

    activity = <Date 2021-07-17.09:37:32.513>
    actor = 'lukasz.langa'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-07-17.09:37:32.514>
    closer = 'lukasz.langa'
    components = ['Library (Lib)']
    creation = <Date 2020-07-08.23:47:38.289>
    creator = 'keithblaha'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41249
    keywords = ['patch']
    message_count = 18.0
    messages = ['373360', '373752', '373758', '394729', '394738', '395279', '396296', '396919', '396923', '396926', '396946', '397690', '397692', '397694', '397695', '397710', '397711', '397712']
    nosy_count = 8.0
    nosy_names = ['gvanrossum', 'lukasz.langa', 'Kronuz', 'levkivskyi', 'miss-islington', 'Nils Kattenbeck', 'keithblaha', 'kj']
    pr_nums = ['27017', '27204', '27205']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue41249'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.7 (EOL)end of life3.8 (EOL)end of life3.9only security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions