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 eric.araujo
Recipients asvetlov, eric.araujo, py.user, python-dev
Date 2013-01-14.22:54:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358204075.51.0.269569235179.issue16715@psf.upfronthosting.co.za>
In-reply-to
Content
Source code says:

# derives from OSError for backwards-compatibility with Python 2.4.0
class LoadError(OSError): pass

In 3.0, LoadError could have been made a direct subclass of Exception.  Now it’s too late, but a best practice IMO would still be to write LoadError in all new code.

This makes no practical difference, unless test_cookiejar does not check that LoadError is properly raised and caught at the right places.  In that case, it may be a little more future-proof to follow py-user’s advice.
History
Date User Action Args
2013-01-14 22:54:35eric.araujosetrecipients: + eric.araujo, asvetlov, py.user, python-dev
2013-01-14 22:54:35eric.araujosetmessageid: <1358204075.51.0.269569235179.issue16715@psf.upfronthosting.co.za>
2013-01-14 22:54:35eric.araujolinkissue16715 messages
2013-01-14 22:54:35eric.araujocreate