profile.Profile() has no method enable()

Open
#76,198 5 comments 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
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
documentation

Research direction

Start by reviewing PR 5887 and the documentation for profile.Profile(), whose missing enable() method is the reported problem. Compare the documented API with the implementation and use the PR discussion to determine the intended correction; done means the documentation accurately reflects the available Profile API.

Written by the indexing model from the issue text.

Description

3.7 (EOL) 3.8 (EOL) docs type-bug
BPO 32017
Nosy @pitrou, @ezio-melotti, @merwok, @willingc, @csabella, @bbayles
PRs
  • python/cpython#5887
  • 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 2017-11-13.21:17:18.911>
    labels = ['3.8', 'type-bug', '3.7', 'docs']
    title = 'profile.Profile() has no method enable()'
    updated_at = <Date 2018-02-25.15:27:59.495>
    user = 'https://github.com/pitrou'
    

    bugs.python.org fields:

    activity = <Date 2018-02-25.15:27:59.495>
    actor = 'bbayles'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2017-11-13.21:17:18.911>
    creator = 'pitrou'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32017
    keywords = ['patch']
    message_count = 5.0
    messages = ['306169', '312448', '312486', '312814', '312818']
    nosy_count = 7.0
    nosy_names = ['pitrou', 'ezio.melotti', 'eric.araujo', 'docs@python', 'willingc', 'cheryl.sabella', 'bbayles']
    pr_nums = ['5887']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32017'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']
    

    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.