Catching SystemExit in C API code when embedding Python?

Stefan Bellon sbellon at sbellon.de
Thu Aug 2 16:30:26 EDT 2007


On Thu, 02 Aug, Farshid Lashkari wrote:

> You cannot use PyRun_SimpleString, since it will automatically print
> and clear the error. You will need to use PyRun_String instead.

Thanks, that helps a lot!

-- 
Stefan Bellon



More information about the Python-list mailing list