[Cython] About using Python's logging facility

Mohamed Lrhazi lrhazi at gmail.com
Sat May 16 01:22:45 CEST 2009


Hello,

I did an "import logging" in my Cython code, then proceeded to replace
all my "print" debugging statements with logger.debug(), and then some
logger.info(), and then stopped to think...

How bad is it for performance to include such frequent calls to a
standard Python module? I don't understand how Cython works well
enough, Please clarify.

Thanks a lot.
Mohamed.


More information about the Cython-dev mailing list