Skip to content

cProfile command-line should accept "-m module_name" as an alternative to script path #66061

Closed
@pitrou

Description

@pitrou
BPO 21862
Nosy @birkenfeld, @amauryfa, @ncoghlan, @pitrou, @berkerpeksag, @CuriousLearner
PRs
  • bpo-21862: Add -m option to cProfile for profiling modules #4297
  • Files
  • cProfile-add-new-option-module.patch: patch
  • 21862.patch
  • cProfile_module_option.patch: patch
  • cProfile_module_option_2.patch: patch
  • 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 2017-11-08.10:51:30.237>
    created_at = <Date 2014-06-24.20:06:54.143>
    labels = ['3.7', 'easy', 'type-feature', 'library']
    title = 'cProfile command-line should accept "-m module_name" as an alternative to script path'
    updated_at = <Date 2017-11-08.11:21:16.579>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2017-11-08.11:21:16.579>
    actor = 'CuriousLearner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-11-08.10:51:30.237>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2014-06-24.20:06:54.143>
    creator = 'pitrou'
    dependencies = []
    files = ['35775', '36094', '37749', '37885']
    hgrepos = []
    issue_num = 21862
    keywords = ['patch', 'easy']
    message_count = 20.0
    messages = ['221488', '221502', '221546', '224008', '232932', '234195', '234560', '234614', '234863', '238195', '305666', '305667', '305668', '305714', '305720', '305741', '305742', '305819', '305820', '305822']
    nosy_count = 9.0
    nosy_names = ['georg.brandl', 'amaury.forgeotdarc', 'ncoghlan', 'pitrou', 'gennad', 'berker.peksag', 'rock', 'oquanox', 'CuriousLearner']
    pr_nums = ['4297']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue21862'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeeasystdlibPython modules in the Lib dirtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions