[issue22305] Documentation on deepcopy's problems is misleading

2014-08-30 Thread Shailesh Hegde
New submission from Shailesh Hegde: https://docs.python.org//library/copy.html "Two problems often exist with deep copy operations that don’t exist with shallow copy operations: Recursive objects (compound objects that, directly or indirectly, contain a reference to themselves) may ca

[issue22305] Documentation on deepcopy's problems is misleading

2014-08-30 Thread Shailesh Hegde
Shailesh Hegde added the comment: Thanks. "Because deep copy copies everything it may copy too much, e.g., administrative data structures that need to be shared even between copies, which may not be the desired goal." helps me underst