#10296: Singular interface wasting time by waiting for the prompt too often
-----------------------------------------------------------------------+----
    Reporter:  SimonKing                                               |        
 Owner:  was            
        Type:  enhancement                                             |        
Status:  new            
    Priority:  major                                                   |     
Milestone:  sage-4.7.1     
   Component:  interfaces                                              |    
Resolution:                 
    Keywords:  Singular, _eval_line, synchronization, synchronisation  |   
Work_issues:                 
    Upstream:  N/A                                                     |      
Reviewer:  Martin Albrecht
      Author:  Simon King                                              |        
Merged:                 
Dependencies:                                                          |  
-----------------------------------------------------------------------+----

Comment(by SimonKing):

 Replying to [comment:32 jdemeyer]:
 > {{{RuntimeError: [Errno 5] Input/output error}}} seems to indicate
 something more low-level related to the OS (for example, the handling of
 pseudo-tty's).

 That could be. I already found: If you quit gap by sending "quit;" through
 the gap interface (by gap.eval) and then try to evaluate a command, then
 you get a different error or error message on bsd.math than on my
 computer.

 What my patch did was to search for "EOL" in the error message, which
 should be fast and suffices on my computer (Linux). If it does not suffice
 (as on bsd.math) then one could still test gap._expect.isalive(). That's
 slower, but apparently more robust.

 The other error you are reporting seems similar in spirit, but is in a
 different place.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10296#comment:34>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to