Is there a way to interrupt Python?

Alex Farber farber at
Thu Mar 16 23:47:50 CET 2000


is there a way to interrupt Python when it is executing
PyEval_EValCode() or PyRun_*() in an embedding application?

I would like to be able to stop it by pressing CTRL-C. Maybe 
there is a flag or some thread ref. which I could kill somehow?

Thank you

More information about the Python-list mailing list