Georg Brandl <georg at python.org> added the comment: I think you need to clear the exception again before returning. _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue3653> _______________________________________