[sage-devel] Re: Wrong polynomial factoring

2019-05-06 Thread Eric Gourgoulhon
Indeed, the factor function of Sage is terribly buggy at the moment, see https://trac.sagemath.org/ticket/27304 The issue you report seems to have been triggered by https://trac.sagemath.org/ticket/23835 (merged in Sage 8.4.beta3) as well, since we have a correct result in Sage 8.3:

[sage-devel] Wrong polynomial factoring

2019-05-06 Thread Roberto Avanzi
Hello I haven't been able to find this very same bug in the trac or in the sage-level group, even though some related ones have been reported L = (u + t)/(u - t) factor( L.substitute(t=sqrt(u))) yields (u + 1)/(u - 1) which is wrong (the example is small enough to be verifiable by hand).

Re: [sage-devel] No output from GAP

2019-05-06 Thread E. Madison Bray
On Mon, May 6, 2019 at 12:25 AM Andrey Novoseltsev wrote: > > OK, here is me not trying to rely on implicit printing by REPL: > > sage: gap.eval("Print({});".format(10^1)) > '10' > sage: gap.eval("Print({});".format(10^10)) > '100' > sage: gap.eval("Print({});".format(10^100)) > '' > > Is

Re: [sage-devel] Factoring bug in Pari stack

2019-05-06 Thread Dima Pasechnik
I opened https://trac.sagemath.org/ticket/27778 for this I can also reproduce this on Gentoo Linux with Sage 8.8.beta3 On Mon, May 6, 2019 at 10:00 AM Daniel Krenn wrote: > > On 06.05.19 10:37, David Roe wrote: > > I've run across a strange bug that seems to be hardware dependent: > > I can

[sage-devel] Re: [sage-packaging] python2.7 jupyter out in gentoo

2019-05-06 Thread Dima Pasechnik
I'd like to see options to build sage exclusively with Python 2 or 3. Having both in one build might be useful, but not always. --with-pythonX=no/yes/system, with X in {2.3} (for the time being "system" might mean that everything is happening in the virtual environment of pythonX) On Mon, May

Re: [sage-devel] Factoring bug in Pari stack

2019-05-06 Thread Daniel Krenn
On 06.05.19 10:37, David Roe wrote: > I've run across a strange bug that seems to be hardware dependent: I can reproduce the error on both systems that I've just checked: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (Laptop) Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz (Desktop) Both run Linux Mint

[sage-devel] Factoring bug in Pari stack

2019-05-06 Thread David Roe
I've run across a strange bug that seems to be hardware dependent: it is repeatable on an Ubuntu server, but I can't replicate it on my Macbook Pro or on Cocalc. It occurs when factoring rational polynomials, and gives an error message from pari: "bug in gerepile, significant pointers lost,