Brett Cannon <br...@python.org> added the comment: So this issue -- as seems to happen to me at PyCon -- was deeper than I thought. cgitb was importing in functions so that was fixed (r70956 for 2.x, r70957 for 3.x). But I also found out that _warnings.c was also importing (r70965 for 2.x, r70966 for 3.x).
But the example still locks up thanks to re doing imports. Basically, don't launch threads during an import, but I have done all that is reasonable to rectify the situation. ---------- resolution: -> wont fix status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1665206> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com