diff options
author | Brett Cannon <brettcannon@users.noreply.github.com> | 2019-03-22 22:16:50 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-03-22 22:16:50 (GMT) |
commit | 5086589305ff5538709856b27314b68f06ae93db (patch) | |
tree | 53f1842d1dc8c9ae109dca4ccfc43941b5de320d /Misc | |
parent | dd7c4ceed90792f711347024852d4cf883a9ab9e (diff) | |
download | cpython-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.rst | 2 |
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. |