commit | 21429932e4f1c31a25c943853eb6c968b5cf9a82 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Wed Jul 21 03:36:52 2004 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Wed Jul 21 03:36:52 2004 +0000 |
tree | 81b6d54ab2654895894748362bd229483523dc0a | |
parent | 090e636add33907d196b9899eb0f019654a055e8 [diff] |
Thread.__delete: Discussion of internal obscurities belongs in comments rather than in docstrings. Rewrote so that _active_limbo_lock is released no matter what happens (it could have been left locked if _sys got None'd out). Use "in" in preference to has_key() for dict lookup. Don't bother looking for 'dummy_threading' in sys.modules unless KeyError is raised. Since the heart of the method is the del, do that in only one place.