R. David Murray <rdmur...@bitdance.com> added the comment: Here is a more extensive rewrite that I think makes things clearer and (I hope) makes the text read better. I also updated the preceding section per the confusion expressed in issue 8518.
Note that this patch is somewhat Python3 specific, since it assumes that all non-BaseException exceptions inherit from Exception. If someone wants to backport it to 2.7 a paragraph or footnote should be added about that problem. Opinions welcome. ---------- nosy: +r.david.murray Added file: http://bugs.python.org/file18791/doanddont-except.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9608> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com