Thomas Jollans <t...@tjol.eu> writes:

> On 2017-10-13 11:07, Vincent Vande Vyvre wrote:
>> Le 13/10/17 à 09:23, Chris Angelico a écrit :
>>> On Fri, Oct 13, 2017 at 4:46 PM, Vincent Vande Vyvre
> ...
> If you have custom C code, it's likely that there is a memory management
> problem there. It's not unusual for incorrect memory management to cause
> problems in a completely different part of the code, where something
> tries to access freed memory or something.

It is very easy to get something wrong in custom C code.
Therefore, I typically use "cython" (a compiler translating extended
Python to C) to realize such code. It takes care of almost all
subleties.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to