[sagemath] 02/05: Ignore new pari stack warnings.

Tobias Hansen thansen at moszumanska.debian.org
Sun Jan 29 19:24:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch experimental
in repository sagemath.

commit 101ca75ea9cb7397d6db5a2505e04a822216ba0c
Author: Tobias Hansen <thansen at debian.org>
Date:   Sun Jan 29 19:04:41 2017 +0000

    Ignore new pari stack warnings.
---
 debian/changelog                       |  1 +
 debian/patches/d0-pari-stackwarn.patch | 36 ++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 38db448..432d505 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ sagemath (7.5.1-1) UNRELEASED; urgency=medium
     - d0-arb.patch (patch acb_poly.pxd)
     - d0-gsl-cblas.patch (keep gslcblas in gsl_libs)
     - d0-pari.patch
+    - d0-pari-stackwarn.patch
     - d0-paths-sharedata.patch
     - d0-paths.patch
     - d0-singular.patch
diff --git a/debian/patches/d0-pari-stackwarn.patch b/debian/patches/d0-pari-stackwarn.patch
index 2f50279..acd44b0 100644
--- a/debian/patches/d0-pari-stackwarn.patch
+++ b/debian/patches/d0-pari-stackwarn.patch
@@ -31,6 +31,15 @@ Author: Tobias Hansen <thansen at debian.org>
  
          ``a`` is now a Python variable on the Python heap and does not
          take up any space on the PARI stack.  The PARI stack is still
+@@ -946,7 +947,7 @@
+             sage: a = pari('2^100000000')
+             Traceback (most recent call last):
+             ...
+-            PariError: _^s: the PARI stack overflows (current size: 4194304; maximum size: 4194304)
++            PariError: _^s: the PARI stack overflows (current size:...; maximum size: 4194304)
+             You can use pari.allocatemem() to change the stack size and try again
+ 
+         TESTS:
 @@ -957,6 +958,7 @@
              sage: pari.allocatemem(1, 2^26)
              PARI stack size set to 1024 bytes, maximum size set to 67108864
@@ -212,6 +221,23 @@ Author: Tobias Hansen <thansen at debian.org>
      2*3 + 3^4 + 2*3^6 + 3^7 + 2*3^8 + 2*3^9 + O(3^10)
  """
  
+@@ -4576,7 +4577,7 @@
+ 
+             sage: pari(8).bernvec()
+             doctest:...: DeprecationWarning: bernvec() is deprecated, use repeated calls to bernfrac() instead
+-            See http://trac.sagemath.org/15767 for details.
++            See http://trac.sagemath.org/15767 for details...
+             [1, 1/6, -1/30, 1/42, -1/30, 5/66, -691/2730, 7/6, -3617/510]
+             sage: [pari(2*n).bernfrac() for n in range(9)]
+             [1, 1/6, -1/30, 1/42, -1/30, 5/66, -691/2730, 7/6, -3617/510]
+@@ -4694,6 +4695,7 @@
+ 
+         sage: K.<a> = NumberField(x^3 - 2)
+         sage: pari(K)
++          ***   Warning: increasing stack size to...
+         [y^3 - 2, [1, 1], -108, 1, [[1, 1.25992104989487, 1.58740105196820; 1, -0.629960524947437 + 1.09112363597172*I, -0.793700525984100 - 1.37472963699860*I], [1, 1.25992104989487, 1.58740105196820; 1, 0.461163111024285, -2.16843016298270; 1, -1.72108416091916, 0.581029111014503], [1, 1, 2; 1, 0, -2; 1, -2, 1], [3, 0, 0; 0, 0, 6; 0, 6, 0], [6, 0, 0; 0, 6, 0; 0, 0, 3], [2, 0, 0; 0, 0, 1; 0, 1, 0], [2, [0, 0, 2; 1, 0, 0; 0, 1, 0]], []], [1.25992104989487, -0.629960524947437 + 1.0911236 [...]
+ 
+         sage: E = EllipticCurve('37a1')
 --- a/sage/src/sage/lfunctions/lcalc.py
 +++ b/sage/src/sage/lfunctions/lcalc.py
 @@ -122,6 +122,7 @@
@@ -278,3 +304,13 @@ Author: Tobias Hansen <thansen at debian.org>
 +     9.63307880,
 +     10.3514333]
  
+--- a/sage/src/sage/functions/orthogonal_polys.py
++++ b/sage/src/sage/functions/orthogonal_polys.py
+@@ -1293,6 +1293,7 @@
+             sage: legendre_P(4,x)
+             35/8*x^4 - 15/4*x^2 + 3/8
+             sage: legendre_P(10000,x).coefficient(x,1)
++              ***   Warning: increasing stack size to...
+             0
+             sage: var('t,x')
+             (t, x)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list