Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
usr
/
lib
/
python2.4
/
compiler
/
Upload File :
New :
File
Dir
//proc/self/root/usr/lib/python2.4/compiler/future.pyc
mò ‚=5Dc�����������@���sÊ���d��Z��d�k�l�Z�l�Z�d�„��Z�d�f��d�„��ƒ��YZ�d�f��d�„��ƒ��YZ�d�„��Z�e�d�j�oh�d �k �Z �d �k�l �Z �l�Z�xI�e �i�d�D]6�Z�e�GHe �e�ƒ�Z �e�ƒ��Z�e�e �e�ƒ�e�i�GHHqˆ�Wn�d �S(���s���Parser for future statements (���s���asts���walkc���������C���s;���t��|��t�i�ƒ�p�d�Sn�|��i�d�j�o�d�Sn�d�Sd�S(���s:���Return true if statement is a well-formed future statementi����t ���__future__i���N(���t ���isinstancet���stmtt���astt���Fromt���modname(���R���(����(����t%���/usr/lib/python2.4/compiler/future.pyt ���is_future���s�����t���FutureParserc�����������B���s2���t��Z�d�Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�RS( ���Nt ���nested_scopest ���generatorst���divisionc���������C���s ���h��|��_�d��S(���N(���t���selft���found(���R���(����(����R���t���__init__���s����c���������C���s6���|�i��}�x&�|�i�D]�}�|��i�|�ƒ�p�Pq�q�Wd��S(���N(���t���nodeR���t���nodest���sR���t ���check_stmt(���R���R���R���R���(����(����R���t���visitModule���s ���� �c���������C���sj���t��|�ƒ�oY�xE�|�i�D]:�\�}�}�|�|��i�j�o�d�|��i�|�<q�t�d�|�‚�q�Wd�|�_ �d�Sn�d�S(���Ni���s ���future feature %s is not definedi����( ���R���R���t���namest���namet���asnameR���t���featuresR ���t���SyntaxErrort���valid_future(���R���R���R���R���(����(����R���R������s���� � c���������C���s ���|��i�i�ƒ��S(���s4���Return list of features enabled by future statementsN(���R���R ���t���keys(���R���(����(����R���t���get_features)���s�����(���R ���R ���R���(���t���__name__t ���__module__R���R���R���R���R���(����(����(����R���R������s ��� t���BadFutureParserc�����������B���s���t��Z�d��Z�d�„��Z�RS(���s#���Check for invalid future statementsc���������C���s=���t��|�d�ƒ�o�d��Sn�|�i�d�j�o�d��Sn�t�d�‚�d��S(���NR���R����s���invalid future statement(���t���hasattrR���R���R���(���R���R���(����(����R���t ���visitFrom0���s ����(���R���R���t���__doc__R ���(����(����(����R���R���-���s����c���������C���s6���t��ƒ��}�t�ƒ��}�t�|��|�ƒ�t�|��|�ƒ�|�i�ƒ��S(���N(���R���t���p1R���t���p2t���walkR���R���(���R���R#���R"���(����(����R���t���find_futures7���s ���� t���__main__N(���s ���parseFiles���walki���(���R!���t���compilerR���R$���R���R���R���R%���R���t���syst ���parseFilet���argvt���filet���treet���vR ���(���R���R,���R%���R$���R(���R)���R+���R-���R���R���R���(����(����R���t���?���s ��� �