[sage-devel] Re: Boolean expressions

2021-05-05 Thread Nils Bruin
"and" and "or" in python are not logical operators -- they are flow control for expressions; much like the " ... if ... else ..." expression is. Their behaviour cannot be overloaded. The bitwise operators "&" and "|" would be candidates for overloading. Concerning the translation from maxima to

[sage-devel] Boolean expressions

2021-05-05 Thread Emmanuel Charpentier
At least Sympy, Maxima and Mathematica can treat boolean expressions as other expressions. Maxima : : (%i1) display2d:false; (%o1) false (%i2) foo: a and b; (%o2) a and b (%i3) bar: subst([a=(%pi>3), b=(%pi<4)], foo); (%o3) %pi > 3 and %pi < 4 (%i4) is(bar); (%o4) unknown (%i5) bar, ev; (%

[sage-devel] Interface to Mathics

2021-05-05 Thread seb....@gmail.com
Dear all, those who participated in the Sage Days 110 may remember a talk about Mathics . This is an open source interpreter for the Wolfram Language. I think it would be a good enhancement for Sage to have an interface

Re: [sage-devel] Re: Memory leak with matrices and finite fields

2021-05-05 Thread Dima Pasechnik
we've fixed a memory leak in matrices recently (this fix will be in 9.3), not sure if this is related https://trac.sagemath.org/ticket/31340 On Wed, May 5, 2021 at 8:45 AM 'jonatha...@googlemail.com' via sage-devel wrote: > > Dear Freddie, > > thank you for the report. > > Fortunatly or unfortuna

[sage-devel] Re: Memory leak with matrices and finite fields

2021-05-05 Thread 'jonatha...@googlemail.com' via sage-devel
Dear Freddie, thank you for the report. Fortunatly or unfortunately, I can't reproduce this on sage 9.2 or on the develop branch (on ubuntu focal with libflint-2.5.2 and debian buster with sage's flint 2.6.3). This might be a bug with flint. What flint are you using? You can go into detail, t