Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore?)
We are currently ignoring Starred nodes in For contexts, as seen below:
#!python
from astroid.test_utils import *
n = extract_node('''
for a, *b in [(1, 2, 3), (4, 5, 6)]:
b #@
''')
print(list(n.infer())) # Yields YES, not what we expected
Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore?)
We are currently ignoring Starred nodes in For contexts, as seen below: