config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/_LWPCookieJar.pyo

³ò
h”Rc@sdZddkZddkZddklZlZlZlZlZl	Z	l
Z
lZlZd„Z
defd„ƒYZdS(sµ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.

iÿÿÿÿN(	t_warn_unhandled_exceptiont
FileCookieJart	LoadErrortCookietMISSING_FILENAME_TEXTtjoin_header_wordstsplit_header_wordstiso2timet	time2isozcCsÉ|i|ifd|ifd|ifg}|id
j	o|id|ifƒn|io|idƒn|io|idƒn|i	o|idƒn|i
o|idƒn|io&|idtt
|iƒƒfƒn|io|idƒn|io|id
|ifƒn|io|id|ifƒn|iiƒ}|iƒx.|D]&}|i|t|i|ƒfƒqvW|idt|iƒfƒt|gƒS(s“Return string representation of Cookie in an the LWP cookie file format.

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

    tpathtdomaintportt	path_spect	port_spect
domain_dottsecuretexpirestdiscardtcommentt
commenturltversionN(RN(R
N(RN(ssecureN(sdiscardN(tnametvalueR	R
RtNonetappendtpath_specifiedtport_specifiedtdomain_initial_dotRRRtfloatRRtcomment_urlt_resttkeystsorttstrRR(tcookiethRtk((s)/usr/local/lib/python2.5/_LWPCookieJar.pytlwp_cookie_strs:




	



$tLWPCookieJarcBs8eZdZeed„Zdeed„Zd„ZRS(sY
    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)

    cCs†tiƒ}g}x]|D]U}|o|ioqn|o|i|ƒoqn|idt|ƒƒqWdi|dgƒS(sReturn cookies as a string of "
"-separated "Set-Cookie3" headers.

        ignore_discard and ignore_expires: see docstring for FileCookieJar.save

        sSet-Cookie3: %ss
t(ttimeRt
is_expiredRR%tjoin(tselftignore_discardtignore_expirestnowtrR"((s)/usr/local/lib/python2.5/_LWPCookieJar.pyt
as_lwp_str>scCs…|djo-|idj	o
|i}q:ttƒ‚nt|dƒ}z*|idƒ|i|i||ƒƒWd|iƒXdS(Ntws#LWP-Cookies-2.0
(Rtfilenamet
ValueErrorRtopentwriteR0tclose(R+R2R,R-tf((s)/usr/local/lib/python2.5/_LWPCookieJar.pytsaveNs


cCs)|iƒ}ti|i|ƒpd|}t|ƒ‚ntiƒ}d}d}	d}
yƒx||iƒ}|djoPn|i|ƒpq`n|t|ƒiƒ}x+t	|gƒD]}|d\}
}h}h}x|	D]}t
||<qäWx¶|dD]ª\}}|dj	o|iƒ}nd}||
jp
||	jo
|}n||	jo%|djo
t
}n|||<q||
jo|||<q|||<qW|i}|dƒ}|dƒ}|dj	ot|ƒ}n|djo
t
}n|dƒ}|idƒ}t|dƒ|
||d	ƒ|dƒ|||dƒ|d
ƒ|dƒ|dƒ|||d
ƒ|dƒ|ƒ}|o|ioq»n|o|i|ƒoq»n|i|ƒq»Wq`WnEtj
o
‚n1tj
o$tƒtd||fƒ‚nXdS(Ns5%r does not look like a Set-Cookie3 (LWP) format filesSet-Cookie3:R
RRRRRRR	R
RRRR'iit.s&invalid Set-Cookie3 format file %r: %r(s	port_specs	path_specs
domain_dotssecuresdiscard(sversionsportspathsdomainsexpiresscomments
commenturl(treadlinetretsearchtmagic_reRR(t
startswithtlentstripRtFalseRtlowertTruetgetRRRR)t
set_cookietIOErrort	ExceptionR(R+R7R2R,R-tmagictmsgR.theadert
boolean_attrstvalue_attrstlinetdataRRtstandardtrestR$tvtlcR#RRR
tdomain_specifiedtc((s)/usr/local/lib/python2.5/_LWPCookieJar.pyt_really_load]s’






	


				N(	t__name__t
__module__t__doc__RCR0RRAR8RU(((s)/usr/local/lib/python2.5/_LWPCookieJar.pyR&1s(RXR(R;t	cookielibRRRRRRRRRR%R&(((s)/usr/local/lib/python2.5/_LWPCookieJar.pys<module>s@	

Man Man