Skip to content

trace CLI doesn't respect -s option #71005

Description

@berkerpeksag
BPO 26818
Nosy @abalkin, @berkerpeksag
PRs
  • bpo-26818: Add a test to make sure the bug is fixed #8664
  • [3.7] bpo-26818: Add a test to make sure the bug is fixed (GH-8664) #8732
  • Files
  • trace_cli_cummary.diff
  • 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-08-11.06:29:00.275>
    created_at = <Date 2016-04-21.14:28:39.506>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = "trace CLI doesn't respect -s option"
    updated_at = <Date 2018-08-11.06:29:00.264>
    user = 'https://github.com/berkerpeksag'

    bugs.python.org fields:

    activity = <Date 2018-08-11.06:29:00.264>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-08-11.06:29:00.275>
    closer = 'berker.peksag'
    components = ['Library (Lib)']
    creation = <Date 2016-04-21.14:28:39.506>
    creator = 'berker.peksag'
    dependencies = []
    files = ['42556']
    hgrepos = []
    issue_num = 26818
    keywords = ['patch']
    message_count = 3.0
    messages = ['263921', '323402', '323404']
    nosy_count = 2.0
    nosy_names = ['belopolsky', 'berker.peksag']
    pr_nums = ['8664', '8732']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26818'
    versions = ['Python 3.7', 'Python 3.8']

    Activity

    1. berkerpeksag commented on Apr 21, 2016

      @berkerpeksag
      MemberAuthor

      I noticed this while triaging bpo-9317. Using traceme.py from that issue,

          $ ./python -m trace -c -s traceme.py

      returns nothing. It seems like it's a regression caused by 17e5da4

      With trace_cli_summary.diff applied:

          $ ./python -m trace -c -s traceme.py
          lines   cov%   module   (path)
              1   100%   trace   (/home/berker/projects/cpython/default/Lib/trace.py)
              6   100%   traceme   (traceme.py)

      trace_cli_summary.diff also fixes bpo-10541.

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-bugAn unexpected behavior, bug, or error
      on Apr 21, 2016
    3. berkerpeksag commented on Aug 11, 2018

      @berkerpeksag
      MemberAuthor

      New changeset c8b0dbc by Berker Peksag in branch 'master':
      bpo-26818: Add a test to make sure the bug is fixed (GH-8664)
      c8b0dbc

    4. berkerpeksag commented on Aug 11, 2018

      @berkerpeksag
      MemberAuthor

      New changeset 8fc21c8 by Berker Peksag (Miss Islington (bot)) in branch '3.7':
      bpo-26818: Add a test to make sure the bug is fixed (GH-8664)
      8fc21c8

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    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