This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Vladimir Ryabtsev
Recipients Vladimir Ryabtsev, docs@python, eric.araujo, maxking, methane, rhettinger
Date 2020-11-05.21:17:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604611046.39.0.513204836202.issue42179@roundup.psfhosted.org>
In-reply-to
Content
Also, the choice of the exception type in the example looks not very apt: you raise "IOError" but the traceback message says "OSError" (which is due to strange design decision "IOError = OSError"). For the tutorial, I would choose an exception that does not disguise as another exception.
History
Date User Action Args
2020-11-05 21:17:26Vladimir Ryabtsevsetrecipients: + Vladimir Ryabtsev, rhettinger, eric.araujo, methane, docs@python, maxking
2020-11-05 21:17:26Vladimir Ryabtsevsetmessageid: <1604611046.39.0.513204836202.issue42179@roundup.psfhosted.org>
2020-11-05 21:17:26Vladimir Ryabtsevlinkissue42179 messages
2020-11-05 21:17:26Vladimir Ryabtsevcreate