Interpreter Thread state Frame structures.

2009-01-07 Thread alessiogiovanni . baroni
Hi to all, there are some fields in the PyInterpreterState and PyThreadState obscures. PyInterpreterState: 1) Why there are the fields *next and *tstate_head? PyThreadState: 1) Why there is the field *next? An object PyFrameObject is a portion of code, with a state. But exactly? Contents of

Re: Interpreter Thread state Frame structures.

2009-01-07 Thread Benjamin
On Jan 7, 7:42 am, alessiogiovanni.bar...@gmail.com wrote: Hi to all, there are some fields in the PyInterpreterState and PyThreadState obscures. PyInterpreterState:   1) Why there are the fields *next and *tstate_head? When there are multiple interpreters active, they are kept in a linked