[issue27387] Thread hangs on str.encode() when locale is not set

STINNER Victor report at bugs.python.org
Sun Jun 26 04:58:24 EDT 2016


STINNER Victor added the comment:

It is a deadlock on the import lock. You should avoid creating and waiting
for a thread when a module is imported. Defer the creation of the thread.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27387>
_______________________________________


More information about the Python-bugs-list mailing list