Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to profile to run library module as a script #76693

Closed
mariocj89 mannequin opened this issue Jan 7, 2018 · 3 comments
Closed

Add an option to profile to run library module as a script #76693

mariocj89 mannequin opened this issue Jan 7, 2018 · 3 comments
Labels
3.7 (EOL) end of life stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@mariocj89
Copy link
Mannequin

mariocj89 mannequin commented Jan 7, 2018

BPO 32512
Nosy @ncoghlan, @ericvw, @mariocj89
PRs
  • bpo-32512: Add -m option to profile for profiling modules #5132
  • 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 2018-11-05.12:11:53.866>
    created_at = <Date 2018-01-07.17:00:27.916>
    labels = ['3.7', 'type-feature', 'library']
    title = 'Add an option to profile to run library module as a script'
    updated_at = <Date 2018-11-05.12:11:53.865>
    user = 'https://github.com/mariocj89'

    bugs.python.org fields:

    activity = <Date 2018-11-05.12:11:53.865>
    actor = 'mariocj89'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-11-05.12:11:53.866>
    closer = 'mariocj89'
    components = ['Library (Lib)']
    creation = <Date 2018-01-07.17:00:27.916>
    creator = 'mariocj89'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32512
    keywords = ['patch']
    message_count = 3.0
    messages = ['309627', '309637', '329293']
    nosy_count = 3.0
    nosy_names = ['ncoghlan', 'ericvw', 'mariocj89']
    pr_nums = ['5132']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32512'
    versions = ['Python 3.7']

    @mariocj89
    Copy link
    Mannequin Author

    mariocj89 mannequin commented Jan 7, 2018

    Add an option to profile to be able to do python3 -m profile -m my.module.name to be able to profile the module the same way cProfile allows since bpo-21862

    @mariocj89 mariocj89 mannequin added 3.7 (EOL) end of life stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Jan 7, 2018
    @mariocj89
    Copy link
    Mannequin Author

    mariocj89 mannequin commented Jan 7, 2018

    Related issue for improved executable module support for standard library modules that run other scripts: https://bugs.python.org/issue9325

    @ncoghlan
    Copy link
    Contributor

    ncoghlan commented Nov 5, 2018

    New changeset ad1a25f by Nick Coghlan (Mario Corchero) in branch 'master':
    bpo-32512: Add -m option to profile for profiling modules (bpo-5132)
    ad1a25f

    @mariocj89 mariocj89 mannequin closed this as completed Nov 5, 2018
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant