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 probl
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.
Pierre Quentel schrieb:
> This is because i
I want to trace a function while it executes and keep its local
variables as states. In trace function all the things work well but
after all when I print states, they are all the same. I couldn't solve
the problem. I guess it's because of frame, please can you help me?
import sys
states = []
de