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
Brett Cannon br...@python.org added the comment:
The freeze is occurring from cgitb importing from within the html
function. That is hitting the import lock that is being held in bar.
Moving the imports out of the functions to the top of the module should
fix this.
--
priority: normal -
Changes by Daniel Diniz aja...@gmail.com:
--
assignee: - brett.cannon
nosy: +brett.cannon
versions: +Python 2.6 -Python 2.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1665206
___