It is not possible to safely and generally interrupt a thread in a programming language such as Python. Java used this function, but they removed it because it is inherently unsafe. (Java has a new Thread.interrupt function, which is a limited version with fewer problems, but still complicates the task of writing multi-threaded code).
This is why Twisted provides many ways to avoid threads. If they do not need you, do not use them. For example, instead of calling time.sleep(n); foo() time.sleep(n); foo() just execute reactor.callLater(n, foo) and you will get the same effect, except that callLater returns an object that you can use to easily cancel or defer foo if it hasn't already happened.
If you have an example of what you are actually trying to do, rather than replacing โ time.sleep โ with โand then something happensโ, please open another question explaining it. The answer really depends on what you do - do you really expect on time? Blocking I / O to another process? Another car? Twisted has the appropriate capabilities for all of these.
source share