SilentGhost added the comment: Looks like some sort of race condition. Sleeping for a second before import_module seem to solve the problem.
---------- components: +Interpreter Core nosy: +SilentGhost, brett.cannon, eric.snow, ncoghlan _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23412> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com