Re: abort python script from trace function

2011-07-26 Thread Dave Stark
Update: I ended getting the desired result by registering a new trace function. In my existing trace function I check the status of the abort button. When it's been triggered I register a NEW trace function using PyEval_SetTrace. I also use PyEval_SetProfile and point them both at my new tra

Re: abort python script from trace function

2011-07-15 Thread Chris Angelico
On Sat, Jul 16, 2011 at 8:00 AM, Dave Stark wrote: > Hello, > > I have a multithreaded application that uses embedded python extensively. > The main thread creates python objects that interface test equipment, and > users execute their own python scripts that run in a separate thread. I did somet