From: Samuele P. <pe...@in...> - 2001-06-12 16:08:14
|
Hi. > Any recommendations for what I should do? It depens on how much control you have on what the locals contain, could they contain modules too? in that case you need to write a deep-copy function that deals with modules making a shallow copy of them (in any case modules are shared among interps): otherwise any tricks that avoids polluting the locals with 'copy' can do: from import etc. the copy.deepcopy that comes with jython 2.0 can deal with PyStringMap. regards. |