ProcessPoolExecutor/ThreadPoolExecutor should provide introspection APIs

Open
#66,477 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
api

Research direction

Start by reviewing the historical introspect_executors.diff patch and exectest.py script linked in the issue, then inspect PR #4243 and the concurrent executor implementation in CPython. The issue does not specify the desired APIs, so confirm the intended scope and acceptance criteria from that prior work before proceeding.

Written by the indexing model from the issue text.

Description

3.7 (EOL) stdlib topic-multiprocessing type-feature
BPO 22281
Nosy @pitrou, @cool-RR, @PCManticore
PRs
  • python/cpython#4243
  • Files
  • introspect_executors.diff: Add introspection APIs to Executors
  • exectest.py: Simple test script demonstrating the APIs
  • 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 2014-08-27.01:56:42.792>
    labels = ['3.7', 'type-feature', 'library']
    title = 'ProcessPoolExecutor/ThreadPoolExecutor should provide introspection APIs'
    updated_at = <Date 2017-11-02.23:56:22.075>
    user = 'https://bugs.python.org/danoreilly'
    

    bugs.python.org fields:

    activity = <Date 2017-11-02.23:56:22.075>
    actor = 'tomMoral'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2014-08-27.01:56:42.792>
    creator = 'dan.oreilly'
    dependencies = []
    files = ['36480', '36481']
    hgrepos = []
    issue_num = 22281
    keywords = ['patch']
    message_count = 4.0
    messages = ['225941', '225952', '301169', '301172']
    nosy_count = 5.0
    nosy_names = ['pitrou', 'cool-RR', 'Claudiu.Popa', 'dan.oreilly', 'Winterflower']
    pr_nums = ['4243']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue22281'
    versions = ['Python 3.7']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    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.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.