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 py.user
Recipients asvetlov, py.user, python-dev
Date 2013-01-08.23:49:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357688967.7.0.0581684235023.issue16715@psf.upfronthosting.co.za>
In-reply-to
Content
found a typo (removed LoadError)

commit 80f2b1273e8c0e1a28fabe537ae9c5acbbcee187
Author: Andrew Svetlov <andrew.svetlov@gmail.com>
Date:   Tue Dec 25 16:47:37 2012 +0200

    Replace IOError with OSError (#16715)
    
...

diff --git a/Lib/http/cookiejar.py b/Lib/http/cookiejar.py
index a77dc3f..7928e9b 100644
--- a/Lib/http/cookiejar.py
+++ b/Lib/http/cookiejar.py

...

@@ -1786,7 +1786,7 @@ class FileCookieJar(CookieJar):
             self._cookies = {}
             try:
                 self.load(filename, ignore_discard, ignore_expires)
-            except (LoadError, IOError):
+            except OSError:
                 self._cookies = old_state
                 raise
History
Date User Action Args
2013-01-08 23:49:27py.usersetrecipients: + py.user, asvetlov, python-dev
2013-01-08 23:49:27py.usersetmessageid: <1357688967.7.0.0581684235023.issue16715@psf.upfronthosting.co.za>
2013-01-08 23:49:27py.userlinkissue16715 messages
2013-01-08 23:49:27py.usercreate