[issue29288] Lookup Error while importing idna from a worker thread
Ilya Kulakov
report at bugs.python.org
Mon Jan 16 17:30:45 EST 2017
New submission from Ilya Kulakov:
See this post: https://github.com/kennethreitz/requests/issues/3578
The current workaround for requests is to have a no-op import somewhere in the code.
However, that doesn't really work for us: our python and stdlib are bundled by pyqtdeploy as in Qt resources system and we frequently see this error. On certain machines. Workaround that seems to work more reliably is a no-op look up via ''.encode('ascii').decode('idna').
----------
components: Library (Lib)
messages: 285586
nosy: Ilya.Kulakov
priority: normal
severity: normal
status: open
title: Lookup Error while importing idna from a worker thread
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29288>
_______________________________________
More information about the Python-bugs-list
mailing list