diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-26 14:08:37 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-26 14:08:37 -0500 |
commit | 2d9af3a6826d32f2bbc5c0734dfa947e7dcb16ae (patch) | |
tree | d8d0580222474c3df0e5f8fcc606ecab6dcae8bb | |
parent | 1820997c457808579cc97cd6f43a0a71b4fbc608 (diff) | |
download | python-coveragepy-git-2d9af3a6826d32f2bbc5c0734dfa947e7dcb16ae.tar.gz |
sys.excepthook credit
-rw-r--r-- | CHANGES.rst | 6 | ||||
-rw-r--r-- | CONTRIBUTORS.txt | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 28e8b24c..5a0e1fe5 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -18,6 +18,11 @@ Unreleased data, leaving you with an empty .coverage data file. Fixes issues `issue 525`_, `issue 412`_, `issue 516`_, and probably `issue 511`_. +- Coverage.py wouldn't execute `sys.excepthook`_ when an exception happened in + your program. Now it does, thanks to Andrew Hoos. Closes `issue 535`_. + +.. _sys.excepthook: https://docs.python.org/3/library/sys.html#sys.excepthook + - Branch coverage fixes: - Branch coverage could misunderstand a finally clause on a try block that @@ -122,6 +127,7 @@ Unreleased .. _issue 529: https://bitbucket.org/ned/coveragepy/issues/529/encoding-marker-may-only-appear-on-the .. _issue 530: https://bitbucket.org/ned/coveragepy/issues/530/deprecationwarning-you-passed-a-bytestring .. _issue 533: https://bitbucket.org/ned/coveragepy/issues/533/exception-on-unencodable-file-name +.. _issue 535: https://bitbucket.org/ned/coveragepy/issues/535/sysexcepthook-is-not-called Version 4.2 --- 2016-07-26 diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index bb1f7bc0..fbbef000 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -7,6 +7,7 @@ useful bug reports, have been made by: Adi Roiban Alex Gaynor Alexander Todorov +Andrew Hoos Anthony Sottile Arcadiy Ivanov Artem Dayneko |