Antoine Pitrou <pitrou at free.fr> added the comment: You can't get the exception before it is even raised... ---------- nosy: +pitrou _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue7859> _______________________________________