Hello, Thanks for your help. I just copy things that I want to keep using copy.copy function. Trying to copy frames won't lead me to anywhere :)
Gokce. Pierre Quentel schrieb: > [EMAIL PROTECTED] a écrit : > > > Hello, > > > > You're right about it but this is a simple code which tells my problem. > > I need actually the frame itself for states and unfortunately > > copy.copy(frame) throws an exception. Pickling also doesn't work. Do > > you have any other idea? > > > > Thanks, > > > > Gokce. > > > In your original post you said you wanted to store local variables, but > it seems that you need to store more information than this : could you > specify which ones ? Since you can't copy the stack frame, maybe you > can copy only the attributes you need > > Pierre -- http://mail.python.org/mailman/listinfo/python-list