Skip to content

NoReturn not allowed by get_type_hints when future import annotations is used #79102

@itoijala

Description

@itoijala
mannequin
BPO 34921
Nosy @ilevkivskyi, @itoijala, @JohnnyHobo
PRs
  • bpo-34921: No return not allowed by get_type_hints; line 133 … #9750
  • [3.7] bpo-34921: Allow escaped NoReturn in get_type_hints (GH-9750) #10772
  • 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 2018-10-08.19:04:38.610>
    created_at = <Date 2018-10-07.11:46:05.061>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'NoReturn not allowed by get_type_hints when future import annotations is used'
    updated_at = <Date 2018-11-28.17:22:13.624>
    user = 'https://github.com/itoijala'

    bugs.python.org fields:

    activity = <Date 2018-11-28.17:22:13.624>
    actor = 'levkivskyi'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-10-08.19:04:38.610>
    closer = 'levkivskyi'
    components = ['Library (Lib)']
    creation = <Date 2018-10-07.11:46:05.061>
    creator = 'itoijala'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34921
    keywords = ['patch']
    message_count = 5.0
    messages = ['327274', '327296', '327302', '327368', '330617']
    nosy_count = 3.0
    nosy_names = ['levkivskyi', 'itoijala', 'ngwood111']
    pr_nums = ['9750', '10772']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34921'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions