MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.133.138.129
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /../lib64/python2.7/compiler/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //../lib64/python2.7/compiler/future.pyo
�
o��fc@s�dZddlmZmZd�Zdd
d��YZddd��YZd�Zed	kr�dd
l	Z	ddlm
Z
mZxHe	jdD]6ZeGHe
e�Z
e�Zee
e�ejGHHq�Wnd
S(sParser for future statements

i����(tasttwalkcCs1t|tj�sdS|jdkr)dSdSdS(s:Return true if statement is a well-formed future statementit
__future__iN(t
isinstanceRtFromtmodname(tstmt((s'/usr/lib64/python2.7/compiler/future.pyt	is_futures
tFutureParsercBs2eZdZd�Zd�Zd	�Zd
�ZRS(t
nested_scopest
generatorstdivisiontabsolute_importtwith_statementtprint_functiontunicode_literalscCs
i|_dS(N(tfound(tself((s'/usr/lib64/python2.7/compiler/future.pyt__init__scCs4|j}x$|jD]}|j|�sPqqWdS(N(tnodetnodest
check_stmt(RRRts((s'/usr/lib64/python2.7/compiler/future.pytvisitModules	cCsct|�r_xC|jD]8\}}||jkrAd|j|<qtd|�qWd|_dSdS(Nis future feature %s is not definedi(RtnamestfeaturesRtSyntaxErrortvalid_future(RRtnametasname((s'/usr/lib64/python2.7/compiler/future.pyRs	cCs
|jj�S(s4Return list of features enabled by future statements(Rtkeys(R((s'/usr/lib64/python2.7/compiler/future.pytget_features+s(R	R
RRR
RR(t__name__t
__module__RRRRR(((s'/usr/lib64/python2.7/compiler/future.pyRs			tBadFutureParsercBseZdZd�ZRS(s#Check for invalid future statementscCs=t|d�rdS|jdkr&dStdt|��dS(NRRsinvalid future statement (thasattrRRtrepr(RR((s'/usr/lib64/python2.7/compiler/future.pyt	visitFrom2s
(R R!t__doc__R%(((s'/usr/lib64/python2.7/compiler/future.pyR"/scCs6t�}t�}t||�t||�|j�S(N(RR"RR(Rtp1tp2((s'/usr/lib64/python2.7/compiler/future.pytfind_futures9s
		

t__main__N(t	parseFileRi(((R&tcompilerRRRRR"R)R tsysR+targvtfilettreetvR(((s'/usr/lib64/python2.7/compiler/future.pyt<module>s		
		


MMCT - 2023