override I/O and memory management

I

Ivo

Hi.

I'm trying to embed Python as a scripting language for my Win32 application. What I need is to provide my own text console and my own memory manager. Is it possible to do that without replacing all printfs and mallocs in the Python source? Even if I do that, how is that going to work for third-party modules I import?

Thanks
Ivo
 

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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top