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/utils.pyc

³ò
h”Rc@s dZddddddddd	d
ddgZd
dkZd
dkZd
dkZd
dkZd
dkZd
dkZd
dkZd
dk	Z	d
dk
lZd
dkl
Z
d
dklZd
dklZd
dklZd
dklZd
dklZd
dklZlZdZdZdZdZdZei dƒZ!ei dƒZ"d„Z#d„Z$d „Z%d!„Z&d"„Z'ei d#ei(ei)BƒZ*de,e,d$„Z-dd%„Z.d&„Zd'„Zd(„Z/d)„Z0d*„Z1ddd+„Z2ei d,ƒZ3d-„Z4d.d/d0„Z5dS(1sMiscellaneous utilities.tcollapse_rfc2231_valuet
decode_paramstdecode_rfc2231tencode_rfc2231t
formataddrt
formatdatetgetaddressest
make_msgidt	parseaddrt	parsedatetparsedate_tztunquoteiÿÿÿÿN(tStringIO(tquote(tAddressList(t	mktime_tz(R	(R
(tdecodestring(t_bencodet_qencodes, tus
t's[][\\()<>@,:;".]s	[][\\()"]cCs|S(N((ts((s'/usr/local/lib/python2.5/email/utils.pyt	_identity:scCsO|p|Snti|ƒ}|idƒo|idƒo|d Sn|S(Ns
iÿÿÿÿ(tbase64Rtendswith(Rtvalue((s'/usr/local/lib/python2.5/email/utils.pyt_bdecode>s!cCs.tidt|ƒ}tidt|ƒ}|S(s+Replace all line-ending characters with 
.s	(?<!\r)\ns\r(?!\n)(tretsubtCRLF(R((s'/usr/local/lib/python2.5/email/utils.pytfix_eolsJscCsa|\}}|oJd}ti|ƒo
d}ntid|ƒ}d||||fSn|S(sThe inverse of parseaddr(), this takes a 2-tuple of the form
    (realname, email_address) and returns the string value suitable
    for an RFC 2822 From, To or Cc header.

    If the first element of pair is false, then the second element is
    returned unmodified.
    Rt"s\\\g<0>s%s%s%s <%s>(t
specialsretsearcht	escapesreR(tpairtnametaddresstquotes((s'/usr/local/lib/python2.5/email/utils.pyRTs
cCs"ti|ƒ}t|ƒ}|iS(s7Return a list of (REALNAME, EMAIL) for each fieldvalue.(t
COMMASPACEtjoint_AddressListtaddresslist(tfieldvaluestallta((s'/usr/local/lib/python2.5/email/utils.pyRgss_
  =\?                   # literal =?
  (?P<charset>[^?]*?)   # non-greedy up to the next ? is the charset
  \?                    # literal ?
  (?P<encoding>[qb])    # either a "q" or a "b", case insensitive
  \?                    # literal ?
  (?P<atom>.*?)         # non-greedy up to the next ?= is the atom
  \?=                   # literal ?=
  c	CsX|d$jotiƒ}n|oti|ƒ}tio|do
ti}n
ti}tt|ƒdƒ\}}|djo
d}nd}d|||df}n'ti|ƒ}|o
d}nd	}d
ddd
ddddg|d|dddddddddddddg|d d |d|d!|d"|d#|fS(%sƒReturns a date string as specified by RFC 2822, e.g.:

    Fri, 09 Nov 2001 01:08:47 -0000

    Optional timeval if given is a floating point time value as accepted by
    gmtime() and localtime(), otherwise the current time is used.

    Optional localtime is a flag that when True, interprets timeval, and
    returns a date relative to the local timezone instead of UTC, properly
    taking daylight savings time into account.

    Optional argument usegmt means that the timezone is written out as
    an ascii string, not numeric one (so "GMT" instead of "+0000"). This
    is needed for HTTP, and is only used when localtime==False.
    iÿÿÿÿiit-t+s
%s%02d%02di<tGMTs-0000s"%s, %02d %s %04d %02d:%02d:%02d %stMontTuetWedtThutFritSattSuniitJantFebtMartAprtMaytJuntJultAugtSeptOcttNovtDeciiiiN(	tNonettimet	localtimetdaylighttaltzonettimezonetdivmodtabstgmtime(	ttimevalRFtusegmttnowtoffsetthourstminutestsigntzone((s'/usr/local/lib/python2.5/email/utils.pyR{s.

	


 !cCsŒtiƒ}tidti|ƒƒ}tiƒ}tidƒ}|djo
d}nd|}ti	ƒ}d|||||f}|S(sèReturns a string suitable for RFC 2822 compliant Message-ID, e.g:

    <20020201195627.33539.96671@nightshade.la.mastaler.com>

    Optional idstring if given is a string used to strengthen the
    uniqueness of the message id.
    s%Y%m%d%H%M%Si †Rt.s<%s.%s.%s%s@%s>N(
REtstrftimeRLtostgetpidtrandomt	randrangeRDtsockettgetfqdn(tidstringRMtutcdatetpidtrandinttidhosttmsgid((s'/usr/local/lib/python2.5/email/utils.pyR°s


cCs|pdSnt|ƒS(N(RDt
_parsedate(tdata((s'/usr/local/lib/python2.5/email/utils.pyR	ÉscCs|pdSnt|ƒS(N(RDt
_parsedate_tz(Rd((s'/usr/local/lib/python2.5/email/utils.pyR
ÏscCs&t|ƒi}|pdSn|dS(NRi(RR(R)R*(taddrtaddrs((s'/usr/local/lib/python2.5/email/utils.pyRÕscCs‘t|ƒdjoz|idƒo7|idƒo'|dd!iddƒiddƒSn|idƒo|idƒo|dd!Sqn|S(	sRemove quotes from a string.iRiÿÿÿÿs\\s\s\"t<t>(tlent
startswithRtreplace(tstr((s'/usr/local/lib/python2.5/email/utils.pyRÝs ' cCs:|itdƒ}t|ƒdjodd|fSn|S(s#Decode string according to RFC 2231iN(tsplittTICKRjRD(Rtparts((s'/usr/local/lib/python2.5/email/utils.pyRéscCskddk}|i|ddƒ}|djo|djo|Sn|djo
d}nd|||fS(sÜEncode string according to RFC 2231.

    If neither charset nor language is given, then s is returned as-is.  If
    charset is given but not language, the string is encoded using the empty
    string for language.
    iÿÿÿÿNtsafeRs%s'%s'%s(turllibR
RD(RtcharsettlanguageRr((s'/usr/local/lib/python2.5/email/utils.pyRñs

s&^(?P<name>\w+)\*((?P<num>[0-9]+)\*?)?$c

Cs|}g}h}|idƒ\}}|i||fƒxÛ|oÓ|idƒ\}}|idƒo
t}nt}t|ƒ}ti|ƒ}|o[|iddƒ\}}|dj	ot
|ƒ}n|i|gƒi|||fƒq>|i|dt|ƒfƒq>W|oêxç|i
ƒD]Õ\}}g}t}	|iƒxD|D]<\}}
}|oti|
ƒ}
t}	n|i|
ƒqVWtti|ƒƒ}|	o9t|ƒ\}}}|i|||d|ffƒq-|i|d|fƒq-Wn|S(sDecode parameters list according to RFC 2231.

    params is a sequence of 2-tuples containing (param name, string value).
    it*R$tnums"%s"N(tpoptappendRtTruetFalseRtrfc2231_continuationtmatchtgroupRDtintt
setdefaultR
titemstsortRrtEMPTYSTRINGR(R(
tparamst
new_paramstrfc2231_paramsR$RtencodedtmoRvt
continuationstextendedRRsRt((s'/usr/local/lib/python2.5/email/utils.pyRsJ

&"


$Rlsus-asciicCs}t|tƒo_t|dƒ}|dpd}yt|||ƒSWqytj
ot|||ƒSqyXnt|ƒSdS(Niisus-ascii(t
isinstancettupleRtunicodetLookupError(Rterrorstfallback_charsettrawvalRs((s'/usr/local/lib/python2.5/email/utils.pyR8s(6t__doc__t__all__RWRRERRYR[Rrtwarningst	cStringIORtemail._parseaddrR
RR)RR	RcR
RetquopriRt_qdecodetemail.encodersRRR'R‚tUEMPTYSTRINGRRotcompileR R"RRRRRtVERBOSEt
IGNORECASEtecreRDRzRRRRRRR{RR(((s'/usr/local/lib/python2.5/email/utils.pys<module>sl				
		5						5

Man Man