diff options
| -rw-r--r-- | ChangeLog | 13 | ||||
| -rw-r--r-- | astroid/__pkginfo__.py | 2 |
2 files changed, 13 insertions, 2 deletions
@@ -5,12 +5,23 @@ astroid's ChangeLog What's New in astroid 2.0.2? ============================ -Release Date: |TBA| +Release Date: 2018-08-01 * Stop repeat inference attempt causing a RuntimeError in Python3.7 Close PyCQA/pylint#2317 + * infer_call_result can raise InferenceError so make sure to handle that for the call sites + where it is used + + infer_call_result started recently to raise InferenceError for objects for which it + could not find any returns. Previously it was silently raising a StopIteration, + which was especially leaking when calling builtin methods. + Since it is after all an inference method, it is expected that it + could raise an InferenceError rather than returning nothing. + + Close PyCQA/pylint#2350 + What's New in astroid 2.0.1? ============================ diff --git a/astroid/__pkginfo__.py b/astroid/__pkginfo__.py index ab21c1c2..9137e26d 100644 --- a/astroid/__pkginfo__.py +++ b/astroid/__pkginfo__.py @@ -21,7 +21,7 @@ distname = 'astroid' modname = 'astroid' -version = '2.0.1' +version = '2.0.2' numversion = tuple(int(elem) for elem in version.split('.') if elem.isdigit()) extras_require = {} |
