summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <brettcannon@users.noreply.github.com>2019-03-22 22:16:50 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-03-22 22:16:50 (GMT)
commit5086589305ff5538709856b27314b68f06ae93db (patch)
tree53f1842d1dc8c9ae109dca4ccfc43941b5de320d /Misc
parentdd7c4ceed90792f711347024852d4cf883a9ab9e (diff)
downloadcpython-5086589305ff5538709856b27314b68f06ae93db.zip
cpython-5086589305ff5538709856b27314b68f06ae93db.tar.gz
cpython-5086589305ff5538709856b27314b68f06ae93db.tar.bz2
bpo-36298: Raise ModuleNotFoundError in pyclbr when a module can't be found (GH-12358)
Before, an `AttributeError` was raised due to trying to access an attribute that exists on specs but having received `None` instead for a non-existent module. https://bugs.python.org/issue36298
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-03-15-13-54-07.bpo-36298.amEVK2.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-03-15-13-54-07.bpo-36298.amEVK2.rst b/Misc/NEWS.d/next/Library/2019-03-15-13-54-07.bpo-36298.amEVK2.rst
new file mode 100644
index 0000000..14be079
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-03-15-13-54-07.bpo-36298.amEVK2.rst
@@ -0,0 +1,2 @@
+Raise ModuleNotFoundError in pyclbr when a module can't be found.
+Thanks to 'mental' for the bug report.