diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-22 21:40:12 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-22 21:40:12 +0100 |
commit | 4272e1326efcbca5b26eecd4d8fd43bcc8cf93f2 (patch) | |
tree | 6d100f62fb11a360674f281ee801ec3252ee5fda /ChangeLog | |
parent | 6c250a70175892cdd6ad1e84d071197e1ba4e56b (diff) | |
download | astroid-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-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |