embedded python: "integer is required", when calling PyRun_SimpleString

Heiko Köhler mail at heikokoehler.de
Sun Mar 9 17:53:48 CET 2003


Im writting a QT and Scintilla based text editor with an embedded python
interpreter. Sometimes when I call PyRun_SimpleString( "any_string") python
aborts with message: "an integer is required". But when I call
PyRun_SimpleString("pass"); PyRun_SimpleString("any_string") it works.

Project Page: http://cute.sourceforge.net




More information about the Python-list mailing list