config root man

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

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/email/_parseaddr.pyo

łň
h”Rc@stdZddddgZddkZdZdZd	Zd
ddd
dddddddddddddddddddd gZd!d"d#d$d%d&d'gZhd(d)<d(d*<d(d+<d(d,<d-d.<d/d0<d1d2<d-d3<d4d5<d1d6<d7d8<d4d9<d:d;<d7d<<Zd=„Z	d>„Z
d?„Zd@„ZdAfdB„ƒYZ
dCe
fdD„ƒYZdS(EscEmail address parsing code.

Lifted directly from rfc822.py.  This should eventually be rewritten.
t	mktime_tzt	parsedatetparsedate_tztquotei˙˙˙˙Nt ts, tjantfebtmartaprtmaytjuntjultaugtseptocttnovtdectjanuarytfebruarytmarchtapriltjunetjulytaugustt	septembertoctobertnovembertdecembertmonttuetwedtthutfritsattsunitUTtUTCtGMTtZipţ˙˙tASTiÔţ˙˙tADTiţ˙˙tESTtEDTi¨ý˙˙tCSTtCDTiDý˙˙tMSTtMDTiŕü˙˙tPSTtPDTcCs|iƒ}|didƒp|diƒtjo|d=n;|didƒ}|djo|d|d|d<nt|ƒdjo<|didƒ}t|ƒdjo||d}qËnt|ƒdjoW|d}|idƒ}|djo || ||dg|d)q5|idƒnt|ƒd	jodSn|d	 }|\}}}}}|iƒ}|t	jo,||iƒ}}|t	jodSq´nt	i
|ƒd}|d
jo|d
8}n|ddjo|d }n|idƒ}|djo||}}n|ddjo|d }n|diƒp||}}n|ddjo|d }n|idƒ}t|ƒd
jo|\}	}
d}n+t|ƒdjo|\}	}
}ndSy@t|ƒ}t|ƒ}t|	ƒ}	t|
ƒ}
t|ƒ}Wnt
j
odSnXd}|iƒ}ti|ƒot|}n'yt|ƒ}Wnt
j
onX|oF|djod}
|}nd}
|
|dd|dd}n||||	|
|ddd|f
S(sQConvert a date string to a time tuple.

    Accounts for military timezones.
    it,iit-it+Riii˙˙˙˙t:it0idii<N(tsplittendswithtlowert	_daynamestrfindtlentfindtappendtNonet_monthnamestindextisdigittintt
ValueErrortuppert
_timezonesthas_key(tdatatitstufftstddtmmtyyttmttztthhttmmttssttzoffsetttzsign((s,/usr/local/lib/python2.5/email/_parseaddr.pyR-sŠ+


 





	
"cCs0t|ƒ}t|tƒo|d Sn|SdS(s&Convert a time string to a time tuple.i	N(Rt
isinstancettuple(RHtt((s,/usr/local/lib/python2.5/email/_parseaddr.pyRƒscCsX|ddjoti|d dƒSn+ti|d dƒ}||dtiSdS(sCTurn a 10-tuple as returned by parsedate_tz() into a UTC timestamp.i	ii˙˙˙˙iN(i˙˙˙˙(i(R?ttimetmktimettimezone(RHRX((s,/usr/local/lib/python2.5/email/_parseaddr.pyRŒscCs|iddƒiddƒS(sAdd quotes around a string.s\s\\t"s\"(treplace(tstr((s,/usr/local/lib/python2.5/email/_parseaddr.pyR–st
AddrlistClasscBs‰eZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	e
d„Zd	„Zd
„Z
d„Zdd„Zd
„ZRS(sţAddress parser class by Ben Escoto.

    To understand what this class does, it helps to have a copy of RFC 2822 in
    front of you.

    Note: this class interface is deprecated and may be removed in the future.
    Use rfc822.AddressList instead.
    cCsd|_d|_d|_d|_|i|i|_|i|i|i|_|iiddƒ|_||_g|_	dS(sƒInitialize a new instance.

        `field' is an unparsed address header field, containing
        one or more addresses.
        s()<>@,:;."[]is 	s
t.RN(
tspecialstpostLWStCRtFWStatomendsR]t
phraseendstfieldtcommentlist(tselfRh((s,/usr/local/lib/python2.5/email/_parseaddr.pyt__init__Ľs					cCsˆx|it|iƒjog|i|i|idjo|id7_q|i|idjo|ii|iƒƒqPqWdS(s*Parse up to the start of the next address.s

it(N(RbR<RhRcRiR>t
getcomment(Rj((s,/usr/local/lib/python2.5/email/_parseaddr.pytgotonext¸scCsYg}xL|it|iƒjo2|iƒ}|o||7}q	|idƒq	W|S(sVParse all addresses.

        Returns a list containing all of the addresses.
        R(RR(RbR<Rht
getaddressR>(Rjtresulttad((s,/usr/local/lib/python2.5/email/_parseaddr.pytgetaddrlistÂscCsśg|_|iƒ|i}|i}|iƒ}|iƒg}|it|iƒjo.|o#ti|iƒ|dfg}qenŢ|i|idjo=||_||_|iƒ}ti|iƒ|fg}nŠ|i|idjožg}t|iƒ}|id7_xK|it|iƒjoY|iƒ|i|jo+|i|idjo|id7_Pn||i	ƒ}qWnŐ|i|idjof|i
ƒ}|io4ti|ƒddi|iƒd	|fg}qeti|ƒ|fg}nX|o#ti|iƒ|dfg}n.|i|i|ijo|id7_n|iƒ|it|iƒjo*|i|id
jo|id7_n|S(sParse the next address.is.@R5it;t<s (Rt)R2(RiRnRbt
getphraselistR<RhtSPACEtjointgetaddrspecRotgetrouteaddrRa(Rjtoldpostoldcltplistt
returnlisttaddrspectfieldlent	routeaddr((s,/usr/local/lib/python2.5/email/_parseaddr.pyRoĐsN	
		
'		
'
4#
0cCs/|i|idjodSnt}|id7_|iƒd}xä|it|iƒjoĘ|o|iƒt}n˘|i|idjo|id7_Pnw|i|idjo|id7_t}nG|i|idjo|id7_n|iƒ}|id7_P|iƒqGW|S(sParse a route address (Return-path value).

        This method just skips all the route stuff and returns the addrspec.
        RtNiRt>t@R5(RhRbtFalseRnR<t	getdomaintTrueRy(Rjtexpectroutetadlist((s,/usr/local/lib/python2.5/email/_parseaddr.pyRzs0



cCsTg}|iƒxĂ|it|iƒjoŠ|i|idjo |idƒ|id7_ne|i|idjo|id|iƒƒn3|i|i|ijoPn|i|iƒƒ|iƒqW|it|iƒjp|i|idjoti	|ƒSn|idƒ|id7_|iƒti	|ƒ|i
ƒS(sParse an RFC 2822 addr-spec.R`iR\s"%s"Rƒ(RnRbR<RhR>tgetquoteRftgetatomtEMPTYSTRINGRxR…(Rjtaslist((s,/usr/local/lib/python2.5/email/_parseaddr.pyRy+s&

0

cCs)g}x|it|iƒjoů|i|i|ijo|id7_q	|i|idjo|ii|iƒƒq	|i|idjo|i|iƒƒq	|i|idjo |id7_|idƒq	|i|i|ijoPq	|i|i	ƒƒq	Wt
i|ƒS(s-Get the complete domain name from an address.iRlt[R`(RbR<RhRcRiR>RmtgetdomainliteralRfRŠR‹Rx(Rjtsdlist((s,/usr/local/lib/python2.5/email/_parseaddr.pyR…Ds cCs=|i|i|jodSndg}t}|id7_xđ|it|iƒjoÖ|o!|i|i|iƒt}nœ|i|i|jo|id7_Pnq|o1|i|idjo|i|iƒƒq@n9|i|idjo
t}n|i|i|iƒ|id7_q@Wti|ƒS(sćParse a header fragment delimited by special characters.

        `beginchar' is the start character for the fragment.
        If self is not looking at an instance of `beginchar' then
        getdelimited returns the empty string.

        `endchars' is a sequence of allowable end-delimiting characters.
        Parsing stops when one of these is encountered.

        If `allowcomments' is non-zero, embedded RFC 2822 comments are allowed
        within the parsed fragment.
        RiRls\(	RhRbR„R<R>RmR†R‹Rx(Rjt	beginchartendcharst
allowcommentstslistR((s,/usr/local/lib/python2.5/email/_parseaddr.pytgetdelimitedWs*
	

cCs|iddtƒS(s1Get a quote-delimited fragment from self's field.R\s"
(R”R„(Rj((s,/usr/local/lib/python2.5/email/_parseaddr.pyR‰|scCs|iddtƒS(s7Get a parenthesis-delimited fragment from self's field.Rls)
(R”R†(Rj((s,/usr/local/lib/python2.5/email/_parseaddr.pyRm€scCsd|iddtƒS(s!Parse an RFC 2822 domain-literal.s[%s]Rs]
(R”R„(Rj((s,/usr/local/lib/python2.5/email/_parseaddr.pyRŽ„scCs“dg}|djo
|i}nx`|it|iƒjoF|i|i|joPn|i|i|iƒ|id7_q&Wti|ƒS(sParse an RFC 2822 atom.

        Optional atomends specifies a different set of end token delimiters
        (the default is to use self.atomends).  This is used e.g. in
        getphraselist() since phrase endings must not include the `.' (which
        is legal in phrases).RiN(R?RfRbR<RhR>R‹Rx(RjRftatomlist((s,/usr/local/lib/python2.5/email/_parseaddr.pyRŠˆs	

cCsďg}xâ|it|iƒjoČ|i|i|ijo|id7_q	|i|idjo|i|iƒƒq	|i|idjo|ii|iƒƒq	|i|i|ijoPq	|i|i	|iƒƒq	W|S(sýParse a sequence of RFC 2822 phrases.

        A phrase is a sequence of words, which are in turn either RFC 2822
        atoms or quoted-strings.  Phrases are canonicalized by squeezing all
        runs of continuous whitespace into one space.
        iR\Rl(
RbR<RhReR>R‰RiRmRgRŠ(RjR}((s,/usr/local/lib/python2.5/email/_parseaddr.pyRvœsN(t__name__t
__module__t__doc__RkRnRrRoRzRyR…R†R”R‰RmRŽR?RŠRv(((s,/usr/local/lib/python2.5/email/_parseaddr.pyR_›s		
		;	 		%			tAddressListcBsMeZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	RS(s@An AddressList encapsulates a list of parsed RFC 2822 addresses.cCs7ti||ƒ|o|iƒ|_n
g|_dS(N(R_RkRrtaddresslist(RjRh((s,/usr/local/lib/python2.5/email/_parseaddr.pyRkľscCs
t|iƒS(N(R<Rš(Rj((s,/usr/local/lib/python2.5/email/_parseaddr.pyt__len__źscCsUtdƒ}|i|_x5|iD]*}||ijo|ii|ƒq#q#W|S(N(R™R?RšR>(Rjtothertnewaddrtx((s,/usr/local/lib/python2.5/email/_parseaddr.pyt__add__żs

cCs<x5|iD]*}||ijo|ii|ƒq
q
W|S(N(RšR>(RjRœRž((s,/usr/local/lib/python2.5/email/_parseaddr.pyt__iadd__Čs

cCsHtdƒ}x5|iD]*}||ijo|ii|ƒqqW|S(N(R™R?RšR>(RjRœRRž((s,/usr/local/lib/python2.5/email/_parseaddr.pyt__sub__Ďs
cCs<x5|iD]*}||ijo|ii|ƒq
q
W|S(N(Rštremove(RjRœRž((s,/usr/local/lib/python2.5/email/_parseaddr.pyt__isub__×s

cCs|i|S(N(Rš(RjRA((s,/usr/local/lib/python2.5/email/_parseaddr.pyt__getitem__Ţs(
R–R—R˜RkR›RŸR RĄRŁR¤(((s,/usr/local/lib/python2.5/email/_parseaddr.pyR™łs							(R˜t__all__RYRwR‹t
COMMASPACER@R:RFRRRRR_R™(((s,/usr/local/lib/python2.5/email/_parseaddr.pys<module>s4	(	V			
	˙

Man Man