Error handling when embedding python...

Axel Schlueter aschlueter at
Fri Jan 24 13:48:26 CET 2003

Martin v. Löwis wrote:
> How do you invoke the Python code? Python will not, normally, print an 
> error on stderr, but will return a NULL value from the API, with a 

Good hint, thanks. After looking into the implementation of
PyRun_SimpleString(), which I was using, I instantly know how
error handling works.

best regards,
,gis siht no noitpyrcne eht gnikaerb yB
.liaj ot oG .ACMD eht detaloiv evah uoy

More information about the Python-list mailing list