Re: C++: Py_CompileString crash

2009-10-26 Thread Christian Heimes
KillSwitch wrote: int main(int argc, char *argv[]) { Py_Initialize(); const char* filename = asdf.py; const char* str = print('lol'); Py_CompileString(str, filename, 0); Py_Finalize(); system(PAUSE); return 0; } On running, it

Re: C++: Py_CompileString crash

2009-10-26 Thread KillSwitch
On Oct 26, 10:06 am, Christian Heimes li...@cheimes.de wrote: KillSwitch wrote: int main(int argc, char *argv[]) {    Py_Initialize();    const char* filename = asdf.py;    const char* str = print('lol');    Py_CompileString(str, filename, 0);    Py_Finalize();