Matthew Brett schrieb am 05.08.2014 um 20:02:
> On Sun, Aug 03, 2014 at 10:25 AM, Stefan Behnel wrote:
>> Coverage (with coverage.py) doesn't work yet. This has been discussed
>> before, more work is needed, and patches are welcome.
>
> Can I check whether we have missed any pointers on the list?
>
> * I think you (Stefan) opened a trac ticket about line profiling [1],
Yes. It lists the main steps for an implementation.
> and referred to a preliminary pull request [2] on line number mapping
> that didn't get merged yet.
I didn't merge it because it is useless by itself, without also making
Cython create only a single frame per function.
> This came up (I believe) because of a
> project proposal you made on the list [3] last year.
> * This current thread mentions coverage and line profiling.
Yes, those are the two main use cases.
> Is there other info we missed?
That's pretty much it. If someone wants to give it a try, I'll be available
for help and instructions.
> Can I ask - if you needed to estimate the code coverage of a large block
> of Cython code right now, how would you go about it - in broad terms?
The problem is that none of the common tools currently works, so getting
this implemented would be a great step forward.
Stefan