diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-01-02 16:03:40 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-01-02 16:03:40 -0500 |
commit | 9ee958be82e8e4f1cb958862cb29fa5b3d5f2523 (patch) | |
tree | 58d471ff231a7d2651ff952d6f8b663096b2d8fc | |
parent | c116e3e2030e1d85897091f8f7ef7796471a1b5b (diff) | |
download | python-coveragepy-git-9ee958be82e8e4f1cb958862cb29fa5b3d5f2523.tar.gz |
Start the changelog entry for ast branch measurement.
--HG--
branch : ast-branch
-rw-r--r-- | CHANGES.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 76b71a5f..cc8b7a03 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 |