FileCookieJar has not attribute "_self_load"

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sat Jan 17 10:48:35 CET 2009


En Fri, 16 Jan 2009 17:19:47 -0200, escribiste en el grupo
gmane.comp.python.general

> I am trying to make a testing script to load/save cookies to a file
> with FileCookieJar, but it results in this error: FileCookieJar has
> not attribute "_self_load"

FileCookieJar is an abstract class, although it isn't clear at all from
the documentation. (You may want to file a documentation bug at
http://bugs.python.org)
You must instantiate a specific subclass (like MozillaCookieJar), which
determines the actual file format used.

-- 
Gabriel Genellina




More information about the Python-list mailing list