This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gwk
Recipients gwk, ncoghlan, nedbat, njs, serhiy.storchaka
Date 2017-09-28.12:40:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This patch moves the new opcode tracing added in commit 5a85167 to happen after frame->f_lineno is updated. With this patch, when both f_trace_lines and f_trace_opcodes are enabled the trace function will see the same line number for both the 'line' and 'opcode' events.

A side effect of this patch is that the order of event emission has been switched; 'line' now happens before 'opcode'. Maintaining the current order would require more elaborate logic.
Date User Action Args
2017-09-28 12:40:03gwksetrecipients: + gwk, ncoghlan, nedbat, njs, serhiy.storchaka
2017-09-28 12:40:03gwksetmessageid: <>
2017-09-28 12:40:03gwklinkissue31618 messages
2017-09-28 12:40:03gwkcreate