diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-21 03:36:52 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-21 03:36:52 (GMT) |
commit | 21429932e4f1c31a25c943853eb6c968b5cf9a82 (patch) | |
tree | 81b6d54ab2654895894748362bd229483523dc0a /Python/pythonrun.c | |
parent | 090e636add33907d196b9899eb0f019654a055e8 (diff) | |
download | cpython-21429932e4f1c31a25c943853eb6c968b5cf9a82.zip cpython-21429932e4f1c31a25c943853eb6c968b5cf9a82.tar.gz cpython-21429932e4f1c31a25c943853eb6c968b5cf9a82.tar.bz2 |
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