summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-08-25 20:41:47 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2015-08-25 20:41:47 +0300
commitde924ca8ad30ef05ed7b31068052c00d591fcab0 (patch)
treeb92221c3a481819bc28afb1c9007f530c9f061b4 /ChangeLog
parentace151e38e3f11077af96ae4a606f17b24e353ce (diff)
downloadastroid-de924ca8ad30ef05ed7b31068052c00d591fcab0.tar.gz
Add ChangeLog entries for the newest changes.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2794e54..f865343 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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