I've just released Coverage.py v3.0.1, a bugfix release of my code coverage measurement package for Python code. Since releasing 3.0 three weeks ago, a few serious bugs have surfaced, and this release fixes them:
- Removed the recursion limit in the tracer function. Previously, code that ran more than 500 frames deep would crash.
- Fixed a bizarre problem involving pyexpat, whereby lines following XML parser invocations could be overlooked.
- On Python 2.3, coverage.py could mis-measure code with exceptions being raised. This is now fixed.
- The coverage.py code itself will now not be measured by coverage.py, and no coverage modules will be mentioned in the nose --with-cover plugin.
- When running source files, coverage.py now opens them in universal newline mode just like Python does. This lets it run Windows files on Mac, for example.
As always, let me know how it is or is not working for you.