commit | fc9ea97a18c2c25045b4cc993932702b30df239c | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Mar 15 22:11:07 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Mar 15 22:11:07 2009 +0000 |
tree | 0d7d5f4b6ab64027ddd7ee822d1cc3ec13443207 | |
parent | 545a134916a32cbfddb3001642491d9466a71536 [diff] |
Move the previously local import of threading to module level. This is cleaner and avoids lockups in obscure cases where a Queue is instantiated while the import lock is already held by another thread. OKed by Tim Peters.