Alex Gaynor added the comment: It could also track tids and raise an error if you attempt to use it from multiple threads. ---------- nosy: +alex _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17970> _______________________________________