Why do list comprehensions write to the loop variable, but generators don't?
101063
List comprehension rebinds names even after scope of comprehension. Is this right?
13275
Make Javascript do List Comprehension
13918
Accessing class variables from a list comprehension in the class definition
129375
Why is list initialization (using curly braces) better than the alternatives?
49702
How do I create a list of Python lambdas (in a list comprehension/for loop)?
6515
Using while in list comprehension or generator expressions
111585
Why are Scala "for loop comprehensions" so very slow compared to FOR loops?
105567
Recursive list comprehension in Python?
112695
Appending a dictionary to a list in a a loop Python
38303
Why does this iterative list-growing code give IndexError: list assignment index out of range?
68041
Is it possible to access current object while doing list/dict comprehension in Python?
6233
Why does list(my_list) modify the object?
20628
Why is looping over find's output bad practice?
96588
How to take the first N items from a generator or list?
54546
How does the enhanced for statement work for arrays, and how to get an iterator for an array?
26425
Why does += of a list within a Python tuple raise TypeError but modify the list anyway?
2266
Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?