Thanks to visit codestin.com
Credit goes to github.com

Skip to content

typing: get_type_hints on stringified lone ClassVar raises TypeError #90711

Closed
@GBeauregard

Description

@GBeauregard
BPO 46553
Nosy @gvanrossum, @ericvsmith, @JelleZijlstra, @sobolevn, @Fidget-Spinner, @AlexWaygood, @GBeauregard
PRs
  • bpo-46553: allow bare typing.ClassVar annotations #30983
  • 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 2022-03-17.14:34:07.793>
    created_at = <Date 2022-01-27.20:50:13.975>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'typing: get_type_hints on stringified lone ClassVar raises TypeError'
    updated_at = <Date 2022-03-17.14:34:07.793>
    user = 'https://github.com/GBeauregard'

    bugs.python.org fields:

    activity = <Date 2022-03-17.14:34:07.793>
    actor = 'JelleZijlstra'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-03-17.14:34:07.793>
    closer = 'JelleZijlstra'
    components = ['Library (Lib)']
    creation = <Date 2022-01-27.20:50:13.975>
    creator = 'GBeauregard'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46553
    keywords = ['patch']
    message_count = 11.0
    messages = ['411923', '411924', '411927', '411928', '411934', '411943', '411955', '411959', '411972', '412015', '415413']
    nosy_count = 7.0
    nosy_names = ['gvanrossum', 'eric.smith', 'JelleZijlstra', 'sobolevn', 'kj', 'AlexWaygood', 'GBeauregard']
    pr_nums = ['30983']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue46553'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.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