Hexid M1n1 5h3ll MobiLe
HOME
+FILE
+DIR
Server Info
Mass Tools
Auto Unzip File
UpLite
Upload
Upmod
lib64
/
python2.7
/
Tools
/
scripts
/
_
[
Not.Writable
]
File Upload :
Gaszz
File://lib64/python2.7/Tools/scripts/cleanfuture.pyc
� �fc�����������@���s����d��Z��d�d�l�Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�d�a�d�a�d�a�d����Z�d����Z �d����Z �d�d �d�������YZ�e�d �k�r��e ����n��d�S(���s���cleanfuture [-d][-r][-v] path ... -d Dry run. Analyze, but don't make any changes to, files. -r Recurse. Search for all .py files in subdirectories too. -v Verbose. Print informative msgs. Search Python (.py) files for future statements, and remove the features from such statements that are already mandatory in the version of Python you're using. Pass one or more file and/or directory paths. When a directory path, all .py files within the directory will be examined, and, if the -r option is given, likewise recursively for subdirectories. Overwrites files in place, renaming the originals with a .bak extension. If cleanfuture finds nothing to change, the file is left alone. If cleanfuture does change a file, the changed file is a fixed-point (i.e., running cleanfuture on the resulting .py file won't change it again, at least not until you try it again with a later Python release). Limitations: You can do these things, but this tool won't help you then: + A future statement cannot be mixed with any other statement on the same physical line (separated by semicolon). + A future statement cannot contain an "as" clause. Example: Assuming you're using Python 2.2, if a file containing from __future__ import nested_scopes, generators is analyzed by cleanfuture, the line is rewritten to from __future__ import generators because nested_scopes is no longer optional in 2.2 but generators is. i����Ni����c����������G���sO���t��t�|����}�d�j�|���}�|�d�d�k�r;�|�d�7}�n��t�j�j�|���d��S(���Nt��� i����s��� (���t���mapt���strt���joint���syst���stderrt���write(���t���argst���stringst���msg(����(����s1���/usr/lib64/python2.7/Tools/scripts/cleanfuture.pyt���errprint2���s ���� c����������C���s����d�d��l��}��y#�|��j��t�j�d�d���\�}�}�Wn!�|��j�k �rR�}�t�|���d��SXx_�|�D]W�\�}�}�|�d�k�r�t�d�7a�qZ�|�d�k�r��t�d�7a�qZ�|�d�k�rZ�t�d�7a�qZ�qZ�W|�s��t�d�t���d��Sx�|�D]�}�t �|���q��Wd��S(���Ni����i���t���drvs���-ds���-rs���-vs���Usage:( ���t���getoptR���t���argvt���errorR ���t���dryrunt���recurset���verboset���__doc__t���check(���R���t���optsR���R ���t���ot���at���arg(����(����s1���/usr/lib64/python2.7/Tools/scripts/cleanfuture.pyt���main9���s$����# c���������C���s���t��j�j�|����r��t��j�j�|����r��t�r7�d�G|��GHn��t��j�|����}�xp�|�D]h�}�t��j�j�|��|���}�t�r��t��j�j�|���r��t��j�j�|���s��|�j����j �d���rM�t �|���qM�qM�Wd��St�r��d�G|��Gd�Gn��y�t�|����}�Wn.�t�k �r}�t �d�|��t�|���f���d��SXt�|�|����}�|�j����}�|�rA|�j����n��|�j����|�r�t�rmd�GHt�rmd�GHqmn��xw�|�D]o�\�}�} �} �d�|��|�d �| �d �f�GHx&�t�|�| �d ���D]�}�|�j�|�Gq�W| �d��k�r�d �GHqtd�GH| �GqtWt�s�|��d�}�t��j�j�|���rt��j�|���n��t��j�|��|���t�rCd �G|��Gd�G|�GHn��t�|��d���} �|�j�| ���| �j����t�r~d�G|��GHq~q�n�t�r�d�GHn��d��S(���Ns���listing directorys���.pyt���checkings���...s���%r: I/O Error: %ss���changed.s+���But this is a dry run, so leaving it alone.s���%r lines %d-%di���s ���-- deleteds ���-- change to:s���.bakt���renamedt���tot���ws ���wrote news ���unchanged.(���t���ost���patht���isdirt���islinkR���t���listdirR���R���t���lowert���endswithR���t���opent���IOErrorR ���R���t���FutureFindert���runt ���gettherestt���closeR���t���ranget���linest���Nonet���existst���removet���renameR���(���t���filet���namest���namet���fullnamet���fR ���t���fft���changedt���st���et���linet���it���bakt���g(����(����s1���/usr/lib64/python2.7/Tools/scripts/cleanfuture.pyR���N���sd����% R&���c�����������B���s5���e��Z�d�����Z�d����Z�d����Z�d����Z�d����Z�RS(���c���������C���s1���|�|��_��|�|��_�d�|��_�g��|��_�g��|��_�d��S(���Ni����(���R4���t���fnamet���ateofR+���R6���(���t���selfR4���R=���(����(����s1���/usr/lib64/python2.7/Tools/scripts/cleanfuture.pyt���__init__����s ���� c���������C���sH���|��j��r �d�S|��j�j����}�|�d�k�r4�d�|��_��n�|��j�j�|���|�S(���Nt����i���(���R>���R4���t���readlineR+���t���append(���R?���R9���(����(����s1���/usr/lib64/python2.7/Tools/scripts/cleanfuture.pyt���getline����s���� c���������C���s ��t��j�}�t��j�}�t��j�}�t��j�}�t��j�}�t��j�}�|��j�}�t��j�|��j ���j �}�|����\�} �} �\�}�}�\�} �}�}�x=�| �|�|�|�f�k�r��|����\�} �} �\�}�}�\�} �}�}�q{�Wx4�| �|�k�r��|����\�} �} �\�}�}�\�} �}�}�q��Wxx=�| �|�|�|�f�k�r1|����\�} �} �\�}�}�\�} �}�}�q��W| �|�k�oG| �d�k�sNPn��|�d�}�|����\�} �} �\�}�}�\�} �}�}�| �|�k�o�| �d�k�s�Pn��|����\�} �} �\�}�}�\�} �}�}�| �|�k�o�| �d�k�s�Pn��|����\�} �} �\�}�}�\�} �}�}�g��}�x��| �|�k�r�|�j�| ���|����\�} �} �\�}�}�\�} �}�}�| �|�k�oW| �d�k�s^Pn��|����\�} �} �\�}�}�\�} �}�}�qWd��}�| �|�k�r�| �}�|����\�} �} �\�}�}�\�} �}�}�n��| �|�k �r�t �d�|��j�|�|�f���g��S|�d�}�g��}�xs�|�D]k�}�t�t�|�d����}�|�d��k�r:|�j�|���q|�j����}�|�d��k�sq|�t�j�k�rdq|�j�|���qWt�|���t�|���k��r��t�|���d�k�r�d��}�n@�d�}�|�d �j�|���7}�|�d��k �r�|�d �|�7}�n��|�d�7}�|�j�|�|�|�f���q��q��W|�S(���Nt���fromi���t ���__future__t���importt���,s)���Skipping file %r; can't parse line %d: %si����s���from __future__ import s���, R����s��� (���t���tokenizet���STRINGt���NLt���NEWLINEt���COMMENTt���NAMEt���OPR6���t���generate_tokensRD���t���nextRC���R,���R ���R=���t���getattrRF���t���getMandatoryReleaseR���t���version_infot���lenR���(���R?���RJ���RK���RL���RM���RN���RO���R6���t���gett���typet���tokent���srowt���scolt���erowt���ecolR9���t ���startlinet���featurest���commentt���endlinet ���okfeaturesR4���t���objectt���released(����(����s1���/usr/lib64/python2.7/Tools/scripts/cleanfuture.pyR'�������sz���� $((( $$$ $(' c���������C���s+���|��j��r�d�|��_�n�|��j�j����|��_�d��S(���NRA���(���R>���t���therestR4���t���read(���R?���(����(����s1���/usr/lib64/python2.7/Tools/scripts/cleanfuture.pyR(�������s���� c���������C���s����|��j��}�|�s�t���g��|��_��|�j����xN�|�D]F�\�}�}�}�|�d��k�r^�|��j�|�|�d�5q/�|�g�|��j�|�|�d�+q/�W|�j�|��j���|��j�r��|�j�|��j���n��d��S(���Ni���(���R6���t���AssertionErrort���reverseR,���R+���t ���writelinesRd���R���(���R?���R4���R6���R7���R8���R9���(����(����s1���/usr/lib64/python2.7/Tools/scripts/cleanfuture.pyR�����s���� (���t���__name__t ���__module__R@���RD���R'���R(���R���(����(����(����s1���/usr/lib64/python2.7/Tools/scripts/cleanfuture.pyR&�������s ��� _ t���__main__(����( ���R���RF���RI���R���R���R���R���R���R ���R���R���R&���Ri���(����(����(����s1���/usr/lib64/python2.7/Tools/scripts/cleanfuture.pyt���<module>'���s��� 8�
Copyright © 2025 -
Tex7ure
|
Hillusion Exploit ID
Your Access Expired
Date. in :
14-03-2025
Regist :
09-12-2024
Expired :
01-12-2027