summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-01-02 16:03:40 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-01-02 16:03:40 -0500
commit9c5e1a70c52da251e357d05218213c750c1e9a8d (patch)
tree6d2d9940dc0ee3ed244a2a65454436bae6aefea0
parent4fd47e7ada1f6eac4eeaab843a57bd32cb903dc1 (diff)
downloadpython-coveragepy-9c5e1a70c52da251e357d05218213c750c1e9a8d.tar.gz
Start the changelog entry for ast branch measurement.
-rw-r--r--CHANGES.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 76b71a5..cc8b7a0 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -9,11 +9,22 @@ Change history for Coverage.py
Unreleased
----------
+- Branch coverage has been rewritten: it used to be based on bytecode analysis,
+ but now uses AST analysis. This has changed a number of things:
+
+ - More code paths are now considered runnable, especially in `try`/`except`
+ structures. This may mean that coverage.py will identify more code paths
+ as uncovered.
+
+ - Python 3.5's `async` and `await` keywords are properly supported, fixing
+ `issue 434`_.
+
- Pragmas to disable coverage measurement can now be used on decorator lines,
and they will apply to the entire function or class being decorated. This
implements the feature requested in `issue 131`_.
.. _issue 131: https://bitbucket.org/ned/coveragepy/issues/131/pragma-on-a-decorator-line-should-affect
+.. _issue 434: https://bitbucket.org/ned/coveragepy/issues/434/indexerror-in-python-35
Version 4.0.3 --- 2015-11-24