summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/changelog.asciidoc3
-rw-r--r--qutebrowser/misc/earlyinit.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc
index f4825d0af..05dc42a71 100644
--- a/doc/changelog.asciidoc
+++ b/doc/changelog.asciidoc
@@ -60,6 +60,9 @@ Fixed
- Crash when setting `colors.webpage.bg` to an empty value with QtWebKit.
- Crash when the history database file is not a proper sqlite database.
- Workaround for missing/broken error pages on Debian.
+- Issues with Python 3.8 and QtWebKit.
+- A deprecation warning (caused by pywin32) about the imp module on Windows is
+ now hidden.
v1.8.1 (2019-09-27)
-------------------
diff --git a/qutebrowser/misc/earlyinit.py b/qutebrowser/misc/earlyinit.py
index 54c94706c..cac825adf 100644
--- a/qutebrowser/misc/earlyinit.py
+++ b/qutebrowser/misc/earlyinit.py
@@ -230,6 +230,9 @@ def _check_modules(modules):
), log.ignore_py_warnings(
category=ImportWarning,
message=r'Not importing directory .*: missing __init__'
+ ), log.ignore_py_warnings(
+ category=DeprecationWarning,
+ message=r'the imp module is deprecated',
):
# pylint: enable=bad-continuation
importlib.import_module(name)