STINNER Victor added the comment: It seems like subfunc.patch approach using the "no inline" attribute helps. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28870> _______________________________________