20 Dec
2009
20 Dec
'09
4:04 p.m.
2009/12/20 Ram Rachum
Do you think there should be a `__deepcopy__` method for `object`?
No. Deep copy is an ill-defined concept. There is no universal notion of a deep copy, various applications need different amount of copying. Also, various applications need different amount of sharing and cycle detection while copying. There is no universal solution which fits all. Use a domain-specific function instead. -- Marcin Kowalczyk