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

trace CLI doesn't respect -s option #71005

Closed
berkerpeksag opened this issue Apr 21, 2016 · 3 comments
Closed

trace CLI doesn't respect -s option #71005

berkerpeksag opened this issue Apr 21, 2016 · 3 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@berkerpeksag
Copy link
Member

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']

    @berkerpeksag
    Copy link
    Member Author

    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.

    @berkerpeksag berkerpeksag added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Apr 21, 2016
    @berkerpeksag
    Copy link
    Member Author

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

    @berkerpeksag
    Copy link
    Member Author

    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

    @berkerpeksag berkerpeksag added 3.7 (EOL) end of life 3.8 only security fixes labels Aug 11, 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 3.8 only security fixes stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant