[sagemath] 02/02: Add new doctest fixes to d0-pari-stackwarn.patch.

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 28 00:44:00 UTC 2017


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

thansen pushed a commit to branch master
in repository sagemath.

commit a055ff5f0f983f4e040f32e4e49a5a25650270aa
Author: Tobias Hansen <thansen at debian.org>
Date:   Tue Mar 28 00:43:48 2017 +0000

    Add new doctest fixes to d0-pari-stackwarn.patch.
---
 debian/patches/d0-pari-stackwarn.patch | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/debian/patches/d0-pari-stackwarn.patch b/debian/patches/d0-pari-stackwarn.patch
index daa69d5..87c2140 100644
--- a/debian/patches/d0-pari-stackwarn.patch
+++ b/debian/patches/d0-pari-stackwarn.patch
@@ -14,6 +14,24 @@ Author: Tobias Hansen <thansen at debian.org>
  
          # Disable PARI's stack overflow checking which is incompatible
          # with multi-threading.
+@@ -533,7 +533,7 @@
+             True
+             sage: pari2 = Pari(10**6)
+             sage: pari.stacksize(), pari2.stacksize()
+-            (10000000, 10000000)
++            (16000000, 16000000)
+ 
+         For more information about how precision works in the PARI
+         interface, see :mod:`sage.libs.cypari2.pari_instance`.
+@@ -593,7 +593,7 @@
+             sage: pari2._close()
+             sage: pari2 = Pari(10**6)
+             sage: pari.stacksize()
+-            1000000
++            16000000
+ 
+         .. WARNING::
+ 
 @@ -875,7 +875,7 @@
          EXAMPLES::
  
@@ -287,3 +305,13 @@ Author: Tobias Hansen <thansen at debian.org>
              0
              sage: var('t,x')
              (t, x)
+--- a/sage/src/sage/libs/pari/tests.py
++++ b/sage/src/sage/libs/pari/tests.py
+@@ -31,6 +31,7 @@
+     sage: x = polygen(ZpFM(3,10))
+     sage: pol = ((x-1)^50 + x)
+     sage: pari(pol).poldisc()
++      ***   Warning: increasing stack size to...
+     2*3 + 3^4 + 2*3^6 + 3^7 + 2*3^8 + 2*3^9 + O(3^10)
+ 
+ Getting the coefficients of a Laurent series behaves differently

-- 
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