query: Different methods for constructing the same empty nested list in python results in inconsistent behaviour
positive_passages.docid: 1607
positive_passages.text: List of lists changes reflected across sublists unexpectedly
negative_passages.docid: 139014
negative_passages.text: How to efficiently Append a result of an operation on each element of a list to itself
negative_passages.docid: 38303
negative_passages.text: Why does this iterative list-growing code give IndexError: list assignment index out of range?
negative_passages.docid: 74142
negative_passages.text: Why isn't `method=` treated the same as any other method?
negative_passages.docid: 89933
negative_passages.text: How do I avoid trailing empty items being removed when splitting strings?
negative_passages.docid: 98034
negative_passages.text: Difference between Array.length = 0 and Array =[]?
negative_passages.docid: 130312
negative_passages.text: Why aren't hash values for "nothing" (empty) defined as all zeros?
negative_passages.docid: 134028
negative_passages.text: Basics of recursion in Python
negative_passages.docid: 139802
negative_passages.text: Strip waste braces in nested list
negative_passages.docid: 17784
negative_passages.text: Java if ternary operator and Collections.emptyList()
negative_passages.docid: 102903
negative_passages.text: Python: Uniqueness for list of lists
negative_passages.docid: 59951
negative_passages.text: Why does list.append evaluate to false in a boolean context?
negative_passages.docid: 129489
negative_passages.text: How to remove redundant {} from a nested list of lists?
negative_passages.docid: 68791
negative_passages.text: Creating a list in Python with multiple copies of a given object in a single line
negative_passages.docid: 64769
negative_passages.text: What is the difference between \empty and \@empty?
negative_passages.docid: 94312
negative_passages.text: Selecting every last element of a nested list
negative_passages.docid: 27396
negative_passages.text: Generator expressions vs. list comprehensions