summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2016-02-18 21:55:32 +0000
committerClaudiu Popa <pcmanticore@gmail.com>2016-02-20 22:35:08 +0000
commit1d5bf7ec3c74496e2b9b5772cbe953a962ccd3d9 (patch)
treeeba358917ab928b17eda30e4a1932be08fb68ee2 /ChangeLog
parentce80c835a492ccdf05b9786f0e0960327a51826e (diff)
downloadastroid-git-1d5bf7ec3c74496e2b9b5772cbe953a962ccd3d9.tar.gz
imported_names() got replaced by public_names()
Our understanding of wildcard imports through __all__ was half baked to say at least, since we couldn't account for modifications of the list, which results in tons of false positives. Instead, we replaced it with public_names(), a method which returns all the names that are publicly available in a module, that is that don't start with an underscore, even though this means that there is a possibility for other names to be leaked out even though they are not present in the __all__ variable.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 759b6c18..b2c10474 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,22 @@
Change log for the astroid package (used to be astng)
=====================================================
+--
+
+ * wildcard_imported_names() got replaced by _public_names()
+
+ Our understanding of wildcard imports through __all__ was
+ half baked to say at least, since we couldn't account for
+ modifications of the list, which results in tons of false positives.
+ Instead, we replaced it with _public_names(), a method which returns
+ all the names that are publicly available in a module, that is that
+ don't start with an underscore, even though this means that there
+ is a possibility for other names to be leaked out even though
+ they are not present in the __all__ variable.
+
+ The method is private in 1.4.X.
+
+
2016-01-15 -- 1.4.4
* unpack_infer raises InferenceError if it can't operate