> If you use the same workflow as you do currently, it won't You're right it shouldn't cause a blocking call. > Come to think of it, you might as well just use StringIO. Yes I could probably replace std{in, out, err} with stringIO objects and retrieve their contents throughthe api. I'll look into it, thank again.
F.L. > Date: Mon, 8 Aug 2011 19:52:14 +0200 > From: t...@jollybox.de > To: python-list@python.org > Subject: Re: Embedded python console and FILE* in python 3.2 > > On 08/08/11 19:44, Thomas Jollans wrote: > > > > > 1. Feed input to your custom stdin object, which will buffer the code. > > 2. Call PyRun_IteractiveOne - it will read from your object, which will > > return the buffer contents. > > 3. The result is somehow handled by custom stdout and stderr objects. > > > > Come to think of it, you might as well just use StringIO. > -- > http://mail.python.org/mailman/listinfo/python-list
-- http://mail.python.org/mailman/listinfo/python-list