Skip to content

Inconsistent __args__ between typing.Callable and collections.abc.Callable #86361

@Zac-HD

Description

@Zac-HD
mannequin
BPO 42195
Nosy @gvanrossum, @serhiy-storchaka, @ilevkivskyi, @corona10, @Zac-HD, @miss-islington, @isidentical, @hauntsaninja, @Fidget-Spinner
PRs
  • bpo-42195: Ensure consistency of Callable's __args__ in collections.abc and typing #23060
  • [3.9] bpo-42195: Ensure consistency of Callable's __args__ in collections.abc and typing (GH-23060) #23765
  • bpo-42675: Document collections.abc.Callable changes #23839
  • [3.9] bpo-42675: Document collections.abc.Callable changes (GH-23839) #23852
  • bpo-42195: Override _CallableGenericAlias's __getitem__ #23915
  • [3.9] bpo-42195: Override _CallableGenericAlias's __getitem__ (GH-23915) #23916
  • bpo-42195: Disallow isinstance/issubclass for subclasses of genericaliases in Union #24059
  • 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-12-14.16:34:44.125>
    created_at = <Date 2020-10-29.12:25:19.859>
    labels = ['type-bug', 'library', '3.9', '3.10']
    title = 'Inconsistent __args__ between typing.Callable and collections.abc.Callable'
    updated_at = <Date 2021-01-02.16:19:18.916>
    user = 'https://github.com/Zac-HD'

    bugs.python.org fields:

    activity = <Date 2021-01-02.16:19:18.916>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-12-14.16:34:44.125>
    closer = 'gvanrossum'
    components = ['Library (Lib)']
    creation = <Date 2020-10-29.12:25:19.859>
    creator = 'Zac Hatfield-Dodds'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42195
    keywords = ['patch']
    message_count = 27.0
    messages = ['379869', '379913', '379918', '380031', '380040', '380048', '380059', '380175', '380181', '381064', '381065', '381068', '381073', '381402', '381642', '381643', '381644', '381647', '382103', '382108', '382213', '382936', '382991', '382992', '383668', '383669', '384227']
    nosy_count = 9.0
    nosy_names = ['gvanrossum', 'serhiy.storchaka', 'levkivskyi', 'corona10', 'Zac Hatfield-Dodds', 'miss-islington', 'BTaskaya', 'hauntsaninja', 'kj']
    pr_nums = ['23060', '23765', '23839', '23852', '23915', '23916', '24059']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42195'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions