summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-06-11 16:13:06 +0300
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-06-11 16:13:06 +0300
commitc8e5ad7efd104442078339a1b537e6eb9a9b2c57 (patch)
tree799be6d55ac5988e4066cf5dafa3c48e10297190 /ChangeLog
parent7e8c75cb331c7998b7bbfea081d103918aadea81 (diff)
downloadastroid-c8e5ad7efd104442078339a1b537e6eb9a9b2c57.tar.gz
Make the first steps towards detecting type errors for unary and binary operations.
In exceptions, one object was added for holding information about a possible UnaryOp TypeError, object called `UnaryOperationError`. Even though the name suggests it's an exception, it's actually not one. When inferring UnaryOps, we use this special object to mark a possible TypeError, object which can be interpreted by pylint in order to emit a new warning. We are also exposing a new method for UnaryOps, called `type_errors`, which returns a list of UnaryOperationsError.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a686ff..bbe81d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -136,6 +136,17 @@ Change log for the astroid package (used to be astng)
syntax. Also, we added a new fail import hook for six.moves, which fixes the
import-error false positive from pylint. Closes issue #107.
+ * Make the first steps towards detecting type errors for unary and binary
+ operations.
+
+ In exceptions, one object was added for holding information about a possible
+ UnaryOp TypeError, object called `UnaryOperationError`. Even though the name
+ suggests it's an exception, it's actually not one. When inferring UnaryOps,
+ we use this special object to mark a possible TypeError,
+ object which can be interpreted by pylint in order to emit a new warning.
+ We are also exposing a new method for UnaryOps, called `type_errors`,
+ which returns a list of UnaryOperationsError.
+
2015-03-14 -- 1.3.6