Chris Angelico wrote: > You can use PyErr_SetInterrupt to raise KeyboardInterrupt
This sounds useful. Just to make sure, this would be called from a different thread than the one running the Python script, is that still OK? > , but it can be caught by the script. There's no guaranteed way, > short of killing the process. This will do for my plans, I'm not trying to defend against anything malicious. Thanks you! Uli -- Domino Laser GmbH Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932 -- http://mail.python.org/mailman/listinfo/python-list