`dis.findlabels()` should accept a code object

Open
#84,350 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
20/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Start at the dis.findlabels entry point and review the existing python/cpython#19356 pull request, which is listed in the issue. Done means dis.findlabels accepts a code object as input while preserving its existing behavior for other supported inputs.

Written by the indexing model from the issue text.

Description

3.9 (EOL) stdlib type-feature
BPO 40169
Nosy @serhiy-storchaka, @laike9m
PRs
  • python/cpython#19356
  • 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 2020-04-03.08:50:08.184>
    labels = ['type-bug', 'library', '3.9']
    title = '`dis.findlabels()` should accept a code object'
    updated_at = <Date 2020-04-04.07:26:38.941>
    user = 'https://github.com/laike9m'
    

    bugs.python.org fields:

    activity = <Date 2020-04-04.07:26:38.941>
    actor = 'laike9m'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2020-04-03.08:50:08.184>
    creator = 'laike9m'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40169
    keywords = ['patch']
    message_count = 1.0
    messages = ['365684']
    nosy_count = 2.0
    nosy_names = ['serhiy.storchaka', 'laike9m']
    pr_nums = ['19356']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40169'
    versions = ['Python 3.9']
    

    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.