#13741: Proper deallocation of the (unique) pari instance
-------------------------+--------------------------------------------------
Reporter: SimonKing | Owner: rlm
Type: defect | Status: new
Priority: major | Milestone: sage-5.6
Component: memleak | Keywords: pari deallocation
Work issues: | Report Upstream: N/A
Reviewers: | Authors: Simon King
Merged in: | Dependencies:
Stopgaps: |
-------------------------+--------------------------------------------------
Currently, the unique instance of Pari is deallocated ''manually'' when
Sage executes sage.all.quit_sage.
I think that's unsafe. In fact, it led to problems at #12215. My
suggestion is to deallocate the unique Pari instance in the default Cython
way: With a `__dealloc__` method.
Hence, I am moving a part of the second patch of #12215 to here. I believe
this is cleaner than packing a bunch of unrelated changes into one ticket.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13741>
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.