[Pythonmac-SIG] shild App against crashes in call of PyRun_SimpleString

Aahz aahz at pythoncraft.com
Fri Jan 22 22:37:11 CET 2010


On Fri, Jan 22, 2010, Georg Seifert wrote:
>
> What is the best way to protect my app from crashes if something went
> wrong in a PyRun_SimpleString call.
>
> This happened with 10.6.2.

What version of Python?  What kind of application?  Are you linking to
any C libraries?  This is clearly a threading issue deep in the C
threading code, and there's nothing much you can protect against (it's
the functional equivalent of a segfault).
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

import antigravity


More information about the Pythonmac-SIG mailing list