Pexpect is a nice trick if you want to get off the ground quickly in 
interfacing another program, but the strategic goal should be to turn it 
into a shared library or develop a RPC call library that we can plumb into 
the source code. Your average scientific code is just a scanf/printf loop 
so it would be easy to replace those calls with our own.

I don't think that pexpect can be significantly better implemented, all the 
trouble comes from possible timing or buffering issues. At the core its a 
very simple process, its only difficult to make it work well on a large 
number of platforms.

On Wednesday, December 26, 2012 5:13:45 PM UTC, Jeroen Demeyer wrote:
>
> I think it would be best to rewrite it essentially from scratch, in Cython.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to