Skip to content

Annotated and Optional get_type_hints buggy interaction #90353

Closed
@med2277

Description

@med2277
BPO 46195
Nosy @gvanrossum, @JelleZijlstra, @sobolevn, @Fidget-Spinner
PRs
  • bpo-46195: Do not add Optional in get_type_hints #30304
  • 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-02.05:31:58.542>
    created_at = <Date 2021-12-29.18:38:47.765>
    labels = ['type-bug', '3.9', '3.10', '3.11']
    title = 'Annotated and Optional get_type_hints buggy interaction'
    updated_at = <Date 2022-03-02.05:31:58.542>
    user = 'https://bugs.python.org/med2277'

    bugs.python.org fields:

    activity = <Date 2022-03-02.05:31:58.542>
    actor = 'JelleZijlstra'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-03-02.05:31:58.542>
    closer = 'JelleZijlstra'
    components = []
    creation = <Date 2021-12-29.18:38:47.765>
    creator = 'med2277'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46195
    keywords = ['patch']
    message_count = 8.0
    messages = ['409319', '409325', '409340', '409341', '409357', '409375', '414328', '414329']
    nosy_count = 5.0
    nosy_names = ['gvanrossum', 'JelleZijlstra', 'sobolevn', 'kj', 'med2277']
    pr_nums = ['30304']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue46195'
    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 fixestype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions