PyRun_SimpleString, PyRun_File

  • Thread starter Søren Johansen
  • Start date
S

Søren Johansen

Hi,

having had a number of problems with PyRun_File in my application embedding
Python, I decided to load scripts into memory myself and execute them with
PyRun_(Simple)String.
This works fine and dandy except for when scripts reach a certain size.
Around the 28000'th byte, it seems to break up the script, resulting in
random errors caused by whatever is on that line.

Is there some known limitation to PyRun_String buffersize that is not
present in PyRun_File - with which it used to work - and a way to overcome
it?

Thank you,
Søren
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top