query: Different ways to construct python lists will affect the behavior of modifying the lists?
positive_passages.docid: 1607
positive_passages.text: List of lists changes reflected across sublists unexpectedly
negative_passages.docid: 3001
negative_passages.text: Array versus List: When to use which?
negative_passages.docid: 32787
negative_passages.text: Why does `Position` by default return a list of lists of positions instead of a simple list of positions?
negative_passages.docid: 68076
negative_passages.text: Python list slice syntax used for no obvious reason
negative_passages.docid: 8940
negative_passages.text: Better practice to re-instantiate a List or invoke clear()
negative_passages.docid: 13564
negative_passages.text: Python: deepcopy(list) vs new_list = old_list[:]
negative_passages.docid: 2373
negative_passages.text: Variable assignment and modification (in python)
negative_passages.docid: 52076
negative_passages.text: Why is an ArrayList parameter modified, but not a String parameter?
negative_passages.docid: 30763
negative_passages.text: Having trouble making a list of lists of a designated size
negative_passages.docid: 5938
negative_passages.text: Are multiple mutations within initializer lists undefined behavior?
negative_passages.docid: 17592
negative_passages.text: Why does += behave unexpectedly on lists?
negative_passages.docid: 38825
negative_passages.text: Why isn't 'list' a reserved word in Python?
negative_passages.docid: 131806
negative_passages.text: 2D list has weird behavor when trying to modify a single value
negative_passages.docid: 105918
negative_passages.text: list.extend and list comprehension
negative_passages.docid: 38747
negative_passages.text: Unexpected list behavior in Python
negative_passages.docid: 67299
negative_passages.text: "Instantiating" a List in Java?
negative_passages.docid: 89526
negative_passages.text: Python: list items are not changed in for loop