config root man

Current Path : /usr/local/lib/python2.5/xml/etree/

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 : //usr/local/lib/python2.5/xml/etree/ElementTree.pyc

hRc@s}dddddddddd	d
ddd
ddddgZddkZddkZddkZdfdYZyddkZWnej
oeZnXdZdfdYZeZ	hdZ
hdZedZ
edZeZd
fdYZdfdYZdZd Zd!Zeid" d#joeid$Zneied%Zhd&d'<d(d)<d*d+<d,d-<Zhd.d/<d0d1<d2d3<d4d5<Zd6Zed7Zeeid8Zeeid9Zd:Z ed;Z!dfd<YZ"d=Z#d>Z$e#Z%ed?Z&d
fd@YZ'dfdAYZ(e(Z)dS(BtCommenttdumptElementtElementTreet
fromstringt	iselementt	iterparsetparsetPItProcessingInstructiontQNamet
SubElementttostringtTreeBuildertVERSIONtXMLt	XMLParsertXMLTreeBuilderiNt_SimpleElementPathcBs&eZdZddZdZRS(cCs-x&|D]}|i|jo|SqqWdS(N(ttagtNone(tselftelementRtelem((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pytfindts
cCs7x0|D](}|i|jo|ipdSqqW|S(Nt(Rttext(RRRtdefaultR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pytfindtextys
cCsb|d djo|i|dSng}x/|D]'}|i|jo|i|q3q3W|S(Nis.//(tgetiteratorRtappend(RRRtresultR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pytfindall~sN(t__name__t
__module__RRRR (((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRrs	s1.2.6t_ElementInterfacecBseZdZdZdZdZdZdZdZ	dZ
dZdZdZ
dZdZd	Zd
ZdZdZd
ZdZddZdZdZddZdZdZdZddZRS(cCs||_||_g|_dS(N(Rtattribt	_children(RRR$((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt__init__s		cCsd|it|fS(Ns<Element %s at %x>(Rtid(R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt__repr__scCs
t||S(N(R(RRR$((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pytmakeelementscCs
t|iS(N(tlenR%(R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt__len__scCs|i|S(N(R%(Rtindex((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt__getitem__scCs%t|pt||i|<dS(N(RtAssertionErrorR%(RR,R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt__setitem__scCs|i|=dS(N(R%(RR,((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt__delitem__scCs|i||!S(N(R%(Rtstarttstop((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt__getslice__scCs?x"|D]}t|ptqWt||i||+dS(N(RR.tlistR%(RR1R2telementsR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt__setslice__	scCs|i||5dS(N(R%(RR1R2((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt__delslice__scCs(t|pt|ii|dS(N(RR.R%R(RR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRscCs+t|pt|ii||dS(N(RR.R%tinsert(RR,R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR8'scCs(t|pt|ii|dS(N(RR.R%tremove(RR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR94scCs|iS(N(R%(R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pytgetchildren?scCsti||S(N(tElementPathR(Rtpath((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRIscCsti|||S(N(R;R(RR<R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRWscCsti||S(N(R;R (RR<((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR bscCs*|iig|_d|_|_dS(N(R$tclearR%RRttail(R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR=is
	cCs|ii||S(N(R$tget(RtkeyR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR?wscCs||i|<dS(N(R$(RR@tvalue((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pytsetscCs
|iiS(N(R$tkeys(R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRCscCs
|iiS(N(R$titems(R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRDscCsyg}|djo
d}n|djp|i|jo|i|nx'|iD]}|i|i|qUW|S(Nt*(RRRR%textendR(RRtnodestnode((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRs


N(R!R"RRR$RR>R&R(R)R+R-R/R0R3R6R7RR8R9R:RRR R=R?RBRCRDR(((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR#s6
		
		
		
	
					
	
		
					
	
	cKs&|i}|i|t||S(N(tcopytupdateR#(RR$textra((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRs
cKs<|i}|i||i||}|i||S(N(RIRJR)R(tparentRR$RKR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRs


cCstt}||_|S(N(RRR(RR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRs	cCs8tt}||_|o|id||_n|S(Nt (RR	R(ttargetRR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR	s
	cBs/eZddZdZdZdZRS(cCs(|od||f}n||_dS(Ns{%s}%s(R(Rttext_or_uriR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR&scCs|iS(N(R(R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt__str__
scCs
t|iS(N(thashR(R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt__hash__scCs7t|tot|i|iSnt|i|S(N(t
isinstanceR
tcmpR(Rtother((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt__cmp__sN(R!R"RR&RPRRRV(((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR
s		cBsteZdddZdZdZddZddZdZddZ	dZ
dd	Zd
ZRS(cCsF|djpt|pt||_|o|i|ndS(N(RRR.t_rootR(RRtfile((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR&s!	cCs|iS(N(RW(R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pytgetroot*scCs!t|pt||_dS(N(RR.RW(RR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt_setroot4scCs{t|dpt|d}n|p
t}nx+|id}|pPn|i|q:|i|_|iS(Ntreadtrbi(thasattrtopenRR[tfeedtcloseRW(Rtsourcetparsertdata((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRAs
cCs'|idj	pt|ii|S(N(RWRR.R(RR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRVscCsF|idj	pt|d djod|}n|ii|S(Nit/t.(RWRR.R(RR<((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRbscCsI|idj	pt|d djod|}n|ii||S(NiRdRe(RWRR.R(RR<R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRtscCsF|idj	pt|d djod|}n|ii|S(NiRdRe(RWRR.R (RR<((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR ssus-asciicCs|idj	ptt|dpt|d}n|p
d}n0|djo"|djo|id|n|i||i|hdS(Ntwritetwbsus-asciisutf-8s$<?xml version='1.0' encoding='%s'?>
(RWRR.R]R^Rft_write(RRXtencoding((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRfs
cCsh|i}|tjo!|idt|i|n|tjo!|idt|i|n|i}g}yVt|tp|d djo1t	||\}}|o|i
|qnWntj
ot|nX|idt
|||p|oi|ix|D]\}	}
yVt|	tp|	d djo1t	|	|\}	}|o|i
|qnWntj
ot|	nXyEt|
to1t	|
|\}
}|o|i
|qnWntj
ot|
nX|idt
|	|t|
|fq&WxA|D]5\}	}
|idt
|	|t|
|fqAWn|ip
t|o}|id|io|it|i|nx$|D]}|i||||qW|idt
||dn|id	x|D]\}	}
||
=q&W|io|it|i|ndS(
Ns<!-- %s -->s<?%s?>it{t<s %s="%s"t>s</s />(RRRft
_escape_cdataRR	RDRSR
tfixtagRt	TypeErrort_raise_serialization_errort_encodetsortt_escape_attribR*RhR>(RRXRHRit
namespacesRRDtxmlns_itemstxmlnstktvtn((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRhsj	
!
!!
!

"

N(
R!R"RR&RYRZRRRRR RfRh(((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRs	
	
		
cCst|tp
t|dS(NR(RSR#R](R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRscCspt|tpt|}n|iti|ii}|p|ddjotiidndS(Nis
(RSRRftsyststdoutRYR>(RR>((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRscCs/y|i|SWntj
o|SnXdS(N(tencodetAttributeError(tsRi((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRqsis1.5s[&<>\"\x80-\xff]+su"[&<>\"\u0080-\uffff]+"s&amp;t&s&lt;Rks&gt;Rls&quot;t"txmls$http://www.w3.org/XML/1998/namespacethtmlshttp://www.w3.org/1999/xhtmltrdfs+http://www.w3.org/1999/02/22-rdf-syntax-ns#twsdls http://schemas.xmlsoap.org/wsdl/cCs#td|t|ifdS(Nscannot serialize %r (type %s)(RottypeR!(R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRpscCsMtd}yt|i||dSWntj
ot|nXdS(NcSspg}|i}xN|iD]@}|i|}|djodt|}n||qWti|dS(Ns&#%d;R(RtgroupR?Rtordtstringtjoin(tmtmaptoutRtcharR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pytescape_entitiess	

tascii(t_escape_mapRqtsubRoRp(RtpatternR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt_encode_entitys
	c
Csy||o7yt||}WqAtj
ot|SqAXn||dd}||dd}||dd}|SWn#ttfj
ot|nXdS(NRs&amp;Rks&lt;Rls&gt;(RqtUnicodeErrorRRoR}Rp(RRitreplace((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRm sc
Csy|o7yt||}WqAtj
ot|SqAXn||dd}||dd}||dd}||dd}||d	d
}|SWn#ttfj
ot|nXdS(NRs&amp;t's&apos;s"s&quot;Rks&lt;Rls&gt;(RqRRRoR}Rp(RRiR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRs/scCst|to
|i}nti|ddd\}}|i|}|djoeti|}|djodt|}n|||<|djo
d}qd||f}nd}d||f|fS(Nit}sns%dRsxmlns:%ss%s:%s(	RSR
RRtsplitR?Rt_namespace_mapR*(RRtt
namespace_uritprefixRv((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRn@s





cCst}|i|||S(N(RR(RaRbttree((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR\s	cBsMeZddZdZyedZWnej
odZnXRS(cCst|dpt|d}n||_g|_d|_d|_|_t|_	|i	i	}|ii
}|djo
dg}nx|D]	}|djory7d|_d|_|||i	i
d}||_Wqtj
o(|||i	id}||_qXq|djo%|||i	id	}||_q|d
jo||d}||_q|djo||d
}||_qqWdS(NR[R\itendR1icSs|||||fdS(N((Rt	attrib_inteventRR1((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pythandler~scSs|||||fdS(N((RRRRR1((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRscSs||||fdS(N((RRRR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRssstart-nscSsJyt|d}Wntj
onX|||pd|ffdS(NRR(RqR(RturiRR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRs
send-nscSs||dfdS(N(R(RRR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRs(R]R^t_filet_eventst_indexRtrootRWRt_parserRtordered_attributestspecified_attributest_start_listtStartElementHandlerR}t_startt_endtEndElementHandlertStartNamespaceDeclHandlertEndNamespaceDeclHandler(RRateventsRbRRR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR&lsD			


		





cCsxy|i|i}Wntj
o|idjo6|i|_y
tWqntj
o
tqnXn|i2d|_|i	i
d}|o|ii|q|ii|_d|_qX|id|_|SqdS(Nii@i(
RRt
IndexErrorRRRWRt
StopIterationt	NameErrorRR[R_R`(RtitemRc((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pytnexts&
	cCs|S(N((R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt__iter__scCs
|iS(N(R(RR,((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR-sN(	R!R"RR&RtiterRRR-(((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRjs-	
cCs t}|i||iS(N(RR_R`(RRb((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRs	
cCsmt}|i||i}h}x8|iD]*}|id}|o|||<q5q5W||fS(NR'(RR_R`RR?(RRbRtidsRR'((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pytXMLIDs	

cCsTdddY}g}|}|i|_t|i||ti|dS(NtdummycBseZRS((R!R"(((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRsR((RRfRRR(RRiRRcRX((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRs	cBsAeZddZdZdZdZdZdZRS(cCsHg|_g|_d|_d|_|djo
t}n||_dS(N(t_datat_elemRt_lastt_tailR#t_factory(Rtelement_factory((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR&s				

cCsAt|idjp
td|idjp
td|iS(Nismissing end tagssmissing toplevel element(R*RR.RR(R((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR`s cCs|io|idj	oyti|id}|io-|iidjp
td||i_q|iidjp
td||i_ng|_ndS(NRsinternal error (tail)sinternal error (text)(	RRRRRRR>R.R(RR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt_flushs

cCs|ii|dS(N(RR(RRc((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRc(scCsb|i|i|||_}|io|idi|n|ii|d|_|S(Nii(RRRRRR(RRtattrsR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR13s

	cCsY|i|ii|_|ii|jptd|ii|fd|_|iS(Ns&end tag mismatch (expected %s, got %s)i(RRtpopRRR.R(RR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRCs
	N(	R!R"RR&R`RRcR1R(((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR
s				cBsqeZdddZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
RS(
icCs?yddkl}Wntj
otdnX|idd|_}|djo
t}n||_h|_|i	|_
|i|_|i
|_|i|_yd|i_Wntj
onXy(d|i_d|i_|i|_Wntj
onXd}|ip
d}nd|_h|_dS(Ni(texpats7No module named expat; use SimpleXMLTreeBuilder insteadRisutf-8(txml.parsersRtImportErrortParserCreateRRR
t_targett_namest_defaulttDefaultHandlerExpandRRRRRtCharacterDataHandlertbuffer_textR}RRRtreturns_unicodet_doctypetentity(RRRNRRbRi((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR&Ys:

		

	cCs/yt|dSWntj
o|SnXdS(NR(RqR(RR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt_fixtext}scCsfy|i|}WnNtj
oB|}d|jod|}n|i||i|<}nX|S(NRRj(RtKeyErrorR(RR@tname((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyt_fixnames
cCsd|i}||}h}x3|iD]%\}}|i||||<q(W|ii||S(N(RRDRRR1(RRRtfixnameR$R@RA((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRs	
cCs|i}||}h}|oLxItdt|dD]+}|i||d||||<q;Wn|ii||S(Niii(RtrangeR*RRR1(RRRRR$ti((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRs	-cCs|ii|i|S(N(RRcR(RR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRscCs|ii|i|S(N(RRR(RR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRsc		Cs|d }|djoty"|ii|i|dd!Wqtj
o?ddkl}|id||ii|ii	fqXna|djo|d djo
g|_
n6|i
dj	o%|d	jod|_
dSnti
|}|pdSn|i
i|t|i
}|d
jo|i
d}|djo&|djo|i
\}}}}n;|d
jo)|djo|i
\}}}d}ndS|o|dd!}n|i|||dd!d|_
qndS(NiRi(Rs'undefined entity %s: line %d, column %dRki	s	<!DOCTYPERlitPUBLICitSYSTEMi(RRcRRRRterrorRtErrorLineNumbertErrorColumnNumberRRRtstripRR*tdoctype(	RRRRRyRRtpubidtsystem((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRsB

"

	


cCsdS(N((RRRR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRscCs|ii|ddS(Ni(RtParse(RRc((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR_scCs2|iidd|ii}|`|`|S(NRi(RRRR`(RR((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyR`sN(R!R"RR&RRRRRRRRR_R`(((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pyRWs$								.			(*t__all__RRztreRR;RRR#t_ElementRRRRR	RR
RRRRqtversiontcompilet_escapetevalRRRpRRRmRsRnRRRRRRR
RR(((s1/usr/local/lib/python2.5/xml/etree/ElementTree.pys<module>Ksv$												W	
	
X

Man Man