[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.149.240.196: ~ $
U

��,a"�@sPddlZddlmZddlmZddlmZGdd�de�ZGdd	�d	e�Z	dS)
�N�)�PatternCompiler)�pygram)�does_tree_importc@s�eZdZdZdZdZdZdZe�	d�Z
e�ZdZ
dZdZdZdZdZejZdd�Zdd	�Zd
d�Zdd
�Zdd�Zddd�Zdd�Zddd�Zdd�Zdd�Zdd�Z dS)�BaseFixNrZpostF�cCs||_||_|��dS�N)�options�log�compile_pattern)�selfr	r
�r
�7/opt/alt/python38/lib64/python3.8/lib2to3/fixer_base.py�__init__/szBaseFix.__init__cCs,|jdk	r(t�}|j|jdd�\|_|_dS)NT)Z	with_tree)�PATTERNrr�pattern�pattern_tree)rZPCr
r
rr;s

�zBaseFix.compile_patterncCs
||_dSr)�filename)rrr
r
r�set_filenameFszBaseFix.set_filenamecCsd|i}|j�||�o|S)N�node)r�match�rrZresultsr
r
rrMs	z
BaseFix.matchcCs
t��dSr)�NotImplementedErrorrr
r
r�	transformYszBaseFix.transform�xxx_todo_changemecCs2|}||jkr"|tt|j��}q|j�|�|Sr)�
used_names�str�next�numbers�add)r�template�namer
r
r�new_nameis

zBaseFix.new_namecCs.|jrd|_|j�d|j�|j�|�dS)NFz### In file %s ###)�	first_logr
�appendr)r�messager
r
r�log_messagetszBaseFix.log_messagecCs>|��}|��}d|_d}|�|||f�|r:|�|�dS)N�zLine %d: could not convert: %s)�
get_linenoZclone�prefixr&)rr�reason�linenoZ
for_output�msgr
r
r�cannot_convertzszBaseFix.cannot_convertcCs|��}|�d||f�dS)NzLine %d: %s)r(r&)rrr*r+r
r
r�warning�szBaseFix.warningcCs(|j|_|�|�t�d�|_d|_dS)NrT)rr�	itertools�countrr#�rZtreerr
r
r�
start_tree�s
zBaseFix.start_treecCsdSrr
r1r
r
r�finish_tree�szBaseFix.finish_tree)r)N)!�__name__�
__module__�__qualname__rrrr	rr/r0r�setr�orderZexplicitZ	run_orderZ_accept_typeZkeep_line_orderZ
BM_compatiblerZpython_symbolsZsymsrrrrrr"r&r-r.r2r3r
r
r
rrs2




rcs(eZdZdZ�fdd�Zdd�Z�ZS)�ConditionalFixNcstt|�j|�d|_dSr)�superr9r2�_should_skip)r�args��	__class__r
rr2�szConditionalFix.start_treecCsJ|jdk	r|jS|j�d�}|d}d�|dd��}t|||�|_|jS)N�.���)r;�skip_on�split�joinr)rrZpkgr!r
r
r�should_skip�s
zConditionalFix.should_skip)r4r5r6rAr2rD�
__classcell__r
r
r=rr9�sr9)
r/Zpatcomprr'rZ
fixer_utilr�objectrr9r
r
r
r�<module>s

Filemanager

Name Type Size Permission Actions
__init__.cpython-38.opt-1.pyc File 144 B 0644
__init__.cpython-38.opt-2.pyc File 144 B 0644
__init__.cpython-38.pyc File 144 B 0644
__main__.cpython-38.opt-1.pyc File 228 B 0644
__main__.cpython-38.opt-2.pyc File 228 B 0644
__main__.cpython-38.pyc File 228 B 0644
btm_matcher.cpython-38.opt-1.pyc File 4.78 KB 0644
btm_matcher.cpython-38.opt-2.pyc File 3.24 KB 0644
btm_matcher.cpython-38.pyc File 4.78 KB 0644
btm_utils.cpython-38.opt-1.pyc File 6.02 KB 0644
btm_utils.cpython-38.opt-2.pyc File 4.54 KB 0644
btm_utils.cpython-38.pyc File 6.02 KB 0644
fixer_base.cpython-38.opt-1.pyc File 6.12 KB 0644
fixer_base.cpython-38.opt-2.pyc File 3.43 KB 0644
fixer_base.cpython-38.pyc File 6.12 KB 0644
fixer_util.cpython-38.opt-1.pyc File 11.93 KB 0644
fixer_util.cpython-38.opt-2.pyc File 9.81 KB 0644
fixer_util.cpython-38.pyc File 11.93 KB 0644
main.cpython-38.opt-1.pyc File 8.39 KB 0644
main.cpython-38.opt-2.pyc File 6.68 KB 0644
main.cpython-38.pyc File 8.42 KB 0644
patcomp.cpython-38.opt-1.pyc File 5.29 KB 0644
patcomp.cpython-38.opt-2.pyc File 4.79 KB 0644
patcomp.cpython-38.pyc File 5.52 KB 0644
pygram.cpython-38.opt-1.pyc File 1.25 KB 0644
pygram.cpython-38.opt-2.pyc File 1.04 KB 0644
pygram.cpython-38.pyc File 1.25 KB 0644
pytree.cpython-38.opt-1.pyc File 23.12 KB 0644
pytree.cpython-38.opt-2.pyc File 14.62 KB 0644
pytree.cpython-38.pyc File 23.79 KB 0644
refactor.cpython-38.opt-1.pyc File 19.94 KB 0644
refactor.cpython-38.opt-2.pyc File 15.99 KB 0644
refactor.cpython-38.pyc File 19.98 KB 0644