coveragepy
coveragepy copied to clipboard
coverage with pypy 5.3.1 and gevent
Originally reported by Anonymous
Will gevent be supported on pypy?
#!python
File "/home/travis/virtualenv/pypy-5.3.1/site-packages/coverage/collector.py", line 199, in _start_tracer
self.concurrency, self.tracer_name(),
CoverageException: Can't support concurrency=gevent with PyTracer, only threads are supported
- Bitbucket: https://bitbucket.org/ned/coveragepy/issue/560
This is tricky. Concurrency isn't supported in the Python tracer because the extra conditionals that would be needed would slow down people who aren't using concurrency.
There are two constituencies that need the Python tracer: PyPy users, and people who cannot compile the C tracer. The PyPy users wouldn't mind the extra conditional, because PyPy will JIT the code (I assume). The pure-Python people would take the hit. I'm not sure what to do about that.