summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2018-08-01 08:30:01 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2018-08-01 08:30:01 +0200
commit5cc50abb4dbab82203b99a578161be75ca0a8fcf (patch)
treea2792ab898877fef395860ee34b3f437f56c1c28
parentf0044dd8b6d8d3d8f2e0b0291c105ac0dda38664 (diff)
downloadastroid-git-astroid-2.0.2.tar.gz
Prepare 2.0.2astroid-2.0.2
-rw-r--r--ChangeLog13
-rw-r--r--astroid/__pkginfo__.py2
2 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2980fac9..98a66a5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 = {}