sibsibsib
Joined 16 years ago
Karma
57
Submissions
58
Member since
Oct 1
Joined 16 years ago
Seems to work pretty well, although I haven't tried it for anything production related.
This really depends on the level of traffic you expect. For lower amounts, it works fine.
A robot must obey the orders given to it by human beings, except where such orders would conflict with the First Law.
If you want to be truly explicit, why not use the built in copy module?
eg:
from copy import copy
b = copy(a) #or deepcopy(), depending on your needs
*edit: I should note that the docs for copy suggest using the slice operator.