config root man

Current Path : /usr/local/lib/python2.5/compiler/

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/compiler/transformer.pyo

³ņ
h”Rc0@s„dZddkTddkZddkZddkZddkZdefd„ƒYZddkl	Z	l
Z
ddklZlZl
Z
d„Zd	d
„Zd„Zd„Zd
„Zdfd„ƒYZeieieieieieieieieieieieiei ei!ei"ei#gZ$hdei%<dei&<dei'<dei(<dei)<dei*<dei+<Z,ei-ei.ei/ei0ei1ei2ei3eiei4ei5ei6ei7ei8ei9ei:ei;ei<ei=ei>ei?ei@eiAeiBeiCeiDeieieieieieieiEeieieieiei ei!ei"ei#eiFg)ZGeHedƒoeGiIeiJƒneHedƒoeGiIeiKƒneieieieieieieieieiei ei!ei"gZLhZMx'eiNiOƒD]\ZPZQeQeMeP<q3Wx'eiRiOƒD]\ZPZQeQeMeP<q]Wd„ZSdS(sīParse tree transformation module.

Transforms Python source code into an abstract syntax tree (AST)
defined in the ast module.

The simplest ways to invoke this module are via parse and parseFile.
parse(buf) -> AST
parseFile(path) -> AST
i’’’’(t*NtWalkerErrorcBseZRS((t__name__t
__module__(((s0/usr/local/lib/python2.5/compiler/transformer.pyR"s(t
CO_VARARGStCO_VARKEYWORDS(t	OP_ASSIGNt	OP_DELETEtOP_APPLYcCs3t|dƒ}|iƒd}|iƒt|ƒS(NtUs
(topentreadtclosetparse(tpathtftsrc((s0/usr/local/lib/python2.5/compiler/transformer.pyt	parseFile(s
texeccCs_|djp
|djotƒi|ƒSn.|djotƒi|ƒSn
tdƒ‚dS(NRtsingletevals4compile() arg 3 must be 'exec' or 'eval' or 'single'(tTransformert
parsesuitet	parseexprt
ValueError(tbuftmode((s0/usr/local/lib/python2.5/compiler/transformer.pyR
2s

cCsµg}xØ|D] }t|dƒo|i|iƒƒq
t|ƒtdƒjo|itt|ƒƒƒq
t|ƒtgƒjo|it|ƒƒq
|i|ƒq
W|S(NtasList(NN(thasattrtappendRttypetNonettuple(tnodestltitem((s0/usr/local/lib/python2.5/compiler/transformer.pyR;scCsnt|dtƒp|dSnxG|dD];}t|tƒo%t|ƒ}|dj	o|Sqfq+q+WdS(Nii(t
isinstanceR t
extractLineNoR(tasttchildtlineno((s0/usr/local/lib/python2.5/compiler/transformer.pyR%Is
cGs{|d}ti|ƒoJyt||dŒSWqwtj
o!t|Gt|ƒG|GH‚qwXntdt|ƒ‚dS(Niis$Can't find appropriate Node type: %s(R!thas_keyt	TypeErrortlenRtstr(targstkind((s0/usr/local/lib/python2.5/compiler/transformer.pytNodeSs
RcBsteZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„ZeZd„Zd„ZeZeZeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z!d„Z"d„Z#d„Z$d„Z%d „Z&d!„Z'd"„Z(d#„Z)d$„Z*d%„Z+d&„Z,d'„Z-d(„Z.d)„Z/d*„Z0d+„Z1d,„Z2d-„Z3d.„Z4d/„Z5d0„Z6d1„Z7d2„Z8e8Z9e8Z:e8Z;d3„Z<d4„Z=d5„Z>e>Z?d6„Z@d7„ZAd8„ZBd9„ZCd:„ZDd;„ZEd<„ZFd=„ZGd>„ZHd?„ZId@„ZJdA„ZKdB„ZLdC„ZMdD„ZNdE„ZOdF„ZPdG„ZQdH„ZRdI„ZSdJ„ZTdK„ZUdL„ZVdM„ZWdN„ZXdO„ZYdP„ZZdQ„Z[dR„Z\dS„Z]dT„Z^dU„Z_dV„Z`dW„ZadX„ZbdY„ZcdZ„Zdd[„Zed\„Zfd]„Zgd^„Zhd_„Zid`„Zjda„Zkdb„Zldc„Zmeneoddƒode„Zpdf„Zqdg„Zrn
dh„Zpeneodiƒodj„Zsdk„Ztndl„Zudm„Zvdn„Zwdo„Zxdp„Zydq„Zzdr„Z{ds„Z|dt„Z}dvdu„ZRS(wsźUtility object for transforming Python parse trees.

    Exposes the following methods:
        tree = transform(ast_tree)
        tree = parsesuite(text)
        tree = parseexpr(text)
        tree = parsefile(fileob | filename)
    cCsåh|_xGtiiƒD]6\}}t||ƒot||ƒ|i|<qqW|i|iti<h|i	ti
<|iti<|i
ti<|iti<|iti<|iti<|iti<|_d|_dS(N(t	_dispatchtsymboltsym_nametitemsRtgetattrtcom_NEWLINEttokentNEWLINEt	atom_lpartLPARt	atom_lsqbtLSQBtatom_lbracetLBRACEtatom_backquotet	BACKQUOTEtatom_numbertNUMBERtatom_stringtSTRINGt	atom_nametNAMEt_atom_dispatchRtencoding(tselftvaluetname((s0/usr/local/lib/python2.5/compiler/transformer.pyt__init__is	cCsFt|tƒp
t|tƒpti|ddƒ}n|i|ƒS(s,Transform an AST into a modified parse tree.t	line_infoi(R$R tlisttparsert	ast2tupletcompile_node(RHttree((s0/usr/local/lib/python2.5/compiler/transformer.pyt	transformys cCs|iti|ƒƒS(s6Return a modified parse tree for the given suite text.(RRRNtsuite(RHttext((s0/usr/local/lib/python2.5/compiler/transformer.pyRscCs|iti|ƒƒS(s;Return a modified parse tree for the given expression text.(RRRNtexpr(RHRT((s0/usr/local/lib/python2.5/compiler/transformer.pyRƒscCs<t|ƒtdƒjot|ƒ}n|i|iƒƒS(s@Return a modified parse tree for the contents of the given file.t(RR
RR(RHtfile((s0/usr/local/lib/python2.5/compiler/transformer.pyt	parsefile‡sc	Cs0|d}|tijo%|d|_|d}|d}n|tijo|i|dƒSn|tijo|i|dƒSn|tijo|i|dƒSn|tijo|i|dƒSn|tijo|i|dƒSn|tijo|i|dƒSnt	d|f‚dS(Niiisunexpected node type(
R1t
encoding_declRGtsingle_inputt
file_inputt
eval_inputtlambdeftfuncdeftclassdefR(RHtnodetn((s0/usr/local/lib/python2.5/compiler/transformer.pyRP’s$


cCs:|dd}|tijo|i|dƒSntƒS(Ni(R6R7tcom_stmttPass(RHR`Ra((s0/usr/local/lib/python2.5/compiler/transformer.pyRZŖscCsœ|i|tiƒ}|dj	o
d}nd}g}xN||D]B}|dtijo(|dtijo|i||ƒqCqCWt|t	|ƒƒS(Nii(
t
get_docstringR1R[RR6t	ENDMARKERR7tcom_append_stmttModuletStmt(RHtnodelisttdoctitstmtsR`((s0/usr/local/lib/python2.5/compiler/transformer.pyR[“s

(cCst|i|dƒƒS(Ni(t
Expressiontcom_node(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyR\ĄscCs_t|ƒ}|i|ƒ}d}x7||jo)t|||ddƒ}|d7}q$W|S(Nii(R+RDtGetattr(RHRitlistlenR#Rk((s0/usr/local/lib/python2.5/compiler/transformer.pytdecorator_nameÅs
cCsN|i|ddƒ}t|ƒdjo|i||dƒ}n|}|S(Nii(RqR+tcom_call_function(RHRitfuncnameRU((s0/usr/local/lib/python2.5/compiler/transformer.pyt	decoratorÓs
cCs;g}x(|D] }|i|i|dƒƒq
Wt|ƒS(Ni(RRtt
Decorators(RHRiR3tdec_nodelist((s0/usr/local/lib/python2.5/compiler/transformer.pyt
decoratorsäs
cCst|ƒdjo|i|ddƒ}nd}|dd}|dd}|dd}|dtijo |i|dƒ\}}}nd	}}d}|i|dƒ}	|i|dƒ}
|	dj	o|
id=nt	||||||	|
d|ƒS(
Niiiiü’’’iiż’’’i’’’’R(((
R+RwRR1tvarargslisttcom_arglistRdRnR!tFunction(RHRiRwR(RJR-tnamestdefaultstflagsRjtcode((s0/usr/local/lib/python2.5/compiler/transformer.pyR^ģs  

c	Cs€|ddtijo$|i|ddƒ\}}}nd}}d}|i|dƒ}t||||d|ddƒS(Niiii’’’’R(((R1RxRyRntLambda(RHRiR{R|R}R~((s0/usr/local/lib/python2.5/compiler/transformer.pyR]
s$
cCsĒ|dd}|i|dƒ}|ddtijo
g}n6|ddtijo
g}n|i|dƒ}|i|dƒ}|dj	o|id=nt||||d|ddƒS(Nii’’’’iiiR((	RdR6tCOLONtRPARt	com_basesRnRR!tClass(RHRiRJRjtbasesR~((s0/usr/local/lib/python2.5/compiler/transformer.pyR_s


cCs|i|dƒS(Ni(Rb(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytstmt1scCsGg}x4tdt|ƒdƒD]}|i|||ƒqWt|ƒS(Nii(trangeR+RfRh(RHRiRlRk((s0/usr/local/lib/python2.5/compiler/transformer.pytsimple_stmt8s
cCs
t‚dS(N(R(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyt
parameters?scCs
t‚dS(N(R(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyRxBscCs
t‚dS(N(R(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytfpdefEscCs
t‚dS(N(R(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytfplistHscCs
t‚dS(N(R(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytdotted_nameKscCs
t‚dS(N(R(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytcomp_opNscCs
t‚dS(N(R(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyttrailerQscCs
t‚dS(N(R(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytsliceopTscCs
t‚dS(N(R(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytargumentWsc	Cs|d}|i|ƒ|dƒ}t|ƒdjot|d|iƒSn|ddtijoig}xAtdt|ƒddƒD]#}|i|i||t	ƒƒqˆWt
||d|ddƒSnE|i|dƒ}|i|dƒ}t
||d|d|dƒStd‚dS(Ni’’’’iR(iiscan't get here(tlookup_nodeR+tDiscardR(R6tEQUALR†Rt
com_assignRtAssignt
com_augassigntcom_augassign_opt	AugAssignR(RHRitentexprNodetnodeslRktlvaltop((s0/usr/local/lib/python2.5/compiler/transformer.pyt	expr_stmt_s
!cCsłg}t|ƒdjod}d}nB|ddtijo|i|dƒ}d}n
d}d}x:t|t|ƒdƒD] }|i|i||ƒƒqƒW|ddtijot||d|ddƒSnt	||d|ddƒS(Niiiii’’’’R((
R+RR6t
RIGHTSHIFTRnR†RtCOMMAtPrinttPrintnl(RHRiR3tstarttdestRk((s0/usr/local/lib/python2.5/compiler/transformer.pyt
print_stmtps

cCs|i|dtƒS(Ni(R“R(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytdel_stmt„scCstd|ddƒS(NR(ii(Rc(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyt	pass_stmt‡scCstd|ddƒS(NR(ii(tBreak(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyt
break_stmtŠscCstd|ddƒS(NR(ii(tContinue(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyt
continue_stmtscCsZt|ƒdjo"ttdƒd|ddƒSnt|i|dƒd|ddƒS(NiR(ii(R+tReturntConstRRn(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytreturn_stmts"cCs&|i|dƒ}t|d|iƒS(NiR((RnR‘R((RHRiRU((s0/usr/local/lib/python2.5/compiler/transformer.pyt
yield_stmt–scCsNt|ƒdjo|i|dƒ}n
tdƒ}t|d|ddƒS(NiR(ii(R+RnR¬RtYield(RHRiRI((s0/usr/local/lib/python2.5/compiler/transformer.pyt
yield_expršscCs®t|ƒdjo|i|dƒ}nd}t|ƒdjo|i|dƒ}nd}t|ƒdjo|i|dƒ}nd}t|||d|ddƒS(NiiiR(ii(R+RnRtRaise(RHRitexpr3texpr2texpr1((s0/usr/local/lib/python2.5/compiler/transformer.pyt
raise_stmt”scCs|i|dƒS(Ni(Rn(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytimport_stmt±scCs%t|i|dƒd|ddƒS(NiR(ii(tImporttcom_dotted_as_names(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytimport_name¶scCs	d}x$||ddjo|d7}q	W|d}||dtijo!|i||ƒ}|d7}nd}||ddtijo%t|dg|d|ddƒSnO||d||ddtij}t||i|ƒ|d|ddƒSdS(	Nit.iRVRR(i(RN(	R1R‹tcom_dotted_nameR6tSTARtFromRR9tcom_import_as_names(RHRitidxtleveltfromnameR`((s0/usr/local/lib/python2.5/compiler/transformer.pytimport_from»s
'cCsVg}x5tdt|ƒdƒD]}|i||dƒqWt|d|ddƒS(NiiR(i(R†R+RtGlobal(RHRiR{Rk((s0/usr/local/lib/python2.5/compiler/transformer.pytglobal_stmtŃs
cCs•|i|dƒ}t|ƒdjoG|i|dƒ}t|ƒdjo|i|dƒ}qwd}nd}}t|||d|ddƒS(	NiiiiiR(ii(RnR+RtExec(RHRiR“R³R²((s0/usr/local/lib/python2.5/compiler/transformer.pyt	exec_stmtŲs

cCs^|i|dƒ}t|ƒdjo|i|dƒ}nd}t||d|ddƒS(NiiiR(ii(RnR+RtAssert(RHRiR“R³((s0/usr/local/lib/python2.5/compiler/transformer.pytassert_stmtęs
cCs½g}xetdt|ƒddƒD]G}|i||dƒ}|i||dƒ}|i||fƒq#Wt|ƒddjo|i|dƒ}nd}t||d|ddƒS(Niiiii’’’’R(i(R†R+RnRRtIf(RHRittestsRkttestNodet	suiteNodetelseNode((s0/usr/local/lib/python2.5/compiler/transformer.pytif_stmtļscCst|i|dƒ}|i|dƒ}t|ƒdjo|i|dƒ}nd}t|||d|ddƒS(NiiiiR(ii(RnR+RtWhile(RHRiRĖtbodyNodeRĶ((s0/usr/local/lib/python2.5/compiler/transformer.pyt
while_stmtžscCs|i|dtƒ}|i|dƒ}|i|dƒ}t|ƒdjo|i|dƒ}nd}t||||d|ddƒS(NiiiiR(ii(R“RRnR+RtFor(RHRit
assignNodetlistNodeRŠRĶ((s0/usr/local/lib/python2.5/compiler/transformer.pytfor_stmtscCs
|i|ƒS(N(tcom_try_except_finally(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyttry_stmtscCs
|i|ƒS(N(tcom_with(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyt	with_stmtscCs
|i|ƒS(N(tcom_with_var(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytwith_var scCsqt|ƒdjo|i|dƒSng}x6|D].}|dtijo|i||ƒq5q5Wt|ƒS(Nii(R+RbR1R…RfRh(RHRiRlR`((s0/usr/local/lib/python2.5/compiler/transformer.pyRS#scCs|it|ƒS(N(t
com_binarytTuple(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyttestlist3scCsct|ƒdjoC|ddtijo+|i|dƒ}|i||dƒSn|i|ƒS(Niii(R+R1tgen_forRntcom_generator_expressionRŽ(RHRittest((s0/usr/local/lib/python2.5/compiler/transformer.pyt
testlist_gexp=s+cCs²t|ƒdjo-|ddtijo|i|dƒSn|i|dƒ}t|ƒdjoH|i|dƒ}|i|dƒ}t|||d|ddƒSn|S(NiiiiR((R+R1R]RntIfExp(RHRitthenRįtelse_((s0/usr/local/lib/python2.5/compiler/transformer.pyRįCs+"cCsPt|ƒdjo-|ddtijo|i|dƒSn|it|ƒS(Nii(R+R1R]RÜtOr(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytor_testQs+cCs|it|ƒS(N(RÜtAnd(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytand_testXscCsF|i|dƒ}t|ƒdjot|d|ddƒSn|S(Ni’’’’iR(i(RnR+tNot(RHRitresult((s0/usr/local/lib/python2.5/compiler/transformer.pytnot_test\sc	Cs|i|dƒ}t|ƒdjo|Sng}xŹtdt|ƒdƒD]°}||d}|d}|dtijoB|d}t|ƒdjo!|djo
d}q½d}qĻnt|d}|dd}|i||i||ƒfƒqMWt||d|ƒS(	Niiiitnotsnot insis notR((RnR+R†R6REt
_cmp_typesRtCompare(	RHRiR`tresultsRktnlRaRR(((s0/usr/local/lib/python2.5/compiler/transformer.pyt
comparisoncs$



$cCs|it|ƒS(N(RÜtBitor(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyRU„scCs|it|ƒS(N(RÜtBitxor(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytxor_exprˆscCs|it|ƒS(N(RÜtBitand(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytand_exprŒscCsę|i|dƒ}xĢtdt|ƒdƒD]²}|i||ƒ}||ddtijo$t||gd|ddƒ}q,||ddtijo$t||gd|ddƒ}q,td||dd‚q,W|S(NiiiR(sunexpected token: %s(	RnR†R+R6t	LEFTSHIFTt	LeftShiftRžt
RightShiftR(RHRiR`Rktright((s0/usr/local/lib/python2.5/compiler/transformer.pyt
shift_exprs$$cCsę|i|dƒ}xĢtdt|ƒdƒD]²}|i||ƒ}||ddtijo$t||gd|ddƒ}q,||ddtijo$t||gd|ddƒ}q,td||dd‚q,W|S(NiiiR(sunexpected token: %s(	RnR†R+R6tPLUStAddtMINUStSubR(RHRiR`RkRū((s0/usr/local/lib/python2.5/compiler/transformer.pyt
arith_exprs$$cCs|i|dƒ}xūtdt|ƒdƒD]į}|i||ƒ}||dd}|tijot||gƒ}n€|tijot||gƒ}nZ|tijot	||gƒ}n4|ti
jot||gƒ}ntd|‚|dd|_
q,W|S(Niiisunexpected token: %s(RnR†R+R6R¼tMultSLASHtDivtPERCENTtModtDOUBLESLASHtFloorDivRR((RHRiR`RkRūtt((s0/usr/local/lib/python2.5/compiler/transformer.pytterm©s 
cCs³|d}|d}|i|dƒ|ddƒ}|tijot|d|dƒSnS|tijot|d|dƒSn+|tijot|d|dƒ}n|S(Nii’’’’iR(i(RR6RżtUnaryAddR’tUnarySubtTILDEtInvert(RHRiteltR	R`((s0/usr/local/lib/python2.5/compiler/transformer.pytfactor»s

!cCs–|i|dƒ}x|tdt|ƒƒD]e}||}|dtijo/t||i||dƒgd|dƒSn|i||ƒ}q)W|S(NiiR(i(RnR†R+R6t
DOUBLESTARtPowertcom_apply_trailer(RHRiR`RkR((s0/usr/local/lib/python2.5/compiler/transformer.pytpowerČs
 cCs|i|dd|ƒS(Ni(RF(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pytatomÕscCsE|ddtijotdd|ddƒSn|i|dƒS(NiiR(i((R6RRŻRn(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyR8ŲscCsE|ddtijotdd|ddƒSn|i|dƒS(NiiR(i((R6tRSQBtListtcom_list_constructor(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyR:ŻscCsE|ddtijotdd|ddƒSn|i|dƒS(NiiR(i((R6tRBRACEtDictt
com_dictmaker(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyR<āscCst|i|dƒƒS(Ni(t	BackquoteRn(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyR>ēscCs,t|ddƒ}t|d|ddƒS(NiiR(i(RR¬(RHRitk((s0/usr/local/lib/python2.5/compiler/transformer.pyR@źscCsb|ioJ|idjot|dƒi|iƒ}ntd|i|fƒSnt|ƒSdS(Nsutf-8s
iso-8859-1s# coding: %s
%s(sutf-8s
iso-8859-1(RGtunicodetencodeR(RHtlit((s0/usr/local/lib/python2.5/compiler/transformer.pytdecode_literalļs

cCsFd}x%|D]}||i|dƒ7}q
Wt|d|ddƒS(NRViR(ii(R!R¬(RHRiRR`((s0/usr/local/lib/python2.5/compiler/transformer.pyRBśs
cCs t|ddd|ddƒS(NiiR(i(tName(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyRDscCs|i|dS(Ni(R0(RHR`((s0/usr/local/lib/python2.5/compiler/transformer.pyRscCs|i|d|dƒS(Nii(R0(RHR`((s0/usr/local/lib/python2.5/compiler/transformer.pyRnscGsttdƒƒS(N(R‘R¬R(RHR-((s0/usr/local/lib/python2.5/compiler/transformer.pyR5scCsäg}g}d}d}x¼|t|ƒjoØ||}|dtijp|dtijo×|dtijoO||d}|dtijo)|i|dƒ|tB}|d}qĆn|t|ƒjo\||d}|tijo||d}ntd|‚|i|dƒ|tB}nPn|i|i	|ƒƒ|d}|t|ƒjoD||dti
jo,|i|i||dƒƒ|d}nt|ƒo
td‚n|d}qW|||fS(Niiisunexpected token: %sis-non-default argument follows default argument(
R+R6R¼RRERRRRt	com_fpdefR’RntSyntaxError(RHRiR{R|R}RkR`R	((s0/usr/local/lib/python2.5/compiler/transformer.pyRy s>
(


+

cCs9|ddtijo|i|dƒSn|ddS(Niii(R6R9t
com_fplist(RHR`((s0/usr/local/lib/python2.5/compiler/transformer.pyR#RscCsut|ƒdjo|i|dƒSng}x:tdt|ƒdƒD] }|i|i||ƒƒqGWt|ƒS(Nii(R+R#R†RR (RHR`RMRk((s0/usr/local/lib/python2.5/compiler/transformer.pyR%XscCs_d}xN|D]F}t|ƒtdƒjo'|ddjo||dd}q
q
W|d S(NRViiRŗi’’’’((R(RHR`RJRa((s0/usr/local/lib/python2.5/compiler/transformer.pyR»as*cCsT|d}|i|ddƒ}t|ƒdjo|dfSn||ddfS(Niii(R»R+R(RHR`tdot((s0/usr/local/lib/python2.5/compiler/transformer.pytcom_dotted_as_nameis

cCsa|d}|i|dƒg}x:tdt|ƒdƒD] }|i|i||ƒƒq9W|S(Niii(R'R†R+R(RHR`R{Rk((s0/usr/local/lib/python2.5/compiler/transformer.pyRøss
cCsM|d}t|ƒdjo|dddfSn|dd|ddfS(Niii(R+R(RHR`((s0/usr/local/lib/python2.5/compiler/transformer.pytcom_import_as_name{s
cCsa|d}|i|dƒg}x:tdt|ƒdƒD] }|i|i||ƒƒq9W|S(Niii(R(R†R+R(RHR`R{Rk((s0/usr/local/lib/python2.5/compiler/transformer.pyR¾…s
cCsGg}x:tdt|ƒdƒD] }|i|i||ƒƒqW|S(Nii(R†R+RRn(RHR`R„Rk((s0/usr/local/lib/python2.5/compiler/transformer.pyR‚s
c
	Cs|ddtijo9t|i|dƒ|i|dƒd|ddƒSng}d}d}x@tdt|ƒdƒD]&}||}|dtijo’t|ƒdjoJ|i|dƒ}t|ƒdjo|i	|dt
ƒ}qd}nd}}|i|||i||dƒfƒn|dtijo\|ddjo|i||dƒ}q¢|dd	jo|i||dƒ}q¢q|q|Wt|i|dƒ||d|ddƒ}	|ot|	|d|ddƒSn|	SdS(
NiiiiR(iitelsetfinally(
R6REt
TryFinallyRnRR†R+R1t
except_clauseR“RRt	TryExcept(
RHRitclausesRĶtfinallyNodeRkR`R“R³t
try_except((s0/usr/local/lib/python2.5/compiler/transformer.pyR֓s8


+#cCs€|i|dƒ}|i|dƒ}|ddtijo
d}n|i|ddtƒ}t|||d|ddƒS(Nii’’’’iiR((RnR6R€RR“RtWith(RHRiRUtbodytvar((s0/usr/local/lib/python2.5/compiler/transformer.pyRŲ¼s
cCs|i|dƒS(Ni(Rn(RHRi((s0/usr/local/lib/python2.5/compiler/transformer.pyRŚĘscCs|dS(Ni((RHR`((s0/usr/local/lib/python2.5/compiler/transformer.pyR–ŹscCsJ|i|ƒ}|ittttfjo|Sntd|ii‚dS(s…Return node suitable for lvalue of augmented assignment

        Names, slices, and attributes are the only allowable nodes.
        scan't assign to %sN(Rnt	__class__R"tSlicet	SubscriptRoR$R(RHR`R"((s0/usr/local/lib/python2.5/compiler/transformer.pyR•ĪscCs|xu|d}|titititifjo5t|ƒdjo|i||ƒSn|d}q|tjo.t|ƒdjo
td‚n|d}q|ti	joÕ|ddti
jo
td‚nt|ƒdjo|i|dƒ}x^tdt|ƒdƒD]C}||}|dt
ijo
td‚n|i||ƒ}qW|i||d|ƒSn|d}q|ti
joŃ|dd}|t
ijo/|d}|dt
ijo
td‚qdqu|t
ijo?|d}|dt
ijo
td‚n|i||ƒSqu|t
ijo|i|d|ƒSqutd‚qtd	|‚qdS(
Niiiscan't assign to operatori’’’’scan't assign to ()scan't assign to []scan't assign to literalsbad assignment (%s)(R1texprlistRŽt
testlist_safeRāR+tcom_assign_tuplet
_assign_typesR$RRRnR†R6RRtcom_assign_trailerR9RR;Rtcom_assign_listREtcom_assign_name(RHR`t	assigningR	tprimaryRktch((s0/usr/local/lib/python2.5/compiler/transformer.pyR“ŲsN
%








cCs\g}x=tdt|ƒdƒD]#}|i|i|||ƒƒqWt|dt|ƒƒS(NiiR((R†R+RR“tAssTupleR%(RHR`R>tassignsRk((s0/usr/local/lib/python2.5/compiler/transformer.pyR9s
!cCs g}xtdt|ƒdƒD]g}|dt|ƒjo-||ddtijo
td‚qin|i|i|||ƒƒqWt|dt|ƒƒS(Niiis"can't assign to list comprehensionR((	R†R+R1tlist_forR$RR“tAssListR%(RHR`R>RBRk((s0/usr/local/lib/python2.5/compiler/transformer.pyR<
s
!cCst|d|d|dƒS(NiR(i(tAssName(RHR`R>((s0/usr/local/lib/python2.5/compiler/transformer.pyR=scCs’|dd}|tijo|i||d|ƒSn|tijo|i||d|ƒSn|tijo
td‚ntd|‚dS(Niiiscan't assign to function callsunknown trailer type: %s(R6tDOTtcom_assign_attrR;tcom_subscriptlistR9R$(RHR?R`R>R	((s0/usr/local/lib/python2.5/compiler/transformer.pyR;s
cCst||d|d|dƒS(NiR(i’’’’(tAssAttr(RHR?R`R>((s0/usr/local/lib/python2.5/compiler/transformer.pyRG!scCs”t|ƒ}|djo%|d}|i|ƒ|dƒSng}xDtd|dƒD]0}||}|i|i|ƒ|dƒƒqWW||dt|ƒƒS(s=Compile 'NODE (OP NODE)*' into (type, [ node1, ..., nodeN ]).iiiR((R+RR†RR%(RHtconstructorRiR"RaR3Rk((s0/usr/local/lib/python2.5/compiler/transformer.pyRÜ$s


$cCs>|i|ƒ|dƒ}t|tƒo|Snt|gƒS(Ni(RR$Rh(RHR`Rė((s0/usr/local/lib/python2.5/compiler/transformer.pyRb0scCsN|i|ƒ|dƒ}t|tƒo|i|iƒn|i|ƒdS(Ni(RR$RhtextendR!R(RHRlR`Rė((s0/usr/local/lib/python2.5/compiler/transformer.pyRf7sRCcCsŖg}xŠtdt|ƒƒD]s}||dtijo|i|d||ƒSn ||dtijoqn|i|i||ƒƒqWt	|d|di
ƒS(NiiR((R†R+R1RCtcom_list_comprehensionR6RŸRRnRR((RHRitvaluesRk((s0/usr/local/lib/python2.5/compiler/transformer.pyR@s
cCso|dd}g}xE|o=|dd}|djo|i|dtƒ}|i|dƒ}t||gƒ}|dd|_|i|ƒt|ƒdjo
d}qW|i|dƒ}q|djoq|i|dƒ}	t	|	d|ddƒ}
|i
i|
ƒt|ƒdjo
d}qW|i|dƒ}qtd	||f‚qWt||d|ƒS(
NiitforiitifR(is,unexpected list comprehension element: %s %d(
R“RRntListCompForR(RR+Rt
com_list_itert
ListCompIftifsR$tListComp(RHRUR`R(tforsR	RÓRŌtnewforRįtnewif((s0/usr/local/lib/python2.5/compiler/transformer.pyRLMs2




cCs|dS(Ni((RHR`((s0/usr/local/lib/python2.5/compiler/transformer.pyRQpscCsZg}x:tdt|ƒdƒD] }|i|i||ƒƒqWt|d|diƒS(NiiR(i(R†R+RRnRR((RHRiRMRk((s0/usr/local/lib/python2.5/compiler/transformer.pyRts
RßcCs|dd}g}xB|o:|dd}|djoŠ|i|dtƒ}|i|dƒ}t||gd|ddƒ}|i|ƒt|ƒdjo
d}qT|i|dƒ}q|djoq|i|dƒ}	t|	d|ddƒ}
|i	i|
ƒt|ƒdjo
d}qT|i|dƒ}qt
d	||f‚qWt|d
_t
t||ƒd|ƒS(NiiRNiR(iROis.unexpected generator expression element: %s %di(R“RRnt
GenExprForRR+Rtcom_gen_itert	GenExprIfRSR$tTruet
is_outmosttGenExprtGenExprInner(RHRUR`R(RUR	RÓtgenNodeRVRįRW((s0/usr/local/lib/python2.5/compiler/transformer.pyRą{s4





cCs|dS(Ni((RHR`((s0/usr/local/lib/python2.5/compiler/transformer.pyRYscCsug}xQtdt|ƒdƒD]7}|i|i||ƒ|i||dƒfƒqWt|d|ddiƒS(NiiiR(i(R†R+RRnRR((RHRiR3Rk((s0/usr/local/lib/python2.5/compiler/transformer.pyR”scCsš|dd}|tijo|i||dƒSn|tijo|i||dƒSn|tijo|i||dtƒSntd|‚dS(Niiisunknown node type: %s(	R6R9RrRFtcom_select_memberR;RHRR$(RHtprimaryNodeRiR	((s0/usr/local/lib/python2.5/compiler/transformer.pyR©scCs<|dtijo
td‚nt||dd|dƒS(Nismember must be a nameiR(i(R6RER$Ro(RHRaRi((s0/usr/local/lib/python2.5/compiler/transformer.pyR`“s
c

CsC|dtijot|gdt|ƒƒSng}d}t|ƒ}xÕtd|dƒD]·}||}|dtijp|dtijoPn|i||ƒ\}}|djoHt	|t
ƒo8t|ƒdjo%|ddtijo
t
d‚n|i|ƒq\W|d}||jo&||dtijo|d}nd}	}
xĆ||joµ||}||d}|d}|dtijo-|	dj	o
t
d‚n|i|ƒ}	qa|dtijo-|
dj	o
t
d‚n|i|ƒ}
qat
d	|‚qaWt|||	|
dt|ƒƒS(
NiR(iiis&generator expression needs parenthesiss$already have the varargs indentifiers#already have the kwargs indentifiersunknown node type: %s(R6RtCallFuncR%R+R†R¼Rtcom_argumentR$R]R1RßR$RRŸRRn(
RHRaRiR-tkwtlen_nodelistRkR`Rėt	star_nodet
dstar_nodettokR@((s0/usr/local/lib/python2.5/compiler/transformer.pyRr¹sF
(+

%







cCsDt|ƒdjoI|ddtijo1|i|dƒ}d|i||dƒfSnt|ƒdjo/|o
td‚nd|i|dƒfSn|i|dƒ}|d}x6t|ƒdjo"|dtijo|d}q¾W|dtijotd|d‚nt|d|d|dƒ}d|fS(Niiiis!non-keyword arg after keyword args#keyword can't be an expression (%s)R((	R+R1RßRnRąR$R6REtKeyword(RHRiRdRįRėRaR`((s0/usr/local/lib/python2.5/compiler/transformer.pyRcäs +

'c	Csņt|ƒdjo€|d}|ddtijp+t|ƒdjo-|ddtijo/|ddtijo|i|||ƒSq“ng}x:tdt|ƒdƒD] }|i|i||ƒƒq²Wt	|||dt
|ƒƒS(Niiii’’’’R((R+R6R€R1RŽt	com_sliceR†Rt
com_subscriptR6R%(RHR?RiR>tsubt
subscriptsRk((s0/usr/local/lib/python2.5/compiler/transformer.pyRHõs
+cCsˆ|d}|d}|tijo#|ddtijotƒSn|tijpt|ƒdjo|i|ƒSn|i|ƒS(Niii(R6RFtEllipsisR€R+tcom_sliceobjRn(RHR`R@R	((s0/usr/local/lib/python2.5/compiler/transformer.pyRk	s

(#cCsEg}|ddtijo|itdƒƒd}n!|i|i|dƒƒd}|t|ƒjo@||dtijo(|i|i||ƒƒ|d}n|itdƒƒxkt	|t|ƒƒD]T}||}t|ƒdjo|itdƒƒq×|i|i|dƒƒq×Wt
|dt|ƒƒS(NiiiiR((R6R€RR¬RRnR+R1RįR†tSliceobjR%(RHR`R3RktjR@((s0/usr/local/lib/python2.5/compiler/transformer.pyRos"

+
cCsæd}}t|ƒdjoF|ddtijo|i|dƒ}q |i|dƒ}n>t|ƒdjo*|i|dƒ}|i|dƒ}nt||||dt|ƒƒS(NiiiiiR((RR+R6R€RnR5R%(RHR?R`R>tlowertupper((s0/usr/local/lib/python2.5/compiler/transformer.pyRj7s
c
CsŹ|djo|d}|d}n|tijoft|ƒdjo|i|dƒSnx3|D]+}|dtijo|i|ƒSqdqdWdSn|tijo>x3|D]+}|dtijo|i|ƒSq²q²WdSn|tijoS|ddti	jo3d}x"|D]}|t
|dƒ}qW|SndSn|tijp |tijp|tijo|i|dƒSn|t
jo(t|ƒdjo|i|dƒSndS(NiiRV(RR1RSR+RdR…R[RR6RCRR‡t
small_stmtt
_doc_nodes(RHR`RaRltsR	((s0/usr/local/lib/python2.5/compiler/transformer.pyRdEs>

  N(€RRt__doc__RKRRRRRXRPRZR[R\RqRtRwR^R]told_lambdefR_R…Rtt	flow_stmtt
compound_stmtR‡RˆRxR‰RŠR‹RŒRRŽRRR¤R„R¦RØRŖR­R®R°RµR¶R¹RĀRÄRĘRČRĪRŃRÕR×RŁRŪRSRŽR8t	testlist1R7RāRįRētold_testRéRģRņRURõR÷RüRR
RRRR8R:R<R>R@R!RBRDRRnR5RyR#R%R»R'RøR(R¾R‚RÖRŲRŚR–R•R“R9R<R=R;RGRÜRbRfRR1RRLRQRąRYRRR`RrRcRHRkRoRjRRd(((s0/usr/local/lib/python2.5/compiler/transformer.pyR_sü							
						!																																
												!				
			
	
													2					
		
			)	
			
	,		
		
					
	#
		"
				+			
	$	t<t>s==s<=s>=s!=R®R°cCs|g}xo|D]g}t|tƒo|iti||ƒƒq
t|tƒo|i|ƒq
|it|ƒƒq
W|S(N(R$tintRt_namestgetR,t
debug_tree(RQR"R((s0/usr/local/lib/python2.5/compiler/transformer.pyR‚És(TRwtcompiler.astRNR1R6tsyst
StandardErrorRtcompiler.constsRRRRRRR
RR%R/RRRŽR8RįRēRéRģRņRURõR÷RüRR
RRRutLESStGREATERtEQEQUALR’t	LESSEQUALtGREATEREQUALtNOTEQUALRīR^R_R…RtRyR‡RzR¤R„R¦RØRŖR­RµR¶RÄRĘRČRĪRŃRÕR×RŁRSR7Rt_legal_node_typesRRR®R°R:R€R2R3Rtvttok_nameR‚(((s0/usr/local/lib/python2.5/compiler/transformer.pys<module>	sŲ
	
			
	’’’’’

Man Man