diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2019-11-17 10:46:45 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-11-17 10:46:45 +0100 |
commit | b55fc8d9731e3527ab9c4c34488a6471d0aca62f (patch) | |
tree | 6b721d04f9e819e5bfd9abca6e838e2105c8b80e /astroid/builder.py | |
parent | 060fc2fd30dbcf8b59b8fa7d37fd9a9311af0572 (diff) | |
download | astroid-git-b55fc8d9731e3527ab9c4c34488a6471d0aca62f.tar.gz |
Add support for inferring exception instances in all contexts
We were able to infer exception instances as ``ExceptionInstance``
only for a handful of cases, but not all. ``ExceptionInstance`` has
support for better inference of `.args` and other exception related
attributes that normal instances do not have.
This additional support should remove certain false positives related
to ``.args`` and other exception attributes in ``pylint``.
Close PyCQA/pylint#2333
Diffstat (limited to 'astroid/builder.py')
0 files changed, 0 insertions, 0 deletions