deepcopy alternative?
Szabolcs Nagy
nszabolcs at gmail.com
Mon Jan 29 19:32:42 EST 2007
> I believe the only thing stopping me from doing a deepcopy is the
> function references, but I'm not sure. If so is there any way to
> transform a string into a function reference(w/o eval or exec)?
what's your python version?
for me deepcopy(lambda:1) does not work in py2.4 but it works in py2.5
(in py2.4 i tried to override __deepcopy__ but it had no effect)
More information about the Python-list
mailing list