On 2017-01-09 23:11, Jean-Pierre Flori wrote:
I guess that to do that you need an argless constructor which does not
seem to be the case here.
Does the C++ class not have an argless constructor or is it just not
declared in the Cython file?
--
You received this message because you are subscr
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
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 us
On Mon, Jan 9, 2017 at 3:08 PM, Jean-Pierre Flori wrote:
>
>
> On Monday, January 9, 2017 at 7:03:57 PM UTC+1, Volker Braun wrote:
>>
>> On Monday, January 9, 2017 at 4:45:19 PM UTC+1, Jean-Pierre Flori wrote:
>>>
>>> You can just use the Python "del" operator and Cython should translate
>>> it t