Using a logging.Logger in a C extension

dieter dieter at handshake.de
Sat Oct 5 01:23:58 EDT 2019


Ian Pilcher <arequipeno at gmail.com> writes:
> I am working my way through writing a C extension, and I've realized
> that I need to log a few messages from the C code.

Have a look at "cython".

It significantly facilitates the realisation of C extensions,
drastically reduces risks to make something wrong
and makes it very easy to call back to Python.




More information about the Python-list mailing list