Author terry.reedy
Recipients C19, demian.brecht, docs@python, r.david.murray, terry.reedy
Date 2013-02-26.05:53:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
+class FileCookieJar(CookieJar, metaclass=ABCMeta):
+    """Abstract Base Class for any file-based CookieJar."""

Is it just me or is it a bit strange to derive an abstract base class from a concrete class? Is CookieJar meant to be directly used?

+        with open(self.filename) as f:
+            magic = f.readline()
+            if not
+                f.close()
+                raise LoadError(
+                    "%r does not look like a Netscape format cookies 

f.close() seems not needed as doing that in __exit__ as a major point of with open... statements.
Date User Action Args
2013-02-26 05:53:13terry.reedysetrecipients: + terry.reedy, r.david.murray, docs@python, C19, demian.brecht
2013-02-26 05:53:13terry.reedysetmessageid: <>
2013-02-26 05:53:13terry.reedylinkissue16942 messages
2013-02-26 05:53:13terry.reedycreate