[issue9608] Re-phrase best way of using exceptions in doanddont.rst

R. David Murray report at bugs.python.org
Wed Sep 8 01:15:12 CEST 2010


R. David Murray <rdmurray at 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 <report at bugs.python.org>
<http://bugs.python.org/issue9608>
_______________________________________


More information about the Python-bugs-list mailing list