On Thu, Nov 24, 2011 at 5:36 PM, Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote: > os.kill(os.getpid(), signal.SIGSTOP) # Hit myself with a brick. > Sometimes there'll be a raise() function but it's going to do the same thing. Yep, that would be the way to do it. ChrisA