penguin_wwy <940375...@qq.com> added the comment:

This interface can dump code at any time, not just at compile time.

Can observe the comparison before and after dynamic optimization(eg. specialize 
and super instr), and can also observe the instructions actually executed.

Another situation is to execute the dump by command line in gdb/lldb(eg. 
`expression _PyCode_DebugDump(co, "test")`), when debugging.

----------

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

Reply via email to