April 7th, 2004, 11:18 AM
How do I make a deep copy of an int? Thanks
April 7th, 2004, 11:44 AM
How deep do you want it?
a = 5
b = a
is as deep as it gets!
Last edited by Grim Archon; April 7th, 2004 at 11:58 AM.
April 7th, 2004, 11:56 AM
I think what Grim means is that the concept of 'a deep copy of an int' is meaningless in Python (or any other language).
Perhaps if you explain *why* you think you need a deep copy of an int - describe the problem you are trying to solve - then we may be able to give you a more meaningful answer.
Dave - The Developers' Coach
April 7th, 2004, 12:03 PM
Sorry, I was having a wild moment Put in too many bug-hunting hours and I need feeding