Skip to content

Docs of typing.get_args: Mention that due to caching of typing generics the order of arguments for Unions can be different from the one of the returned tuple #86483

@Dominik1123

Description

@Dominik1123
BPO 42317
Nosy @gvanrossum, @ilevkivskyi, @miss-islington, @Dominik1123, @Fidget-Spinner
PRs
  • bpo-42317: Improve docs of typing.get_args concerning Union #23254
  • [3.9] bpo-42317: Improve docs of typing.get_args concerning Union (GH-23254) #23307
  • 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 2020-11-16.01:54:24.997>
    created_at = <Date 2020-11-10.19:35:37.290>
    labels = ['type-feature', '3.9', '3.10', 'docs']
    title = 'Docs of `typing.get_args`: Mention that due to caching of typing generics the order of arguments for Unions can be different from the one of the returned tuple'
    updated_at = <Date 2020-11-16.01:54:24.996>
    user = 'https://github.com/Dominik1123'

    bugs.python.org fields:

    activity = <Date 2020-11-16.01:54:24.996>
    actor = 'gvanrossum'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2020-11-16.01:54:24.997>
    closer = 'gvanrossum'
    components = ['Documentation']
    creation = <Date 2020-11-10.19:35:37.290>
    creator = 'Dominik V.'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42317
    keywords = ['patch']
    message_count = 9.0
    messages = ['380699', '380762', '380784', '380831', '380850', '380851', '381051', '381053', '381054']
    nosy_count = 6.0
    nosy_names = ['gvanrossum', 'docs@python', 'levkivskyi', 'miss-islington', 'Dominik V.', 'kj']
    pr_nums = ['23254', '23307']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue42317'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.9 (EOL)end of lifedocsDocumentation in the Doc dirtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions