[issue43546] "Impossible" KeyError from importlib._bootstrap acquire line 110

Anentropic report at bugs.python.org
Thu Mar 18 15:14:07 EDT 2021


Anentropic <ego at anentropic.com> added the comment:

https://docs.python.org/3/library/_thread.html#_thread.get_ident

> Thread identifiers may be recycled when a thread exits and another thread is created.

I still don't see how we get that KeyError but it feels like it might be something to do with this

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43546>
_______________________________________


More information about the Python-bugs-list mailing list