diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-13 16:05:37 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-13 16:05:37 -0500 |
commit | 79753a1476a407b4fe1fad69081395c497d53d21 (patch) | |
tree | 461d19a7f78ece7cf5cb27b3a6edc9977fcb40e4 /CHANGES.rst | |
parent | 6a6b60426c3b45d91ab9211c50bea8ecc191e59a (diff) | |
download | python-coveragepy-git-79753a1476a407b4fe1fad69081395c497d53d21.tar.gz |
fix: suppress exceptions when finding source= modules. #1203
Diffstat (limited to 'CHANGES.rst')
-rw-r--r-- | CHANGES.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 65f0c21a..b811114d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -22,6 +22,12 @@ This list is detailed and covers changes in each pre-release version. Unreleased ---------- +- Fix: A module specified as the ``source`` setting is imported during startup, + before the user program imports it. This could cause problems if the rest of + the program isn't ready yet. For example, `issue 1203`_ describes a Django + setting that is accessed before settings have been configured. Now that + early import is wrapped in a try/except so the error doesn't stop execution. + - Fix: A colon in a decorator expression would cause an exclusion to end too early, preventing the exclusion of the decorated function. This is now fixed. @@ -31,6 +37,8 @@ Unreleased - Debug: The `coverage debug data` command will now sniff out combinable data files, and report on all of them. +.. _issue 1203: https://github.com/nedbat/coveragepy/issues/1203 + .. _changes_612: |