Teja wrote:
> Teja wrote:
>
> > How to terminate execfile() in the middle of its execution. Any
> > pointers ???
> > Its very urgent please........
> >
> >
> > Thanks
> > Teja.P
>
> Can I raise an interrupt using PyErr_SetInterrupt??? Is so , does any
> one know how to do it?
I presume there is only one thread of execution here, so the file being
execfiled would have to recognise an error condition and raise an
un-caught exception.

- Paddy.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to