summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-10-22 21:40:12 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2015-10-22 21:40:12 +0100
commit4272e1326efcbca5b26eecd4d8fd43bcc8cf93f2 (patch)
tree6d100f62fb11a360674f281ee801ec3252ee5fda /ChangeLog
parent6c250a70175892cdd6ad1e84d071197e1ba4e56b (diff)
downloadastroid-4272e1326efcbca5b26eecd4d8fd43bcc8cf93f2.tar.gz
Add support for indexing containers with instances which provides an __index__ returning-int method.
This patch moves _class_as_index to helpers, where it becames class_instance_as_index. Also, it instantiates its own call context, which makes certain idioms with lambdas to work.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2026199..88e4aa2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -210,6 +210,9 @@ Change log for the astroid package (used to be astng)
* Add support for multiplication of tuples and lists with instances
which provides an __index__ returning-int method.
+ * Add support for indexing containers with instances which provides
+ an __index__ returning-int method.
+
* Star unpacking in assignments returns properly a list,
not the individual components. Closes issue #138.