[sage-devel] quadratic forms signature_vector() gives different results for real cyclotomics and for reals

2019-10-17 Thread Ignat Soroko
I am computing the signature of a quadratic form having entries 0, 1, -1/2, -sqrt(2)/2. I noticed that the result of signature_vector() is different if we treat the number sqrt(2) as a cyclotomic or as a real number. Please look at the example: sage: K.=CyclotomicField(8) sage: a=z-z^3 # a is

[sage-devel] Re: Manifolds: 'set_restriction' Behaviour

2019-10-17 Thread Eric Gourgoulhon
The method set_restriction() has probably been implemented only for cases where the domain of a is a strict subset of the domain of b. When both domains coincide, instead of using b.set_restriction(a), I would have written sage: b = a.copy() However, since M is a subset of itself,. the reporte

[sage-devel] Need help with Python 3, doctesting framework, and patchbot

2019-10-17 Thread John H Palmieri
With a Python 3 build of Sage, there are three files which exhibit failures only (or primarily?) when running the Sage patchbot. This is being tracked at https://trac.sagemath.org/ticket/28622. Can anyone help figure out the problem and how to fix it? To see the problem, cd to SAGE_ROOT, run Pyt