On 08/08/11 19:44, Thomas Jollans wrote:
> If you use the same workflow as you do currently, it won't:
> 
> 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

Reply via email to