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/sgmllib.pyo

³ò
h”Rc@s<dZddkZddkZddgZeidƒZeidƒZeidƒZeidƒZeid	ƒZ	eid
ƒZ
eidƒZeidƒZeid
ƒZ
eidƒZeidƒZdefd„ƒYZdeifd„ƒYZdefd„ƒYZed„ZedjoeƒndS(s;A parser for SGML, using the derived class as a static DTD.iÿÿÿÿNt
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/local/lib/python2.5/sgmllib.pyR'scBsseZeidƒZdd„Zd„Zd„Zd„Zd„Z	d„Z
d„Zd	„Zd
Z
d„Zd„Zd
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zhdd<dd<dd<dd <d!d"<Zd#„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||_|iƒdS(s#Initialize and reset this instance.N(tverbosetreset(tselfR((s#/usr/local/lib/python2.5/sgmllib.pyt__init__=s	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/local/lib/python2.5/sgmllib.pyRBs						cCsd|_|_dS(sYEnter literal mode (CDATA) till EOF.

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

        Intended for derived classes only.
        iN(R(Rtargs((s#/usr/local/lib/python2.5/sgmllib.pyt
setliteralSscCs!|i||_|idƒdS(sãFeed 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(R
tgoahead(Rtdata((s#/usr/local/lib/python2.5/sgmllib.pytfeedZscCs|idƒdS(sHandle the remaining data.iN(R(R((s#/usr/local/lib/python2.5/sgmllib.pytcloseescCst|ƒ‚dS(N(R(Rtmessage((s#/usr/local/lib/python2.5/sgmllib.pyterrorisc	Csy|i}d}t|ƒ}x||jo
|io|i|||!ƒ|}Pnti||ƒ}|o|iƒ}n|}||jo|i|||!ƒn|}||joPn||djoÀti||ƒ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|}qq»n+||djo|i	o"|i||ƒ|d}qnti||ƒ}|oU|idƒ}|i|ƒ|idƒ}||dd	jo|d}qqnti||ƒ}|oU|idƒ}|i|ƒ|idƒ}||dd	jo|d}qqq»n|id
ƒti||ƒ}|p"|i||ƒ|d}qn|idƒ}||joPn|i|||!ƒ|}qW|o+||jo|i|||!ƒ|}n|||_dS(Nit<is</s<!--s<?s<!t&t;sneither < nor & ??(R
tlenRthandle_datatinterestingtsearchtstarttstarttagopentmatchRtparse_starttagt
startswithtparse_endtagt
parse_commenttparse_pitparse_declarationtcharreftgroupthandle_charreftendt	entityrefthandle_entityrefRt
incomplete(	RR0R
titnR&tjtktname((s#/usr/local/lib/python2.5/sgmllib.pyRosÀ	







	













t=cCs•|i}|||d!djo|idƒnti||dƒ}|pdSn|idƒ}|i||d|!ƒ|idƒ}||S(Nis<?sunexpected call to parse_pi()iÿÿÿÿi(R
RtpicloseR#R$t	handle_piR0(RR4R
R&R6((s#/usr/local/lib/python2.5/sgmllib.pyR+Ùs	cCs|iS(N(R(R((s#/usr/local/lib/python2.5/sgmllib.pytget_starttag_textåsc
CsÅd|_|}|i}ti||ƒo–ti||ƒ}|pdSn|iddƒ\}}d||_|iƒ}|idƒ}|i	||ƒ|||idƒd!|_|Snt
i||dƒ}|pdSn|idƒ}g}	|||d!djo|}|i
}n^ti||dƒ}|p|idƒn|idƒ}||d|!iƒ}||_
xü||joîti||ƒ}|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(Niÿÿÿÿiis<%s/is<>s!unexpected call to parse_starttagit't"R(RRR
tshorttagopenR&tshorttagR.tlowerR0tfinish_shorttagt
endbracketR#R$RttagfindRtattrfindtentity_or_charreftsubt_convert_reftappendtfinish_starttag(
RR4t	start_posR
R&ttagRR7R6tattrstattrnametrestt	attrvalue((s#/usr/local/lib/python2.5/sgmllib.pyR'és`		

	

&&	cCs’|idƒo/|i|idƒƒpd|iƒdSnP|idƒo.|i|idƒƒpd|idƒSnd|idƒSdS(Nis&#%s%siis&%s;s&%s(R.tconvert_charreftgroupstconvert_entityref(RR&((s#/usr/local/lib/python2.5/sgmllib.pyRH'scCsŠ|i}ti||dƒ}|pdSn|idƒ}||d|!iƒiƒ}||djo|d}n|i|ƒ|S(NiiÿÿÿÿiiR(R
RCR#R$tstripRAt
finish_endtag(RR4R
R&R6RL((s#/usr/local/lib/python2.5/sgmllib.pyR)2s	
cCs.|i|gƒ|i|ƒ|i|ƒdS(N(RJR!RU(RRLR((s#/usr/local/lib/python2.5/sgmllib.pyRB?s
cCs°yt|d|ƒ}Wnktj
o_yt|d|ƒ}Wn'tj
o|i||ƒdSq¬X|i|||ƒdSn)X|ii|ƒ|i|||ƒdSdS(Ntstart_tdo_iÿÿÿÿii(tgetattrtAttributeErrortunknown_starttagthandle_starttagRRI(RRLRMtmethod((s#/usr/local/lib/python2.5/sgmllib.pyRJFs		cCsw|p9t|iƒd}|djo|i|ƒdSqãn¤||ijoOyt|d|ƒ}Wn tj
o|i|ƒnX|i|ƒdSnt|iƒ}x2t|ƒD]$}|i||jo
|}q»q»Wxt|iƒ|jov|id}yt|d|ƒ}Wntj
o
d}nX|o|i||ƒn|i|ƒ|id=qæWdS(Niitend_iÿÿÿÿ(	R Rtunknown_endtagRXRYtreport_unbalancedtrangeRt
handle_endtag(RRLtfoundR\R4((s#/usr/local/lib/python2.5/sgmllib.pyRUXs8





cCs||ƒdS(N((RRLR\RM((s#/usr/local/lib/python2.5/sgmllib.pyR[wscCs|ƒdS(N((RRLR\((s#/usr/local/lib/python2.5/sgmllib.pyRa{scCs+|iod|dGHdG|iGHndS(Ns*** Unbalanced </Rs
*** Stack:(RR(RRL((s#/usr/local/lib/python2.5/sgmllib.pyR_s

cCs]yt|ƒ}Wntj
odSnXd|jo
djnpdSn|i|ƒS(s/Convert character reference, may be overridden.Niiÿ(tintt
ValueErrortconvert_codepoint(RR8R5((s#/usr/local/lib/python2.5/sgmllib.pyRQ„s	cCs
t|ƒS(N(tchr(Rt	codepoint((s#/usr/local/lib/python2.5/sgmllib.pyReŽscCs>|i|ƒ}|djo|i|ƒn|i|ƒdS(s0Handle character reference, no need to override.N(RQRtunknown_charrefR!(RR8treplacement((s#/usr/local/lib/python2.5/sgmllib.pyR/‘s
RtltRtgtRtampR>tquots'taposcCs*|i}||jo||SndSdS(sµConvert 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(RR8ttable((s#/usr/local/lib/python2.5/sgmllib.pyRSs	
cCsG|i|ƒ}|djo|i|ƒn|i|i|ƒƒdS(s.Handle entity references, no need to override.N(RSRtunknown_entityrefR!(RR8Ri((s#/usr/local/lib/python2.5/sgmllib.pyR2©s
cCsdS(N((RR((s#/usr/local/lib/python2.5/sgmllib.pyR!²scCsdS(N((RR((s#/usr/local/lib/python2.5/sgmllib.pythandle_comment¶scCsdS(N((Rtdecl((s#/usr/local/lib/python2.5/sgmllib.pythandle_declºscCsdS(N((RR((s#/usr/local/lib/python2.5/sgmllib.pyR;¾scCsdS(N((RRLRM((s#/usr/local/lib/python2.5/sgmllib.pyRZÂscCsdS(N((RRL((s#/usr/local/lib/python2.5/sgmllib.pyR^ÃscCsdS(N((Rtref((s#/usr/local/lib/python2.5/sgmllib.pyRhÄscCsdS(N((RRu((s#/usr/local/lib/python2.5/sgmllib.pyRqÅs('RRtretcompileRFR	RRRRRRRt_decl_othercharsR+R<R'RHR)RBRJRUR[RaR_RQReR/RoRSR2R!RrRtR;RZR^RhRq(((s#/usr/local/lib/python2.5/sgmllib.pyR7sF	
						g			>		
							
		
3										tTestSGMLParsercBseeZdd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
d
„ZRS(icCsd|_ti||ƒdS(NR
(ttestdataRR	(RR((s#/usr/local/lib/python2.5/sgmllib.pyR	Ês	cCs>|i||_tt|iƒƒdjo|iƒndS(NiF(RzR treprtflush(RR((s#/usr/local/lib/python2.5/sgmllib.pyR!ÎscCs0|i}|od|_dGt|ƒGHndS(NR
sdata:(RzR{(RR((s#/usr/local/lib/python2.5/sgmllib.pyR|Ós		cCsP|iƒt|ƒ}t|ƒdjo|d d|d}ndG|GHdS(NiDi s...iàÿÿÿscomment:(R|R{R (RRtr((s#/usr/local/lib/python2.5/sgmllib.pyRrÙs

cCs^|iƒ|pd|dGHn9d|Gx(|D] \}}|dd|dGq1WdGHdS(Nsstart tag: <RR9R>(R|(RRLRMR8tvalue((s#/usr/local/lib/python2.5/sgmllib.pyRZàs
cCs|iƒd|dGHdS(Nsend tag: </R(R|(RRL((s#/usr/local/lib/python2.5/sgmllib.pyR^ês
cCs|iƒd|dGHdS(Ns*** unknown entity ref: &R(R|(RRu((s#/usr/local/lib/python2.5/sgmllib.pyRqîs
cCs|iƒd|dGHdS(Ns*** unknown char ref: &#R(R|(RRu((s#/usr/local/lib/python2.5/sgmllib.pyRhòs
cCs|iƒd|dGHdS(Ns*** unknown decl: [t](R|(RR((s#/usr/local/lib/python2.5/sgmllib.pytunknown_declös
cCsti|ƒ|iƒdS(N(RRR|(R((s#/usr/local/lib/python2.5/sgmllib.pyRús
(RRR	R!R|RrRZR^RqRhR€R(((s#/usr/local/lib/python2.5/sgmllib.pyRyÈs				
				c		Cs5ddk}|djo|id}n|o%|ddjo|d}t}nt}|o|d}nd}|djo
|i}nFyt|dƒ}Wn/tj
o#}|GdG|GH|idƒnX|i	ƒ}||ij	o|i
ƒn|ƒ}x|D]}|i|ƒqW|i
ƒdS(	Niÿÿÿÿiis-ss	test.htmlt-R}t:(tsysRtargvRRytstdintopentIOErrortexittreadRR(	RRƒtklasstfiletftmsgRtxtc((s#/usr/local/lib/python2.5/sgmllib.pyttestÿs2





	t__main__(RRRvt__all__RwR"R3R1R-R%R?R@R:RCRDREtRuntimeErrorRRRRyRRR(((s#/usr/local/lib/python2.5/sgmllib.pys<module>s,	ÿ’7$


Man Man