diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-12-06 17:06:11 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-12-06 17:06:11 +0200 |
commit | 97c9092852d69f9b98b1276e3d10e9d29c7c0224 (patch) | |
tree | 7d52ab7622495bcf0961727d462ca6bb90e4c7e0 /ChangeLog | |
parent | cf052851cab3176fc6442114cbdc8194b24b5b2e (diff) | |
download | astroid-97c9092852d69f9b98b1276e3d10e9d29c7c0224.tar.gz |
Add two new exceptions, AstroidImportError and AstroidSyntaxError.
They are subclasses of AstroidBuildingException and are raised when
a module can't be imported from various reasons.
Also do_import_module lets the errors to bubble up without converting
them to InferenceError. This particular conversion happens only
during the inference.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,6 +1,14 @@ Change log for the astroid package (used to be astng) ===================================================== +-- + + * Add two new exceptions, AstroidImportError and AstroidSyntaxError. + They are subclasses of AstroidBuildingException and are raised when + a module can't be imported from various reasons. + Also do_import_module lets the errors to bubble up without converting + them to InferenceError. This particular conversion happens only + during the inference. * Revert to using printf-style formatting in as_string, in order to avoid a potential problem with encodings when using .format. |