Nick Coghlan added the comment: Correction to previous comment: you can't safely perform imports from daemon threads at all, as you have to set their daemon status before you start them.
So, to be able to safely import from a thread other than the main thread: - it must be created by the threading module, or otherwise guaranteed to be terminated when the interpreter exits - if created through the threading module, it must not be set to daemon mode _____________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1720705> _____________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com