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/symbols.pyc

³ò
h”Rc@sNdZddklZddklZlZlZlZlZddk	l
Z
ddkZddkZdZ
ddd„ƒYZd	efd
„ƒYZdefd„ƒYZd
efd„ƒYZdefd„ƒYZdefd„ƒYZddd„ƒYZd„Zedjo4ddkZddklZlZddkZd„ZxúeidD]çZeGHeeƒZeiƒZ ei!ƒeie edƒZ"ee"ƒZ#eeƒZ$eƒZ%ee$e%ƒe%i&e$iƒZ'ee#e'ƒp1HdGeGHe(e#ƒGHe(e'ƒGHei)dƒnhZ*e*i+e%i&ƒe*e$=e*i,ƒZ&[*xôe"i-ƒD]æZ%e%i.ƒoÓgZ/e&D]'Z0e0i1e%i2ƒjoe/e0qvqv[/Z3e4e3ƒdjodGe%i2ƒGHq>eee%i5ƒƒe3diƒƒpHe%i2ƒGHe(ee%i5ƒƒƒGHe(e3diƒƒGHei)dƒq>qXqXWq[WndS( sModule symbol-table generatoriÿÿÿÿ(tast(tSC_LOCALt	SC_GLOBALtSC_FREEtSC_CELLt
SC_UNKNOWN(tmangleNitScopecBs¤eZdd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d„Zd	„Zd
„Z
d„Zd„Zd
„Zd„Zd„Zd„ZRS(cCsÁ||_||_h|_h|_h|_h|_h|_h|_g|_d|_
d|_d|_|dj	oDxAt
t|ƒƒD])}||djo|||_PqŒqŒWndS(Nt_(tnametmoduletdefstusestglobalstparamstfreestcellstchildrentNonetnestedt	generatortklasstrangetlen(tselfR	R
Rti((s,/usr/local/lib/python2.5/compiler/symbols.pyt__init__s$												

cCsd|ii|ifS(Ns<%s: %s>(t	__class__t__name__R	(R((s,/usr/local/lib/python2.5/compiler/symbols.pyt__repr__$scCs(|idjo|Snt||iƒS(N(RRR(RR	((s,/usr/local/lib/python2.5/compiler/symbols.pyR'scCsd|i|i|ƒ<dS(Ni(RR(RR	((s,/usr/local/lib/python2.5/compiler/symbols.pytadd_def,scCsd|i|i|ƒ<dS(Ni(RR(RR	((s,/usr/local/lib/python2.5/compiler/symbols.pytadd_use/scCs‡|i|ƒ}|ii|ƒp|ii|ƒon|ii|ƒotd||if‚nd|i|<|ii	|ƒdS(Ns %s in %s is global and parameteri(
RRthas_keyRRtSyntaxErrorR	R
R
R(RR	((s,/usr/local/lib/python2.5/compiler/symbols.pyt
add_global2s&
cCs-|i|ƒ}d|i|<d|i|<dS(Ni(RRR(RR	((s,/usr/local/lib/python2.5/compiler/symbols.pyt	add_param<s
cCs@h}|i|iƒ|i|iƒ|i|iƒ|iƒS(N(tupdateRRR
tkeys(Rtd((s,/usr/local/lib/python2.5/compiler/symbols.pyt	get_namesAs
cCs|ii|ƒdS(N(Rtappend(Rtchild((s,/usr/local/lib/python2.5/compiler/symbols.pyt	add_childHscCs|iS(N(R(R((s,/usr/local/lib/python2.5/compiler/symbols.pytget_childrenKscCs™ti|iI|iodpdIJtidI|iIJtidI|iIJtidI|iIJtidI|iIJtidI|iIJdS(NRts
	globals: s	cells: s	defs: s	uses: s	frees:(	tsyststderrR	RR
RRRR(R((s,/usr/local/lib/python2.5/compiler/symbols.pytDEBUGNs'cCs£|ii|ƒotSn|ii|ƒotSn|ii|ƒotSn|io.|ii|ƒp|i	i|ƒot
Sn|iotSntSdS(sbReturn scope of name.

        The scope of a name could be LOCAL, GLOBAL, FREE, or CELL.
        N(R
R RRRRRRRRRR(RR	((s,/usr/local/lib/python2.5/compiler/symbols.pyt
check_nameVs
cCs€|ipdSnh}|i|iƒxK|iiƒD]:}|ii|ƒp|ii|ƒpd||<q8q8W|iƒS(Ni((RR$RRR%RR R
(RtfreeR	((s,/usr/local/lib/python2.5/compiler/symbols.pyt
get_free_varsis
cCsQxJ|iD]?}|iƒ}|i|ƒ}x|D]}|i|ƒq2Wq
WdS(N(RR2t	add_freestforce_global(RR)RR
R	((s,/usr/local/lib/python2.5/compiler/symbols.pythandle_childrents
cCsmd|i|<|ii|ƒo|i|=nx8|iD]-}|i|ƒtjo|i|ƒq8q8WdS(sÞForce name to be global in scope.

        Some child of the current node had a free reference to name.
        When the child was processed, it was labelled a free
        variable.  Now that all its enclosing scope have been
        processed, the name is known to be a global or builtin.  So
        walk back down the child chain and set the name to be global
        rather than free.

        Be careful to stop if a child does not think the name is
        free.
        iN(R
RR RR0RR4(RR	R)((s,/usr/local/lib/python2.5/compiler/symbols.pyR4{s


cCsg}x|D]}|i|ƒ}|io©|tjp|tjpt|tƒod|i|<q|tjo|i|ƒqt|t	ƒo|t
jod|i|<q|tjo|i|ƒqq
|t
jod|i|<q
|tjo|i|ƒq
q
W|S(sþProcess list of free vars from nested scope.

        Returns a list of names that are either 1) declared global in the
        parent or 2) undefined in a top-level parent.  In either case,
        the nested scope should treat them as globals.
        i(
R0RRRt
isinstancet
ClassScopeRRR(t
FunctionScopeRRR(Rtnamest
child_globalsR	tsc((s,/usr/local/lib/python2.5/compiler/symbols.pyR3s&




cCs
|iiƒS(N(RR%(R((s,/usr/local/lib/python2.5/compiler/symbols.pyt
get_cell_varsªsN(Rt
__module__RRRRRRR"R#R'R*R+R/R0R2R5R4R3R<(((s,/usr/local/lib/python2.5/compiler/symbols.pyR
s"					
										tModuleScopecBseZeiZd„ZRS(cCs|id|ƒdS(Ntglobal(t_ModuleScope__super_init(R((s,/usr/local/lib/python2.5/compiler/symbols.pyR°s(RR=RRR@(((s,/usr/local/lib/python2.5/compiler/symbols.pyR>­s	R8cBseZRS((RR=(((s,/usr/local/lib/python2.5/compiler/symbols.pyR8³stGenExprScopecBs,eZeiZdZdd„Zd„ZRS(icCs@|i}|id7_|id|||ƒ|idƒdS(Nisgenerator expression<%d>s.0(t_GenExprScope__countert_GenExprScope__super_initR#(RR
RR((s,/usr/local/lib/python2.5/compiler/symbols.pyR»s	cCsti|ƒ}|S(N(RR'(RR%((s,/usr/local/lib/python2.5/compiler/symbols.pyR'ÁsN(RR=RRRCRBRR'(((s,/usr/local/lib/python2.5/compiler/symbols.pyRA¶s	tLambdaScopecBs#eZeiZdZdd„ZRS(icCs3|i}|id7_|id|||ƒdS(Nis	lambda.%d(t_LambdaScope__countert_LambdaScope__super_init(RR
RR((s,/usr/local/lib/python2.5/compiler/symbols.pyRÊs	N(RR=RRRFRER(((s,/usr/local/lib/python2.5/compiler/symbols.pyRDÅs	R7cBseZeiZd„ZRS(cCs|i|||ƒdS(N(t_ClassScope__super_init(RR	R
((s,/usr/local/lib/python2.5/compiler/symbols.pyRÒs(RR=RRRG(((s,/usr/local/lib/python2.5/compiler/symbols.pyR7Ïs	t
SymbolVisitorcBseZd„Zd„ZeZd„Zd„Zd„Zd„Zd„Z	dd„Z
d	„Zd
„Zd„Z
dd„Zd
„Zd„Zd„Zd„Zd„Zdd„Zdd„Zdd„Zdd„Zd„ZeieieifZd„Zd„ZRS(cCsh|_d|_dS(N(tscopesRR(R((s,/usr/local/lib/python2.5/compiler/symbols.pyRÖs	cCs2tƒ}|_|i|<|i|i|ƒdS(N(R>R
RItvisittnode(RRKtscope((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitModuleÜscCsÞ|io|i|i|ƒn|i|iƒx!|iD]}|i||ƒq;Wt|i|i|iƒ}|ipt	|tƒo
d|_n||i
|<|i||iƒ|i|i
|ƒ|i||ƒdS(Ni(t
decoratorsRJRR	tdefaultsR8R
RRR6RIt_do_argstargnamestcodethandle_free_vars(RRKtparenttnRL((s,/usr/local/lib/python2.5/compiler/symbols.pyt
visitFunctionâs



cCs€t|i|iƒ}|ip t|tƒpt|tƒo
d|_n||i|<|i|i|ƒ|i	||ƒdS(Ni(
RAR
RRR6R8RIRJRRRS(RRKRTRL((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitGenExprðs

cCs;x!|iD]}|i||ƒq
W|i|i|ƒdS(N(tqualsRJtexpr(RRKRLtgenfor((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitGenExprInnerûs
cCsQ|i|i|dƒ|i|i|ƒx!|iD]}|i||ƒq3WdS(Ni(RJtassigntitertifs(RRKRLtif_((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitGenExprFors

cCs|i|i|ƒdS(N(RJttest(RRKRL((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitGenExprIfsicCs¶|pt‚x!|iD]}|i||ƒqWt|i|iƒ}|ipt|tƒo
d|_n||i	|<|i
||iƒ|i|i|ƒ|i
||ƒdS(Ni(tAssertionErrorRORJRDR
RRR6R8RIRPRQRRRS(RRKRTR\RURL((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitLambda
s


cCsLxE|D]=}t|ƒtijo|i||ƒq|i|ƒqWdS(N(ttypettypest	TupleTypeRPR#(RRLtargsR	((s,/usr/local/lib/python2.5/compiler/symbols.pyRPs
cCs|i|ƒ|iƒdS(N(R*R5(RRLRT((s,/usr/local/lib/python2.5/compiler/symbols.pyRS!s
cCsð|i|iƒx!|iD]}|i||ƒqWt|i|iƒ}|ipt|tƒo
d|_n|i	dj	o|idƒn|idƒ||i|<|i}|i|_|i|i
|ƒ||_|i||ƒdS(Nit__doc__R=(RR	tbasesRJR7R
RR6R8tdocRRIRRRRS(RRKRTRURLtprev((s,/usr/local/lib/python2.5/compiler/symbols.pyt
visitClass%s 



		cCs/|o|i|iƒn|i|iƒdS(N(RR	R(RRKRLR\((s,/usr/local/lib/python2.5/compiler/symbols.pyt	visitName<scCsa|i|i|dƒ|i|i|ƒ|i|i|ƒ|io|i|i|ƒndS(Ni(RJR\tlisttbodytelse_(RRKRL((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitForDs

cCsFx?|iD]4\}}|djoq
n|i|p|ƒq
WdS(Nt*(R9R(RRKRLR	tasname((s,/usr/local/lib/python2.5/compiler/symbols.pyt	visitFromKs


cCs\xU|iD]J\}}|idƒ}|djo|| }n|i|p|ƒq
WdS(Nt.iÿÿÿÿ(R9tfindR(RRKRLR	RtR((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitImportQs

cCs%x|iD]}|i|ƒq
WdS(N(R9R"(RRKRLR	((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitGlobalXs
cCs>x$|iD]}|i||dƒq
W|i|i|ƒdS(s.Propagate assignment flag down to child nodes.

        The Assign node doesn't itself contains the variables being
        assigned to.  Instead, the children in node.nodes are visited
        with the assign flag set to true.  When the names occur in
        those nodes, they are marked as defs.

        Some names that occur in an assignment target are not bound by
        the assignment, e.g. a name occurring inside a slice.  The
        visitor handles these nodes specially; they do not propagate
        the assign flag to their children.
        iN(tnodesRJRY(RRKRLRU((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitAssign\s
icCs|i|iƒdS(N(RR	(RRKRLR\((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitAssNamemscCs|i|i|dƒdS(Ni(RJRY(RRKRLR\((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitAssAttrpscCsA|i|i|dƒx$|iD]}|i||dƒq WdS(Ni(RJRYtsubs(RRKRLR\RU((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitSubscriptss
cCsb|i|i|dƒ|io|i|i|dƒn|io|i|i|dƒndS(Ni(RJRYtlowertupper(RRKRLR\((s,/usr/local/lib/python2.5/compiler/symbols.pyt
visitSlicexs


cCsZ|i|i|ƒt|itiƒo|i|i|dƒn|i|i|ƒdS(Ni(RJRKR6RtNameRY(RRKRL((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitAugAssignscCs¤x||iD]q\}}t|tiƒo2t|iƒ|ijo|ipq
qWq[n|i||ƒ|i||ƒq
W|io|i|i|ƒndS(N(	ttestsR6RtConstRetvaluet_const_typesRJRq(RRKRLRaRp((s,/usr/local/lib/python2.5/compiler/symbols.pytvisitIf‹s


cCs d|_|i|i|ƒdS(Ni(RRJR‡(RRKRL((s,/usr/local/lib/python2.5/compiler/symbols.pyt
visitYield˜s	( RR=RRMtvisitExpressionRVRWR[R`RbRdRPRSRmRnRrRuRxRyR{R|R}RR‚R„Rft
StringTypetIntTypet	FloatTypeRˆR‰RŠ(((s,/usr/local/lib/python2.5/compiler/symbols.pyRHÕs4																
	
cCst|ƒt|ƒjS(N(tsorted(tl1tl2((s,/usr/local/lib/python2.5/compiler/symbols.pytlist_eqœst__main__(t	parseFiletwalkcCsjg}g}|iƒD]}||iƒq~D]1}|idƒp
|idƒp||q2q2~S(Ns_[Rv(tget_symbolstget_namet
startswith(tsymst_[1]t_[2]ts((s,/usr/local/lib/python2.5/compiler/symbols.pyR'¤s8itexectoopstskippingi(((6RitcompilerRtcompiler.constsRRRRRt
compiler.miscRRfR-t
MANGLE_LENRR>R8RARDR7RHR’RR”R•tsymtableR'targvtfiletopentftreadtbuftcloseR™t	mod_namesttreeRœRItnames2RtexitR&R$tvaluesR–tis_namespaceRšR;R	R—tlRt
get_namespace(((s,/usr/local/lib/python2.5/compiler/symbols.pys<module>sn( 
Ç	
	
	
	

*

Man Man