Results 963 comments of Ned Batchelder

A few years later, I think you are right that it should be part of the default. If the user wants to measure those lines, they can.

Thanks, I see the error from "coverage report", but I don't see the message you show for "coverage run". Do you have any other context I need?

I got it from the "debug sys" output you showed: you have a .coveragerc file with this: ``` [coverage:run] # http://blog.behnel.de/posts/coverage-analysis-for-cython-modules.html plugins = Cython.Coverage ``` Now I see the same...

This is now released as part of [coverage 6.4.3](https://pypi.org/project/coverage/6.4.3).

Yes, I suppose coverage could warn that a trace function is in place when it starts.

Try using `coverage debug data` to see the paths of the files that were measured. Perhaps they are being found through another path?

I'm not sure what the warning would be for. Coverage uses the same interpreter hooks that debuggers do. There might already be a warning. If you run pytest with the...

Can you give me a reproducible scenario?

@vyosypenko as always, it's *really* helpful if you can give me a reproducible scenario.

@hdost Thanks for your reproduction, and sorry it's taken me so long to get to it. To debug these cases, it's useful to add `--debug=trace` to the coverage options, and...