[Python-Dev] Stack frames

Martin v. L÷wis martin@v.loewis.de
01 Aug 2003 22:54:33 +0200


"M.-A. Lemburg" <mal@lemburg.com> writes:

> > I recommend to use thread-local variables.
> 
> Thanks, but that only works in multi-threaded environments where
> you process each call in a different thread. This application is
> single-threaded (even though it may turn into a multi-threaded
> one at some later stage).

That is not true. In the single-threaded case, just use global
variables.

Regards,
Martin