Xavier de Gaye added the comment:

With the previous patch, after the signal arrives and the first call to 
PyErr_CheckSignals, PyErr_CheckSignals is called for each bytecode processed in 
the eval loop
of the tracing function (and the eval loop of functions called by the tracing 
function, and also functions called in the other threads).
This is annoying. The attached patch fixes this and adds a test case.

----------
Added file: http://bugs.python.org/file34082/tracing_signals_2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20601>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to