Skip to content

get_type_hints fails to resolve forward references in nested function #86038

Description

@cjw296
BPO 41872
Nosy @gvanrossum, @cjw296, @ilevkivskyi

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-09-27.19:59:08.263>
created_at = <Date 2020-09-27.13:58:03.622>
labels = ['type-bug', '3.8', '3.9', '3.10', 'invalid', '3.7', 'library']
title = 'get_type_hints fails to resolve forward references in nested function'
updated_at = <Date 2020-09-27.22:00:19.694>
user = 'https://github.com/cjw296'

bugs.python.org fields:

activity = <Date 2020-09-27.22:00:19.694>
actor = 'gvanrossum'
assignee = 'none'
closed = True
closed_date = <Date 2020-09-27.19:59:08.263>
closer = 'gvanrossum'
components = ['Library (Lib)']
creation = <Date 2020-09-27.13:58:03.622>
creator = 'cjw296'
dependencies = []
files = []
hgrepos = []
issue_num = 41872
keywords = ['3.6regression']
message_count = 4.0
messages = ['377569', '377578', '377579', '377581']
nosy_count = 3.0
nosy_names = ['gvanrossum', 'cjw296', 'levkivskyi']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue41872'
versions = ['Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.10only security fixes3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions