Module Expr Str Import alias alias ImportFrom alias alias alias alias alias alias alias alias alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str Call NameLoad AttributeLoad NameLoad attr Return Call NameLoad ListLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body If BoolOpAnd UnaryOpNot NameLoad AttributeLoad NameLoad attr body Continue If BoolOpAnd UnaryOpNot NameLoad Call AttributeLoad NameLoad attr NameLoad body Continue Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Return Call AttributeLoad Str attr BinOpAdd NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Raise Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str TryFinally body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpMod Str NameLoad Raise Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore TupleLoad Str Str Str Str Str Assign NameStore TupleLoad Str Str Str Str Str Str Str TryExcept body While Num body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Break If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Continue Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice Call NameLoad NameLoad attr For NameStore Call NameLoad ListLoad NameLoad body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index Num Assign NameStore Dict Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore SubscriptLoad NameLoad Slice Num body If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore NameLoad If BoolOpOr CompareIn NameLoad NameLoad CompareIn NameLoad NameLoad body Assign NameStore NameLoad If CompareIn NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call NameLoad Str NameLoad NameLoad Call NameLoad Str Call NameLoad Str NameLoad NameLoad Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str NameLoad NameLoad Call NameLoad Str Call NameLoad Str NameLoad If BoolOpAnd UnaryOpNot NameLoad AttributeLoad NameLoad attr body Continue If BoolOpAnd UnaryOpNot NameLoad Call AttributeLoad NameLoad attr NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Raise ExceptHandler type NameLoad body Expr Call NameLoad Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A Load / save to libwww-perl (LWP) format files.

Actually, the format is slightly extended from that used by LWP's
(libwww-perl's) HTTP::Cookies, to avoid losing some RFC 2965 information
not recorded by LWP.

It uses the version string "2.0", though really there isn't an LWP Cookies
2.0 format.  This indicates that there is extra information in here
(domain_dot and # port_spec) while still being compatible with
libwww-perl, I hope.

 N/A time re cookielib _warn_unhandled_exception FileCookieJar LoadError Cookie MISSING_FILENAME_TEXT join_header_words split_header_words iso2time time2isoz lwp_cookie_str N/A N/A cookie N/A N/A N/A Return string representation of Cookie in an the LWP cookie file format.

    Actually, the format is extended a bit -- see module docstring.

     N/A h N/A N/A N/A cookie name N/A cookie value N/A path N/A cookie path N/A domain N/A cookie domain N/A N/A N/A cookie port None N/A N/A N/A N/A h append N/A port N/A cookie port N/A N/A cookie path_specified N/A N/A N/A N/A h append N/A path_spec None N/A N/A cookie port_specified N/A N/A N/A N/A h append N/A port_spec None N/A N/A cookie domain_initial_dot N/A N/A N/A N/A h append N/A domain_dot None N/A N/A cookie secure N/A N/A N/A N/A h append N/A secure None N/A N/A cookie expires N/A N/A N/A N/A h append N/A expires N/A time2isoz N/A float N/A cookie expires N/A N/A cookie discard N/A N/A N/A N/A h append N/A discard None N/A N/A cookie comment N/A N/A N/A N/A h append N/A comment N/A cookie comment N/A N/A cookie comment_url N/A N/A N/A N/A h append N/A commenturl N/A cookie comment_url N/A keys N/A N/A N/A cookie _rest keys N/A N/A N/A keys sort N/A k keys N/A N/A N/A N/A h append N/A k N/A str N/A N/A cookie _rest N/A k N/A N/A N/A h append N/A version N/A str N/A cookie version N/A N/A join_header_words N/A h N/A LWPCookieJar N/A FileCookieJar N/A N/A 
    The LWPCookieJar saves a sequence of"Set-Cookie3" lines.
    "Set-Cookie3" is the format used by the libwww-perl libary, not known
    to be compatible with any browser, but which is easy to read and
    doesn't lose information about RFC 2965 cookies.

    Additional methods

    as_lwp_str(ignore_discard=True, ignore_expired=True)

     as_lwp_str N/A N/A self ignore_discard ignore_expires N/A True True N/A N/A Return cookies as a string of "
"-separated "Set-Cookie3" headers.

        ignore_discard and ignore_expires: see docstring for FileCookieJar.save

         N/A now N/A N/A time time N/A r N/A N/A cookie self N/A N/A N/A N/A ignore_discard N/A cookie discard N/A N/A N/A N/A N/A ignore_expires N/A N/A cookie is_expired now N/A N/A N/A N/A N/A r append N/A Set-Cookie3: %s N/A lwp_cookie_str cookie N/A N/A N/A join N/A r N/A N/A save N/A N/A self filename ignore_discard ignore_expires N/A None False False N/A N/A N/A filename None N/A N/A N/A N/A self filename None N/A N/A filename N/A self filename N/A N/A N/A ValueError MISSING_FILENAME_TEXT N/A f N/A open filename w N/A N/A N/A N/A N/A f write #LWP-Cookies-2.0
 N/A N/A N/A f write N/A N/A self as_lwp_str ignore_discard ignore_expires N/A N/A N/A N/A f close N/A _really_load N/A N/A self f filename ignore_discard ignore_expires N/A N/A N/A magic N/A N/A f readline N/A N/A N/A N/A re search N/A self magic_re magic N/A N/A msg N/A %r does not look like a Set-Cookie3 (LWP) format file filename N/A N/A LoadError msg N/A now N/A N/A time time N/A header Set-Cookie3: N/A boolean_attrs N/A port_spec path_spec domain_dot secure discard N/A value_attrs N/A version port path domain expires comment commenturl N/A N/A N/A 1 N/A N/A line N/A N/A f readline N/A N/A line N/A N/A N/A N/A N/A N/A line startswith header N/A N/A N/A line N/A N/A N/A line N/A N/A len header strip N/A data N/A split_header_words N/A line N/A N/A N/A name value N/A data N/A 0 N/A standard N/A N/A rest N/A N/A k boolean_attrs N/A N/A N/A standard N/A k False N/A N/A k v N/A data N/A 1 N/A N/A N/A k None N/A N/A lc N/A N/A k lower N/A N/A lc None N/A N/A N/A lc value_attrs N/A lc boolean_attrs N/A N/A k lc N/A N/A k boolean_attrs N/A N/A N/A v None N/A N/A v True N/A N/A standard N/A k v N/A N/A N/A k value_attrs N/A N/A N/A standard N/A k v N/A N/A N/A rest N/A k v N/A h N/A standard get N/A expires N/A h expires N/A discard N/A h discard N/A N/A expires None N/A N/A expires N/A iso2time expires N/A N/A expires None N/A N/A discard True N/A domain N/A h domain N/A domain_specified N/A N/A domain startswith . N/A c N/A Cookie N/A h version name value N/A h port N/A h port_spec domain domain_specified N/A h domain_dot N/A h path N/A h path_spec N/A h secure expires discard N/A h comment N/A h commenturl rest N/A N/A N/A ignore_discard N/A c discard N/A N/A N/A N/A N/A ignore_expires N/A N/A c is_expired now N/A N/A N/A N/A N/A self set_cookie c N/A N/A N/A IOError N/A N/A N/A N/A Exception N/A N/A N/A _warn_unhandled_exception N/A N/A LoadError N/A invalid Set-Cookie3 format file %r: %r N/A filename line N/A N/A