Vladimir Ryabtsev <greatvo...@gmail.com> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42179> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com