coverage with pypy 5.3.1 and gevent

Issue #560 closed
Former user created an issue

Will gevent be supported on pypy?

  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

Comments (2)

  1. Ned Batchelder repo owner

    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.

  2. Log in to comment