What will happen if I try to append a list to itself?
# Let's say empty list is created.
some_list = []
# Now, append it with self
some_list.append(some_list)
# Output shows [[...]] on iPython console.
What does this mean? Does some_list
become recursive list or something ? What will happen to reference count of some_list
? How garbage collector will treat this? When this some_list
will be garbage collected?