Skip to content

python -m cProfile -s fails with non informative message #67608

@rkuska

Description

@rkuska
mannequin
BPO 23420
Nosy @vstinner, @berkerpeksag, @matrixise, @rkuska, @stratakis, @mlouielu, @miss-islington
PRs
  • bpo-23420: Verify the value of '-s' when execute the CLI of cProfile #9925
  • [3.7] bpo-23420: Verify the value of '-s' when execute the CLI of cProfile (GH-9925) #9926
  • [3.6] bpo-23420: Verify the value of '-s' when execute the CLI of cProfile (GH-9925) #9927
  • [2.7] bpo-23420: Verify the value of '-s' when execute the CLI of cProfile (GH-9925) #9928
  • Files
  • sort-choices.patch: Add choices for sort option of cProfile
  • sort-choices.patch: missing space before imported module
  • sort-choices.patch: convert to list
  • 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-10-17.13:07:16.793>
    created_at = <Date 2015-02-09.12:05:42.440>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'python -m cProfile -s fails with non informative message'
    updated_at = <Date 2018-10-17.13:09:22.863>
    user = 'https://github.com/rkuska'

    bugs.python.org fields:

    activity = <Date 2018-10-17.13:09:22.863>
    actor = 'matrixise'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-10-17.13:07:16.793>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2015-02-09.12:05:42.440>
    creator = 'rkuska'
    dependencies = []
    files = ['38053', '38054', '38055']
    hgrepos = []
    issue_num = 23420
    keywords = ['patch']
    message_count = 11.0
    messages = ['235602', '265765', '265813', '292147', '327876', '327884', '327891', '327892', '327893', '327894', '327895']
    nosy_count = 8.0
    nosy_names = ['vstinner', 'berker.peksag', 'matrixise', 'sYnfo', 'rkuska', 'cstratak', 'louielu', 'miss-islington']
    pr_nums = ['9925', '9926', '9927', '9928']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue23420'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions