Antoine Pitrou <pitrou at free.fr> added the comment: By the way, it has to be done in C since tb_next can't be modified from Python code. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue15110> _______________________________________