Alex Gaynor <alex.gaynor at gmail.com> added the comment: Why not use Py_EnterRecursiveCall? ---------- nosy: +alex _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue12017> _______________________________________