Skip to content

PEP 604 Union (int | str) doesn't have __parameters__ #88656

@Fidget-Spinner

Description

@Fidget-Spinner
BPO 44490
Nosy @gvanrossum, @ambv, @serhiy-storchaka, @ilevkivskyi, @JelleZijlstra, @miss-islington, @brandtbucher, @uriyyo, @Fidget-Spinner, @jdevries3133, @ROpdebee
PRs
  • bpo-44490: Add __parameters__ and __getitem__ to types.Union #26980
  • bpo-44490: Improve typing module compatibility with types.Union #27048
  • [3.10] bpo-44490: Partially backport GH-26980's refactoring for easier bugfix backports #27203
  • [3.10] bpo-44490: Add __parameters__ and __getitem__ to types.Union (GH-26980) #27207
  • bpo-44490: Add 'Whats New' docs regarding types.Union changes #27215
  • [3.10] bpo-44490: Improve typing module compatibility with types.Union (GH-27048) #27220
  • [3.10] bpo-44490: Improve typing module compatibility with types.Union (GH-27048) #27222
  • [3.10] bpo-44490: Add 'Whats New' docs regarding types.Union changes (GH-27215) #27368
  • 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-17.03:45:14.170>
    created_at = <Date 2021-06-22.13:29:59.812>
    labels = ['type-feature', '3.10', '3.11']
    title = "PEP 604 Union (int | str) doesn't have __parameters__"
    updated_at = <Date 2021-07-26.19:32:08.916>
    user = 'https://github.com/Fidget-Spinner'

    bugs.python.org fields:

    activity = <Date 2021-07-26.19:32:08.916>
    actor = 'lukasz.langa'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-07-17.03:45:14.170>
    closer = 'gvanrossum'
    components = []
    creation = <Date 2021-06-22.13:29:59.812>
    creator = 'kj'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44490
    keywords = ['patch']
    message_count = 19.0
    messages = ['396329', '396346', '396351', '396709', '396710', '396755', '396756', '396758', '396759', '396760', '396767', '396770', '396895', '397051', '397686', '397728', '397801', '398241', '398251']
    nosy_count = 11.0
    nosy_names = ['gvanrossum', 'lukasz.langa', 'serhiy.storchaka', 'levkivskyi', 'JelleZijlstra', 'miss-islington', 'brandtbucher', 'uriyyo', 'kj', 'jack__d', 'ROpdebee']
    pr_nums = ['26980', '27048', '27203', '27207', '27215', '27220', '27222', '27368']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue44490'
    versions = ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixestype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions