Coverage.py v3.0.1

Monday 6 July 2009This is more than 15 years old. Be careful.

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.

Comments

Add a comment:

Ignore this:
Leave this empty:
Name is required. Either email or web are required. Email won't be displayed and I won't spam you. Your web site won't be indexed by search engines.
Don't put anything here:
Leave this empty:
Comment text is Markdown.