[Python-Dev] Python 3 optimizations continued...
Cesare Di Mauro
cesare.di.mauro at gmail.com
Thu Sep 1 14:23:04 CEST 2011
2011/9/1 Ned Batchelder <ned at nedbatchelder.com>
> When the switchover to the new instruction format happens, what happens to
> sys.settrace() tracing? Will it report the same sequence of line numbers?
> For a small but important class of program executions, this is more
> important than speed.
>
> --Ned
>
A simple solution: when tracing is enabled, the new instruction format will
never be executed (and information tracking disabled as well).
Regards,
Cesare
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110901/d672b469/attachment.html>
More information about the Python-Dev
mailing list