[Python-Dev] Stack frames

Martin v. Löwis martin@v.loewis.de
01 Aug 2003 21:11:35 +0200


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

> The problem is that I can't change the library all that much,
> e.g. add some context parameter to all calls, so I have to use
> some other technique for accessing the call-specific variables.

I recommend to use thread-local variables.

Regards,
Martin