python / python/cpython

Convert importlib.abc to use typing.Protocol

Open
#82,963 8 comments 0 reactions 1 assignee View on GitHub

@brettcannon is already working on this.

Since Sep 26, 2024.

stdlib topic-importlib type-refactor
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 38782
Nosy @warsaw, @brettcannon, @ilevkivskyi, @ZackerySpytz, @nanjekyejoannah
PRs
  • python/cpython#21245
  • 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 = None
    created_at = <Date 2019-11-12.22:47:40.242>
    labels = ['type-feature', 'library', '3.9']
    title = 'Convert importlib.abc to use typing.Protocol'
    updated_at = <Date 2021-10-20.21:07:21.258>
    user = 'https://github.com/brettcannon'
    

    bugs.python.org fields:

    activity = <Date 2021-10-20.21:07:21.258>
    actor = 'barry'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-11-12.22:47:40.242>
    creator = 'brett.cannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38782
    keywords = ['patch']
    message_count = 1.0
    messages = ['356501']
    nosy_count = 5.0
    nosy_names = ['barry', 'brett.cannon', 'levkivskyi', 'ZackerySpytz', 'nanjekyejoannah']
    pr_nums = ['21245']
    priority = 'low'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue38782'
    versions = ['Python 3.9']
    

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    Assessment

    This issue has not been assessed yet.

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.