diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-06-28 01:36:47 +0300 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-06-28 01:36:47 +0300 |
commit | dac2473052d249c6cf29a5a79d774ca1968cbe17 (patch) | |
tree | cf78b527c524ddee78de6856d2ca0b788e587407 /ChangeLog | |
parent | 1676d10e0254c99ff6b415c817c7d9114c202344 (diff) | |
download | astroid-dac2473052d249c6cf29a5a79d774ca1968cbe17.tar.gz |
Add support for retrieving TypeErrors for binary arithmetic operations and augmented assignments.
The change is similar to what was added for UnaryOps: a new method
called *type_errors* for both AugAssign and BinOp, which can be used
to retrieve type errors occurred during inference. Also, a new
exception object was added, BinaryOperationError.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -194,6 +194,13 @@ Change log for the astroid package (used to be astng) * Improve the inference of binary arithmetic operations (normal and augmented). + * Add support for retrieving TypeErrors for binary arithmetic operations. + + The change is similar to what was added for UnaryOps: a new method + called *type_errors* for both AugAssign and BinOp, which can be used + to retrieve type errors occurred during inference. Also, a new + exception object was added, BinaryOperationError. + 2015-03-14 -- 1.3.6 |