Hi, I guess the answer to this will end up being more about python than about Sublime Text, but when I do
from copy import deepcopy
def some_cool_function_of_view(view):
copy = deepcopy(view.sel())
print(len(copy))
view.sel().clear()
print(len(copy))
the first and second print statements give different numbers, with the second print statement giving 0. Basically it seems that deepcopy is failing to do an actual deep copy of view.sel().
Am I seeing double, or is this a real thing? What’s the explanation?
