Python weird behavior in list comprehension
101063
List comprehension rebinds names even after scope of comprehension. Is this right?
77775
Python .sort() not working as expected
1607
List of lists changes reflected across sublists unexpectedly
98730
Why does \foreach \x in {0,1,...,0}{} perform two iterations (instead of one)?
68041
Is it possible to access current object while doing list/dict comprehension in Python?
4650
Why does substring slicing with index out of range work?
38303
Why does this iterative list-growing code give IndexError: list assignment index out of range?
6515
Using while in list comprehension or generator expressions
63307
Generating sublists using multiplication ( * ) unexpected behavior
50864
List comprehension vs map
66828
Create a dictionary with list comprehension
67703
Why does '.sort()' cause the list to be 'None' in Python?
61020
Python extend with an empty list bug?
110557
Weird list behavior in class
18253
Odd strpos behavior
73228
What does the [0]*x syntax do in Python?
52303
Why is list when passed without ref to a function acting like passed with ref?