#6801: weird bug in magma.eval
------------------------+---------------------------------------------------
 Reporter:  was         |       Owner:  was       
     Type:  defect      |      Status:  new       
 Priority:  major       |   Milestone:  sage-4.1.2
Component:  interfaces  |    Keywords:            
 Reviewer:              |      Author:            
   Merged:              |  
------------------------+---------------------------------------------------

Comment(by klee):

 In "sage/interfaces/magma.py(278)", the default value 100 for the
 parameter "eval_using_file_cutoff" is set.

 {{{
         Expect.__init__(self,
                         name = "magma",
                         prompt = ">>SAGE>>",
                         command = command,
                         maxread = maxread,
                         server = server,
                         server_tmpdir = server_tmpdir,
                         script_subdirectory = script_subdirectory,
                         restart_on_ctrlc = False,
                         logfile = logfile,
                         eval_using_file_cutoff=100)
 }}}

 I think 100 is too small. Many of my own Magma codes have lines exceeding
 100. Should we simply set the value to a larger value, e.g., 300? This may
 be a solution, though not elegant.... Is there a smarter solution? One
 solution is to provide a method like

 magma.SetDefaultFileCutoffLength(file_cutoff=300)

 so that users can adjust it for their convenience.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6801#comment:3>
Sage <http://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