diff options
author | Brett Cannon <bcannon@gmail.com> | 2004-07-21 02:21:58 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2004-07-21 02:21:58 +0000 |
commit | a18fdd37a8143ffb8b3242aef12e64a2f5463bb7 (patch) | |
tree | 988de456c413f9fb5a37bfb73828ca01e9b4b10c /Python/pythonrun.c | |
parent | d10eaedb22950f5d41849f15efcb5ff9f2fb4408 (diff) | |
download | cpython-a18fdd37a8143ffb8b3242aef12e64a2f5463bb7.tar.gz |
Fix bug where a KeyError was raised if -O was being used for the interpreter
and Thread.__delete() was called after a Thread instance was created. Problem
resulted from a currentThread() call in an 'assert' statement being optimized
out and dummy_thread.get_ident() always returning -1 and thus overwriting the
entry for the _MainThread() instance created in 'threading' at import time.
Closes bug #993394.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions