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
Date 2017-10-31.02:55:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509418506.94.0.213398074469.issue31908@psf.upfronthosting.co.za>
In-reply-to
Content
The trace module command-line utility doesn't write cover files. I've noticed this issue for some years now. It works fine in Python 2. When using Python 3, no ".cover" files are written, regardless of how "--coverdir" is specified.

    mike on macbook in ~/
    $ echo 'print("hello")' > foo.py

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

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


My apologies if this is a duplicate bug. I searched the tracker and Google for a while, but couldn't find a relevant issue.
History
Date User Action Args
2017-10-31 02:55:06Michael Seliksetrecipients: + Michael Selik
2017-10-31 02:55:06Michael Seliksetmessageid: <1509418506.94.0.213398074469.issue31908@psf.upfronthosting.co.za>
2017-10-31 02:55:06Michael Seliklinkissue31908 messages
2017-10-31 02:55:05Michael Selikcreate