mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 11:45:56 -04:00
Update to sagemath 6.8
This commit is contained in:
parent
b4699213da
commit
3aa9b0c734
32 changed files with 806 additions and 615 deletions
|
@ -1,24 +1,16 @@
|
|||
diff -up src/sage/libs/pari/decl.pxi.orig src/sage/libs/pari/decl.pxi
|
||||
--- src/sage/libs/pari/decl.pxi.orig 2015-04-03 17:09:59.840683372 -0300
|
||||
+++ src/sage/libs/pari/decl.pxi 2015-04-03 17:10:10.876683795 -0300
|
||||
@@ -165,7 +165,6 @@ cdef extern from 'parisage.h':
|
||||
extern int new_galois_format, precdl
|
||||
# The "except 0" here is to ensure compatibility with
|
||||
# _pari_err_handle() in handle_error.pyx
|
||||
- extern int (*cb_pari_err_handle)(GEN) except 0
|
||||
extern int (*cb_pari_handle_exception)(long) except 0
|
||||
extern void (*cb_pari_err_recover)(long)
|
||||
diff -up src/sage/libs/pari/handle_error.pxd.orig src/sage/libs/pari/handle_error.pxd
|
||||
--- src/sage/libs/pari/handle_error.pxd.orig 2015-10-11 17:43:43.037782565 -0300
|
||||
+++ src/sage/libs/pari/handle_error.pxd 2015-10-11 17:46:28.004788882 -0300
|
||||
@@ -1,5 +1,5 @@
|
||||
include 'sage/libs/pari/decl.pxi'
|
||||
|
||||
@@ -3757,6 +3756,3 @@ cdef extern from 'pari/paripriv.h':
|
||||
unsigned long flags
|
||||
|
||||
extern gp_data* GP_DATA
|
||||
-
|
||||
-cdef extern from 'pari/anal.h':
|
||||
- char* closure_func_err()
|
||||
cdef void _pari_init_error_handling()
|
||||
-cdef int _pari_err_handle(GEN E) except 0
|
||||
+cdef int _pari_handle_exception(long errnum_unused) except 0
|
||||
cdef void _pari_err_recover(long errnum)
|
||||
diff -up src/sage/libs/pari/handle_error.pyx.orig src/sage/libs/pari/handle_error.pyx
|
||||
--- src/sage/libs/pari/handle_error.pyx.orig 2015-04-03 17:09:59.842683372 -0300
|
||||
+++ src/sage/libs/pari/handle_error.pyx 2015-04-03 17:10:10.876683795 -0300
|
||||
--- src/sage/libs/pari/handle_error.pyx.orig 2015-10-11 17:43:43.023782564 -0300
|
||||
+++ src/sage/libs/pari/handle_error.pyx 2015-10-11 17:45:11.844785966 -0300
|
||||
@@ -131,13 +131,13 @@ cdef void _pari_init_error_handling():
|
||||
sage: pari('warning("test")')
|
||||
*** user warning: test
|
||||
|
@ -61,9 +53,9 @@ diff -up src/sage/libs/pari/handle_error.pyx.orig src/sage/libs/pari/handle_erro
|
|||
finally:
|
||||
pari_free(errstr)
|
||||
diff -up src/sage/libs/pari/pari_instance.pxd.orig src/sage/libs/pari/pari_instance.pxd
|
||||
--- src/sage/libs/pari/pari_instance.pxd.orig 2015-04-03 17:09:59.834683372 -0300
|
||||
+++ src/sage/libs/pari/pari_instance.pxd 2015-04-03 17:10:10.874683795 -0300
|
||||
@@ -6,6 +6,10 @@ cimport cython
|
||||
--- src/sage/libs/pari/pari_instance.pxd.orig 2015-10-11 17:43:43.028782564 -0300
|
||||
+++ src/sage/libs/pari/pari_instance.pxd 2015-10-11 17:45:37.884786963 -0300
|
||||
@@ -7,6 +7,10 @@ cimport cython
|
||||
|
||||
from sage.libs.pari.gen cimport gen
|
||||
|
||||
|
@ -73,11 +65,11 @@ diff -up src/sage/libs/pari/pari_instance.pxd.orig src/sage/libs/pari/pari_insta
|
|||
+
|
||||
cpdef long prec_bits_to_words(unsigned long prec_in_bits)
|
||||
|
||||
@cython.final
|
||||
cdef class PariInstance_auto(ParentWithBase):
|
||||
diff -up src/sage/libs/pari/pari_instance.pyx.orig src/sage/libs/pari/pari_instance.pyx
|
||||
--- src/sage/libs/pari/pari_instance.pyx.orig 2015-04-03 17:09:59.835683372 -0300
|
||||
+++ src/sage/libs/pari/pari_instance.pyx 2015-04-03 17:10:10.874683795 -0300
|
||||
@@ -417,7 +417,12 @@ cdef class PariInstance(sage.structure.p
|
||||
--- src/sage/libs/pari/pari_instance.pyx.orig 2015-10-11 17:43:43.032782565 -0300
|
||||
+++ src/sage/libs/pari/pari_instance.pyx 2015-10-11 17:46:14.596788369 -0300
|
||||
@@ -429,7 +429,12 @@ cdef class PariInstance(PariInstance_aut
|
||||
# The size here doesn't really matter, because we will allocate
|
||||
# our own stack anyway. We ask PARI not to set up signal and
|
||||
# error handlers.
|
||||
|
@ -88,15 +80,5 @@ diff -up src/sage/libs/pari/pari_instance.pyx.orig src/sage/libs/pari/pari_insta
|
|||
pari_init_opts(10000, maxprime, INIT_DFTm)
|
||||
+ mp_set_memory_functions(_gmp_malloc, _gmp_realloc, _gmp_free)
|
||||
|
||||
_pari_init_error_handling()
|
||||
|
||||
diff -up src/sage/libs/pari/handle_error.pxd.orig src/sage/libs/pari/handle_error.pxd
|
||||
--- src/sage/libs/pari/handle_error.pxd.orig 2015-04-03 17:14:16.506693201 -0300
|
||||
+++ src/sage/libs/pari/handle_error.pxd 2015-04-03 17:14:44.287694265 -0300
|
||||
@@ -1,5 +1,5 @@
|
||||
include 'sage/libs/pari/decl.pxi'
|
||||
|
||||
cdef void _pari_init_error_handling()
|
||||
-cdef int _pari_err_handle(GEN E) except 0
|
||||
+cdef int _pari_handle_exception(long errnum_unused) except 0
|
||||
cdef void _pari_err_recover(long errnum)
|
||||
# Disable PARI's stack overflow checking which is incompatible
|
||||
# with multi-threading.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue