Re: [Python-Dev] setprofile and settrace inconsistency

2012-06-01 Thread Terry Reedy
On 6/1/2012 11:22 AM, Alon Horev wrote: your thoughts? Your post on python-ideas is the right place for this and discussion should be concentrated there. -- Terry Jan Reedy ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/

[Python-Dev] setprofile and settrace inconsistency

2012-06-01 Thread Alon Horev
Hi, When setting a trace function with settrace, the trace function when called with a new scope can return another trace function or None, indicating the inner scope should not be traced. I used settrace for some time but calling the trace function for every line of code is a performance killer.

[Python-Dev] setprofile and settrace inconsistency

2012-06-01 Thread Alon Horev
Hi, When setting a trace function with settrace, the trace function when called with a new scope can return another trace function or None, indicating the inner scope should not be traced. I used settrace for some time but calling the trace function for every line of code is a performance killer.