Message179990
| 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:35 | eric.araujo | set | recipients: + eric.araujo, asvetlov, py.user, python-dev |
| 2013-01-14 22:54:35 | eric.araujo | set | messageid: <1358204075.51.0.269569235179.issue16715@psf.upfronthosting.co.za> |
| 2013-01-14 22:54:35 | eric.araujo | link | issue16715 messages |
| 2013-01-14 22:54:35 | eric.araujo | create | |