[Python-ideas] Idea: Allow multiple levels of tracers

Anders Hovmöller boxed at killingar.net
Fri Apr 26 00:13:00 EDT 2019

> On 26 Apr 2019, at 05:47, Ram Rachum <ram at rachum.com> wrote:
> Ah, I thought about it now and Ned is right. This would require modifications to ceval.c and others.


> The question is... Does anyone else think it's a good idea?

I do. It seems to me that coverage is a very useful tool that shouldn’t be unusable for certain programs if we can avoid it. If we should include it in CPython in the end probably depends on how much it complicates the implementation and/or how solid tests are written obviously.

I would point out that we can still get another coverage metric for these scenarios though: mutation coverage. But that’s extremely slow to collect compared to traditional coverage. 

/ Anders

More information about the Python-ideas mailing list