that's convenient but I guess we should not go into deep / shallow copies here. Had you changed one of the values, e.g. appended to the times list it wouldn't have worked. In the source code we use deepcopy in such situations. I think in this example we should relax the DRY principle and explicitly write a second dict instead of tapping into shallow VS deepcopy.