diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-08-25 20:41:47 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-08-25 20:41:47 +0300 |
commit | de924ca8ad30ef05ed7b31068052c00d591fcab0 (patch) | |
tree | b92221c3a481819bc28afb1c9007f530c9f061b4 /ChangeLog | |
parent | ace151e38e3f11077af96ae4a606f17b24e353ce (diff) | |
download | astroid-de924ca8ad30ef05ed7b31068052c00d591fcab0.tar.gz |
Add ChangeLog entries for the newest changes.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -283,6 +283,26 @@ Change log for the astroid package (used to be astng) Closes issue #137. + * Add proper grammatical names for `infered` and `ass_type` methods, + namely `inferred` and `assign_type`. + + The old methods will raise PendingDeprecationWarning, being slated + for removal in astroid 2.0. + + * Add new AST names in order to be similar to the ones + from the builtin ast module. + + With this change, Getattr becomes Attributes, Backquote becomes + Repr, Class is ClassDef, Function is FunctionDef, Discard is Expr, + CallFunc is Call, From is ImportFrom, AssName is AssignName + and AssAttr is AssignAttr. The old names are maintained for backwards + compatibility and they are interchangeable, in the sense that using + Discard will use Expr under the hood and the implemented visit_discard + in checkers will be called with Expr nodes instead. The AST does not + contain the old nodes, only the interoperability between them hides this + fact. Recommandations to move to the new nodes are emitted accordingly, + the old names will be removed in astroid 2.0. + 2015-03-14 -- 1.3.6 |