[Python-Dev] Re: sys.trace without alert or remove trace by C

2020-03-27 Thread Leandro Müller
Hello Victor. Thank you. The tips help me a lot. I think the tip needs to stay inside on document to reduce time to seach soluction. Thanks. Att. Leandro Müller De: Victor Stinner Enviado: Thursday, March 26, 2020 7:08:42 PM Para: Leandro Müller Cc: python-dev@p

[Python-Dev] Re: sys.trace without alert or remove trace by C

2020-03-26 Thread Victor Stinner
Hi, I understand that you are looking for PyEval_SetTrace(NULL, NULL) to unregister a trace function set previously. Maybe the documentation should be enhanced to explain that. Do you want to propose a PR to enhance the doc? https://docs.python.org/dev/c-api/init.html?highlight=pyeval_settrace#c