commit | 8b9091fba07b813b7486ef8fef279f2bf950570b | [log] [tgz] |
---|---|---|
author | Jeffrey Yasskin <jyasskin@gmail.com> | Fri Mar 28 04:11:18 2008 +0000 |
committer | Jeffrey Yasskin <jyasskin@gmail.com> | Fri Mar 28 04:11:18 2008 +0000 |
tree | 7dd25f52ebbe7c8276901a03bad5d651e693845c | |
parent | 7db15fe9d9f42b73b8dad4d13965259de2eea09f [diff] |
Kill a race in test_threading in which the exception info in a thread finishing up after it was joined had a traceback pointing to that thread's (deleted) target attribute, while the test was trying to check that the target was destroyed. Big thanks to Antoine Pitrou for diagnosing the race and pointing out sys.exc_clear() to kill the exception early. This fixes issue 2496.