#11617: sending any large string at all to the gp PARI pexpect interface fails
--------------------------+-------------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-4.7.2
Component: interfaces | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
--------------------------+-------------------------------------------------
Changes (by was):
* status: new => needs_review
Comment:
This turns out to be an easy 1-line fix. The bug turned out to be caused
because the "allow_use_file" option wasn't properly passed in the last
recursive call to _eval_line in the _eval_line function. And I guess that
option is important since the default (=True) isn't the right choice when
sending the name of the command to read in the file itself. In
particular, since
{{{
eval_using_file_cutoff=50
}}}
if the filename of the file to read in (plus the read command) exceeded 50
characters, we were in big trouble... but only in the case when the stack
was automatically doubled. This example hit this threshold.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11617#comment:3>
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.