R. David Murray <rdmur...@bitdance.com> added the comment:

Here is another edit pass, incorporating Éric's suggestions and adding some 
additional tweaks.  In particular, I eliminated the anti-pattern of catching 
(IOError, OSError) in one of the earlier examples in favor of the correct 
EnvironmentError, and also improved the error message generated in that case :)

----------
Added file: http://bugs.python.org/file18843/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

Reply via email to