The cgitb module had imports in its functions. This can cause deadlock with the
commit67f6ced823ff878cacba04281372a26037223876
authorbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Wed, 1 Apr 2009 16:00:34 +0000 (1 16:00 +0000)
committerbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Wed, 1 Apr 2009 16:00:34 +0000 (1 16:00 +0000)
treea9be55afee61184e957b327ec860e6cc89b629a1
parent76e0ecdc03baf2715d9e643cf14bbd82ba8b7f4c
The cgitb module had imports in its functions. This can cause deadlock with the
import lock if called from within a thread that was triggered by an import.

Partially fixes issue #1665206.

git-svn-id: http://svn.python.org/projects/python/trunk@70956 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/cgitb.py
Misc/NEWS