Re: (EMBEDDING) Can't get python error message

2007-07-05 Thread Gabriel Genellina
En Thu, 05 Jul 2007 08:47:57 -0300, <[EMAIL PROTECTED]> escribió: > I run this string to produce a error "x+1" > > PyRun_SimpleStringFlags() return -1, so that i know this is a script > with error inside... > > but now - how can i get error message? Simply, you can't. From http://docs.python.org/

(EMBEDDING) Can't get python error message

2007-07-05 Thread anonymisiert85
I run this string to produce a error "x+1" PyRun_SimpleStringFlags() return -1, so that i know this is a script with error inside... but now - how can i get error message? i tested some py-functions - but this functions do not work... i called this functions direct after PyRun_SimpleStringFlags