-
-
Notifications
You must be signed in to change notification settings - Fork 676
Closed
Description
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.
CC: @jpflori @zimmermann6 @vbraun @robertwb @nbruin @malb @orlitzky
Component: memleak
Keywords: pari deallocation
Author: Simon King
Reviewer: Volker Braun
Merged: sage-5.5.rc1
Issue created by migration from https://trac.sagemath.org/ticket/13741