On Mon, Feb 4, 2019 at 1:23 AM Simon King <simon.k...@uni-jena.de> wrote:
>
> Hi Nathan,
>
> On 2019-02-04, Nathan Dunfield <nat...@dunfield.info> wrote:
> > On Sage 8.6 with Python 2, the following command produces the expected
> > result (namely, a sage.interfaces.gap.GapElement):
> >
> > sage: gap('0')
> > 0
> >
> > whereas in Sage 8.6 with Python 3 I get the following error:
>
> Works for me. In Sage 8.7.beta1 with Python 3.6.6, I get
>   sage: gap(0)
>   0
>   sage: gap('0')
>   0
>
> > Is the plan to make
> > "gap" and alias of (or a wrapper for) "libgap" in future releases?
>
> I think this would be a good idea in the long run, however would require
> a deprecation period. After all, libgap is not a drop-in replacement of
> gap, and I talk from experience (authoring the p_group_cohomology spkg)
> when I say that the transition from gap to libgap isn't trivial (but is
> a good idea).

Yes, this is the plan, see https://trac.sagemath.org/ticket/26963.
Please do not use GAP pexpect interface for new code, use libgap
(which is often considerably faster, and the code is cleaner - if done
right).


>
> Best regards,
> Simon
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to