In comments.py please change
setattr(t, a, copy.deepcopy(getattr(self, a, memo)))
to
setattr(t, a, copy.deepcopy(getattr(self, a), memo))
otherwise it runs in quadratic complexity when deepcopying something as trivial as a list
Thanks!
Log in to post a comment.