#12992: pari should avoid usage of mp_set_memory_functions
--------------------------+-------------------------------------------------
Reporter: pcpa | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-5.1
Component: interfaces | Keywords:
Work issues: | Report Upstream: None of the above - read trac
for reasoning.
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
--------------------------+-------------------------------------------------
I reported the issue to upstream and proposed a patch, for details, see
http://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=1317
I suggested a patch to not call mp_set_memory_functions if it will be a
noop (when not handling signals), and upstream suggests fixing it in
sagemath side by saving and restoring pointers when calling
pari_init_opts.
Sage simply removes the mp_set_memory_functions call in the pari spkg, but
I believe my proposed solution is better, and I am doing it in my work to
build a sagemath package using system wide packages.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12992>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.