[issue28924] Inline PyEval_EvalFrameEx() in callers

STINNER Victor report at bugs.python.org
Thu Dec 15 03:03:01 EST 2016


STINNER Victor added the comment:

> It may break other debuggers like Python Tools for Visual Studio, though (+steve.dower for that).

Do you mean debuggers expecting that bytecode is run in PyEval_EvalFrameEx() rather than PyEval_EvalFrameDefault()? Can't we fix these debuggers?


> IMHO, inlining is best left to profiling optimizers.

The problem is that PGO compilation is not used by everyone yet. The patch is a minor enhancement to make sure that regular builds are also fast.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28924>
_______________________________________


More information about the Python-bugs-list mailing list