April 7th, 2004, 12:18 PM
How do I make a deep copy of an int? Thanks
April 7th, 2004, 12:44 PM
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 12:58 PM.
April 7th, 2004, 12:56 PM
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, 01:03 PM
Sorry, I was having a wild moment Put in too many bug-hunting hours and I need feeding