On Thu, Jan 14, 2010 at 12:56 PM, Simon King <[email protected]> wrote:
> Hi!
>
> When a large string is send from Sage to, e.g., Singular via pexpect,
> a temporary file is used. But what happens if a large string (e.g.,
> the representation of a huge polynomial) is send back from Singular to
> Sage?

It is just read via pexpect (the pseudotty).  Files are I think never
used for reading back.

>
> I ask since it seems to me that in some cases the strings sent from
> Singular to Sage are randomly mutilated. E.g., I had polynomials of
> degree 25, but the string (of size >10000) arriving in Sage contained
> a substring 'c_2_8^54*b_1_3', and in another case the string that
> arrived was not the string of a polynomial at all, containing
> something like 'c_1_128*_1_3^8'.
>
> It is hardly possible to give a concise example, 'cause even when
> repeating the same computation the error did not always occur, and  if
> it occured it was not always the same.

That sounds like a bug.

William
-- 
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-support
URL: http://www.sagemath.org

Reply via email to