On 2012-6-1 15:46, Ulrich Eckhardt wrote:

Don't use PyRun_SimpleString() or catch the exception there. The point
is that it runs the whole string as a module, like running a script from
the commandline, and a pending exception on exit is then reported to stdout.

Good hint, thanks.


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

Reply via email to