[scikit-learn] How can I enable line tracing for cython modules.

Alejandro Javier Peralta Frias alejandro.peralta at mercadolibre.com
Thu Sep 12 08:23:03 EDT 2019


Hello all,

To enable cython tracing (in particular I want to line trace neighbors
module) I understand that I have to recompile the cython modules with
CYTHON_TRACE=1 but I'm not sure where should I set this.

Should I use:

# distutils: define_macros=CYTHON_TRACE_NOGIL=1


In the files I want to trace?

Regards,
-- 
Ale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20190912/0377329b/attachment.html>


More information about the scikit-learn mailing list