Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverage with pypy 5.3.1 and gevent #560

Open
nedbat opened this issue Jan 28, 2017 · 1 comment
Open

coverage with pypy 5.3.1 and gevent #560

nedbat opened this issue Jan 28, 2017 · 1 comment
Labels
bug Something isn't working concurrency exotic Unusual execution environment pypy

Comments

@nedbat
Copy link
Owner

nedbat commented Jan 28, 2017

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

@nedbat
Copy link
Owner Author

nedbat commented Jan 28, 2017

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.

@nedbat nedbat added minor bug Something isn't working labels Jun 23, 2018
@nedbat nedbat removed the 4.0.3 label Aug 17, 2018
@nedbat nedbat added exotic Unusual execution environment and removed minor labels Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working concurrency exotic Unusual execution environment pypy
Projects
None yet
Development

No branches or pull requests

1 participant