On Monday, January 9, 2017 at 10:33:49 PM UTC+1, Jeroen Demeyer wrote:
>
> On 2017-01-09 16:45, Jean-Pierre Flori wrote: 
> > I guess you want to free the memory allocated here: 
> > * 
> > 
> https://github.com/sagemath/sage/blob/master/src/sage/libs/eclib/newforms.pyx#L112
>  
>
> Alternatively, instead of a pointer you could store the object itself in 
> the Python class. Then you wouldn't use new and wouldn't need to delete 
> anything. I'm not at all saying that this is the best option, it's just 
> something to consider... 
>
I guess that to do that you need an argless constructor which does not seem 
to be the case here. 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to