Skip to content

Parameter substitution in the union type does not work with typing.Union #88819

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 44653
Nosy @gvanrossum, @ambv, @serhiy-storchaka, @miss-islington, @uriyyo, @Fidget-Spinner
PRs
  • bpo-44653: Support typing.Union in parameter substitution of the union type #27232
  • bpo-44653: Support typing types in parameter substitution in the union type. #27247
  • [3.10] bpo-44653: Support typing types in parameter substitution in the union type. (GH-27247) #27296
  • 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-22.22:21:37.910>
    created_at = <Date 2021-07-16.13:32:27.733>
    labels = ['interpreter-core', 'type-bug', '3.10', '3.11']
    title = 'Parameter substitution in the union type does not work with typing.Union'
    updated_at = <Date 2021-07-22.22:34:04.923>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2021-07-22.22:34:04.923>
    actor = 'gvanrossum'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-07-22.22:21:37.910>
    closer = 'lukasz.langa'
    components = ['Interpreter Core']
    creation = <Date 2021-07-16.13:32:27.733>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44653
    keywords = ['patch']
    message_count = 8.0
    messages = ['397624', '397803', '397827', '397828', '398009', '398011', '398012', '398014']
    nosy_count = 6.0
    nosy_names = ['gvanrossum', 'lukasz.langa', 'serhiy.storchaka', 'miss-islington', 'uriyyo', 'kj']
    pr_nums = ['27232', '27247', '27296']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44653'
    versions = ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions