diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-21 03:36:52 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-21 03:36:52 +0000 |
commit | aff1688ee5cdb545c21a57ff6f2a5dbaa748f76b (patch) | |
tree | eb161e68ed403a90fc9fa06fd20037f012df1a37 /Python/pythonrun.c | |
parent | e010388c1c710530513958d18dd64e5f414f4b03 (diff) | |
download | cpython-aff1688ee5cdb545c21a57ff6f2a5dbaa748f76b.tar.gz |
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions