Results 963 comments of Ned Batchelder

My experiments are here: https://github.com/nedbat/coveragepy/tree/nedbat/bug1283 Oddly, if I comment out the lines that deallocate the tracer attributes, it doesn't change the reported leaks at all....

I've tried adding the HAVE_GC flag, and implementing tp_traverse and tp_clear, but it isn't changing the behavior: https://github.com/nedbat/coveragepy/tree/nedbat/bug1283

I thought about that, but then the tracer would need to hold a reference to the Collector (self). So either the bound method references the collector, or I keep an...

Coverage.py mostly doesn't know what tests are running, it just notes what lines of code get executed. If you can instruct pytest to skip doctests, you can run your tests...

Feel free to re-open this when you come back to it.

> Coverage says: src/hatch_fancy_pypi_readme/_cli.py 23 0 4 1 96% 43->49 the `43->49` doesn't mean "lines 43 through 49", it means, "the branch from 43 to 49". Coverage things execution should...

Are you sure there's no exception being raised? Lines 266-277 are catching specific exceptions, but others would fly by and skip line 278.

Sorry, but I don't know what ctest is, or how to use it. Can you make a simple reproducer that I can try?

Feel free to re-open this when you come back to it.

I haven't looked at this closely, but do you have a way to run mypy as part of the tools?