MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/self/root/proc/3/cwd/usr/lib/python2.4/compiler/future.pyc
mò
‚=5Dc@sÊdZdklZlZd„Zdfd„ƒYZdfd„ƒYZd„Zedjohd	k	Z	d
kl
Z
lZxIe	idD]6ZeGHe
eƒZ
eƒZee
eƒeiGHHqˆWnd	S(sParser for future statements

(sastswalkcCs;t|tiƒpdSn|idjodSndSdS(s:Return true if statement is a well-formed future statementit
__future__iN(t
isinstancetstmttasttFromtmodname(R((t%/usr/lib/python2.4/compiler/future.pyt	is_futurestFutureParsercBs2tZdZd„Zd„Zd„Zd„ZRS(	Nt
nested_scopest
generatorstdivisioncCs
h|_dS(N(tselftfound(R((Rt__init__scCs6|i}x&|iD]}|i|ƒpPqqWdS(N(tnodeRtnodestsRt
check_stmt(RRRR((RtvisitModules
	
cCsjt|ƒoYxE|iD]:\}}||ijod|i|<qtd|‚qWd|_	dSndS(Nis future feature %s is not definedi(
RRtnamestnametasnameRtfeaturesR
tSyntaxErrortvalid_future(RRRR((RRs

	cCs
|iiƒS(s4Return list of features enabled by future statementsN(RR
tkeys(R((Rtget_features)s(R	R
R(t__name__t
__module__RRRRR(((RRs
			tBadFutureParsercBstZdZd„ZRS(s#Check for invalid future statementscCs=t|dƒodSn|idjodSntd‚dS(NRRsinvalid future statement(thasattrRRR(RR((Rt	visitFrom0s
(RRt__doc__R (((RR-scCs6tƒ}tƒ}t||ƒt||ƒ|iƒS(N(Rtp1Rtp2twalkRR(RR#R"((Rtfind_futures7s
		

t__main__N(s	parseFileswalki(R!tcompilerRR$RRRR%Rtsyst	parseFiletargvtfilettreetvR
(RR,R%R$R(R)R+R-RRR((Rt?s