Edit: threadlocal.py