Terry J. Reedy added the comment: > What about the second line? What second line? > It doesn't catch any exception It? I do not understand your point. Your example works as documented, including "any unexpected exception is an error".
Actually, that should be 'any exception' as none is expected. Also, "additional checks on the exception raised:" should be 'warning caught' ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18573> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com