[New-bugs-announce] [issue26818] trace CLI doesn't respect -s option

Berker Peksag report at bugs.python.org
Thu Apr 21 10:28:39 EDT 2016

New submission from Berker Peksag:

I noticed this while triaging issue 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 https://github.com/python/cpython/commit/17e5da46a733a1a05072a277bc81ffa885f0c204

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 issue 10541.

components: Library (Lib)
files: trace_cli_cummary.diff
keywords: patch
messages: 263921
nosy: belopolsky, berker.peksag
priority: normal
severity: normal
stage: patch review
status: open
title: trace CLI doesn't respect -s option
type: behavior
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file42556/trace_cli_cummary.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list