Return str to a callback raise a segfault if used in string formating

dieter dieter at handshake.de
Mon Oct 16 02:24:03 EDT 2017


Vincent Vande Vyvre <vincent.vande.vyvre at telenet.be> writes:
> Le 14/10/17 à 15:59, Stefan Behnel a écrit :
> ...
> Thanks, I know Cython but the code is already in C.
>
> This is a lib released as a frontend.  Then usable only in command line.

This does not prevent the use of "Cython". In fact, one of
its use cases is the creation of bindings - a thin wrapper around
a C library to make it easily usable from Python.

An example is "lxml", a binding for the C library "libxml2".
Another one is "dm.xmlsec.binding", a binding for the C library
"libxmlsec".




More information about the Python-list mailing list