Comment change: link to a StackOverflow answer directly

(imported from commit a106b02e734956cab88445d159be18a092ae6d46)
This commit is contained in:
Luke Faraone
2013-05-01 13:00:45 -07:00
committed by Tim Abbott
parent a470ec2e71
commit 598c3a00f2

View File

@@ -65,7 +65,7 @@ def timeout(timeout, func, *args, **kwargs):
if thread.isAlive():
# Gamely try to kill the thread, following the dodgy approach from
# http://stackoverflow.com/questions/323972/is-there-any-way-to-kill-a-thread-in-python
# http://stackoverflow.com/a/325528/90777
#
# We need to retry, because an async exception received while the
# thread is in a system call is simply ignored.