How do I use thread local storage in Python?
Related
- What is “thread local storage” in Python, and why do I need it? - This thread appears to be focused more on when variables are shared.
- Efficient way to determine whether a particular function is on the stack in Python - Alex Martelli gives a nice solution