Skip to content

It is possible to create a 1-type union type #88802

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 44636
Nosy @gvanrossum, @serhiy-storchaka, @Fidget-Spinner
PRs
  • bpo-44636: Collapse union of equal types #27178
  • [3.10] bpo-44636: Collapse union of equal types (GH-27178) #27181
  • Dependencies
  • bpo-44632: Union with TypeVar does not work as intended
  • 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-16.11:49:32.820>
    created_at = <Date 2021-07-14.11:04:42.002>
    labels = ['interpreter-core', 'type-bug', '3.10', '3.11']
    title = 'It is possible to create a 1-type union type'
    updated_at = <Date 2021-07-16.11:49:32.820>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2021-07-16.11:49:32.820>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-07-16.11:49:32.820>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2021-07-14.11:04:42.002>
    creator = 'serhiy.storchaka'
    dependencies = ['44632']
    files = []
    hgrepos = []
    issue_num = 44636
    keywords = ['patch']
    message_count = 7.0
    messages = ['397476', '397527', '397559', '397564', '397577', '397608', '397615']
    nosy_count = 3.0
    nosy_names = ['gvanrossum', 'serhiy.storchaka', 'kj']
    pr_nums = ['27178', '27181']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44636'
    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
      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