My tp_dealloc method (of non-subtypable type) calls the freeMem-method
of a memory manager (this manager was also used for the corresponding
allocation).
This freeMem-method deallocates and modifies the memory,
which is a valid action, because after free, the memory-manager
has ownership of th
Sorry, I wrote tp_alloc in last post, it should be always tp_dealloc:
My tp_dealloc method (of non-subtypable type) calls the freeMem-method
of a memory manager (this manager was also used for the corresponding
allocation).
This freeMem-method deallocates and modifies the memory,
which is a val
2010/6/1 :
> Sorry, I wrote tp_alloc in last post, it should be always tp_dealloc:
>
> My tp_dealloc method (of non-subtypable type) calls the freeMem-method
> of a memory manager (this manager was also used for the corresponding
> allocation).
> This freeMem-method deallocates and modifies the m
> This said, there may be a bug somewhere, but what do you want us to look
> at?
> Do you have a case that we could reproduce and investigate?
>
> --
> Amaury Forgeot d'Arc
Thank you, I'm not a C-Developer,
but still I have one more detail:
I call py_decRef( pyObj) of dll (version 3.1.1),
( w
2010/6/1 :
>> This said, there may be a bug somewhere, but what do you want us to look
>> at?
>> Do you have a case that we could reproduce and investigate?
>>
>> --
>> Amaury Forgeot d'Arc
>
> Thank you, I'm not a C-Developer,
> but still I have one more detail:
>
> I call py_decRef( pyObj) of dl
> Without further information, I cannot consider this as a problem in
> Python.
> I know other extension modules that manage memory in their own way, and
> work.
> It's more probably an issue in the code of your type.
>
> --
> Amaury Forgeot d'Arc
Ok, thank you, but I'm still hoping, someone cou
2010/6/1 :
>> Without further information, I cannot consider this as a problem in
>> Python.
>> I know other extension modules that manage memory in their own way, and
>> work.
>> It's more probably an issue in the code of your type.
>>
>> --
>> Amaury Forgeot d'Arc
>
> Ok, thank you, but I'm stil