Georg Brandl <georg at python.org> added the comment: PyErr_Format sets the new exception and returns NULL though. _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue3653> _______________________________________