This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael Selik
Recipients Michael Selik, rhettinger
Date 2017-10-31.22:46:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509489970.24.0.213398074469.issue31908@psf.upfronthosting.co.za>
In-reply-to
Content
The problem appears to be a mistake in commit f026dae130bf6f9015c4b212f16852ba4a3f3dec

https://github.com/python/cpython/commit/f026dae130bf6f9015c4b212f16852ba4a3f3dec

This made the writing of cover files conditional on ``show_missing`` which is the option to mark lines which weren't executed with several angle brackets ">>>>>".

https://github.com/python/cpython/blob/3.5/Lib/trace.py#L326

    mike on mac in ~/
    $ python -m trace --count foo.py
    hello

    mike on mac in ~/
    $ ls *.cover
    ls: *.cover: No such file or directory

    mike on mac in ~/
    $ python -m trace --count -m foo.py
    hello

    mike on mac in ~/
    $ ls *.cover
    -rw-r--r--  1 mike  staff    22B Oct 31 15:40 foo.cover
History
Date User Action Args
2017-10-31 22:46:10Michael Seliksetrecipients: + Michael Selik, rhettinger
2017-10-31 22:46:10Michael Seliksetmessageid: <1509489970.24.0.213398074469.issue31908@psf.upfronthosting.co.za>
2017-10-31 22:46:10Michael Seliklinkissue31908 messages
2017-10-31 22:46:10Michael Selikcreate