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 <[email protected]> Enviado: Thursday, March 26, 2020 7:08:42 PM Para: Leandro Müller <[email protected]> Cc: [email protected] <[email protected]> Assunto: Re: [Python-Dev] sys.trace without alert or remove trace by C 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.PyEval_SetTrace Victor Le jeu. 26 mars 2020 à 22:47, Leandro Müller <[email protected]> a écrit : > > Hello. > I need to remove the trace on thread, but I tried to run sys.settrace(None) > and return alert on console. > I didn't find any soluction to remove by C, example PyEval_SetTrace(Py_None, > obj), but it not works. > > Are there any soluction to remove without alert or by C? > C is better for me. > > Thanks. > > Att. > > Leandro Müller > > _______________________________________________ > Python-Dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/HJNC3UOXDBOYF6XJ3MFJX647WKCICK7P/ > Code of Conduct: http://python.org/psf/codeofconduct/ -- Night gathers, and now my watch begins. It shall not end until my death.
_______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/YPL636CCLIRXCJ7VXSFMVAN262FJYQ22/ Code of Conduct: http://python.org/psf/codeofconduct/
