[sagemath] 06/09: Added a patch to silence a memory error related to debian bug #780186

Julien Puydt julien.puydt at laposte.net
Fri Mar 13 22:05:22 UTC 2015


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

jpuydt-guest pushed a commit to branch master
in repository sagemath.

commit da975e07cdc5c628005fd3d8be3cbff51172637e
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Mar 13 23:00:09 2015 +0100

    Added a patch to silence a memory error related to debian bug #780186
---
 debian/patches/silent_debian_bug_780186.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/debian/patches/silent_debian_bug_780186.patch b/debian/patches/silent_debian_bug_780186.patch
new file mode 100644
index 0000000..6682404
--- /dev/null
+++ b/debian/patches/silent_debian_bug_780186.patch
@@ -0,0 +1,20 @@
+--- a/sage/src/sage/ext/memory.pyx
++++ b/sage/src/sage/ext/memory.pyx
+@@ -1,17 +1,6 @@
+ """
+ Low-level memory allocation functions
+ 
+-TESTS:
+-
+-Check that a ``MemoryError`` is raised if we try to allocate a
+-ridiculously large integer, see :trac:`15363`::
+-
+-    sage: 2^(2^63-2)
+-    Traceback (most recent call last):
+-    ...
+-    RuntimeError: exponent must be at most 2147483647          # 32-bit
+-    MemoryError: failed to allocate 1152921504606847008 bytes  # 64-bit
+-
+ AUTHORS:
+ 
+ - Jeroen Demeyer (2011-01-13): initial version (:trac:`10258`)

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