#9661: pari(string) and gp(string) always returns a value, even when it should
not
--------------------------+-------------------------------------------------
Reporter: jdemeyer | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.6
Component: interfaces | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------+-------------------------------------------------
When executing a PARI or GP command from Sage, a value of 0 is returned
when None would be expected. For example, in a gp shell (started with
sage -gp for example):
{{{
gp> kill(x) /* No output */
}}}
But in Sage:
{{{
sage: gp('kill(x)')
0
sage: pari('kill(x)')
0
}}}
It should be possible to fix this by checking for {{{gnil}}} as return
value.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9661>
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.