[Python-Dev] seeing off SET_LINENO

Skip Montanaro skip@pobox.com
Fri, 2 Aug 2002 11:07:44 -0500


    Michael> Does anyone have any better ideas for not generating 'line'
    Michael> trace events in the epilogue?

How about adding a field to the code object which holds the byte code offset
of the epilogue?  The code which emits line events (where is that, btw?)
would not emit if the current instruction offset is >= the epilogue offset.

Skip