Re: [sage-devel] 2 basic questions on sagemath programming with external CAS systems

2022-05-13 Thread Michael Orlitzky
On Thu, 2022-05-12 at 20:28 -0700, 'Nasser M. Abbasi' via sage-devel wrote: > > > And with maxima it does not even time out. It hanged > Integrating with maxima doesn't use the pexpect interface. There *is* a pexpect interface to maxima, but there is also a library interface that is faster.

Re: [sage-devel] 2 basic questions on sagemath programming with external CAS systems

2022-05-13 Thread Dima Pasechnik
On Thu, 12 May 2022, 11:32 'Nasser M. Abbasi' via sage-devel, < sage-devel@googlegroups.com> wrote: > > 1) I just want to confirm if this is what happens ( I could find > information on this googling). > > If from sagemath, one makes a call to an external CAS, does sagemath > create a

Re: [sage-devel] 2 basic questions on sagemath programming with external CAS systems

2022-05-12 Thread 'Nasser M. Abbasi' via sage-devel
Thanks, I've been testing this pexpect interface. But it does not seem to work for all CAS systems the same way. Using sagemath 9.6, RC 4, it worked for fricas, but for giac and maxima it did not. ``` ┌┐ │ SageMath version

Re: [sage-devel] 2 basic questions on sagemath programming with external CAS systems

2022-05-12 Thread Michael Orlitzky
On Thu, 2022-05-12 at 03:32 -0700, 'Nasser M. Abbasi' via sage-devel wrote: > 1) I just want to confirm if this is what happens ( I could find > information on this googling). > > If from sagemath, one makes a call to an external CAS, does sagemath create > a subprocess, starts the external

[sage-devel] 2 basic questions on sagemath programming with external CAS systems

2022-05-12 Thread 'Nasser M. Abbasi' via sage-devel
1) I just want to confirm if this is what happens ( I could find information on this googling). If from sagemath, one makes a call to an external CAS, does sagemath create a subprocess, starts the external CAS executable in it, makes the call, and when the call is over, that subprocess is