Your IP : 18.119.255.183


Current Path : /usr/lib64/python3.6/__pycache__/
Upload File :
Current File : //usr/lib64/python3.6/__pycache__/py_compile.cpython-36.opt-2.pyc

3


 \
�@s~ddlZddlZddlZddlZddlZddlZddlZdddgZGdd�de	�Z
ddd�Zd
d	d�Ze
d
krzeje��dS)�N�compile�main�PyCompileErrorc@seZdZddd�Zdd�ZdS)r�cCst|j}|tkr2djtj||��}|jdd|�}nd||f}tj||pJ||||�||_||_	||_
|pl||_dS)NrzFile "<string>"z	File "%s"z
Sorry: %s: %s)�__name__�SyntaxError�join�	traceback�format_exception_only�replace�	Exception�__init__�
exc_type_name�	exc_value�file�msg)�self�exc_typerrrr�tbtext�errmsg�r�"/usr/lib64/python3.6/py_compile.pyr
-s
zPyCompileError.__init__cCs|jS)N)r)rrrr�__str__=szPyCompileError.__str__N)r)r�
__module__�__qualname__r
rrrrrrs
F�cCs�|dkr>|dkr2|dkr|nd}tjj||d�}ntjj|�}tjj|�r^d}t|j|���n,tjj|�r�tjj	|�r�d}t|j|���tj
jd|�}|j|�}y|j
||p�||d�}	WnVtk
�r}
z8t|
j|
|p�|�}|r�|�ntjj|jd	�dSWYdd}
~
XnXy tjj|�}|�r0tj|�Wntk
�rHYnX|j|�}
tjj|	|
d
|
d�}tjj|�}tjj|||�|S)Nrrr)�optimizationzc{} is a symlink and will be changed into a regular file if import writes a byte-compiled file to itzk{} is a non-regular file and will be changed into a regular one if import writes a byte-compiled file to itz<py_compile>)�	_optimize�
�mtime�size)�	importlib�util�cache_from_source�os�path�islink�FileExistsError�format�exists�isfile�	machinery�SourceFileLoader�get_data�source_to_coderr�	__class__�sys�stderr�writer�dirname�makedirs�
path_stats�_bootstrap_external�_code_to_bytecode�
_calc_mode�
_write_atomic)r�cfile�dfile�doraise�optimizerr�loader�source_bytes�code�err�py_excr3�source_stats�bytecode�moderrrrAsF)


cCs"|dkrtjdd�}d}|dgkr�x�tjj�}|s6P|jd�}yt|dd�Wq&tk
r�}zd}tjjd|j	�WYdd}~Xq&t
k
r�}zd}tjjd|�WYdd}~Xq&Xq&WnZxX|D]P}yt|dd�Wq�tk
�r}zd}tjjd|j	�WYdd}~Xq�Xq�W|S)Nrr�-rT)r<z%s
)r0�argv�stdin�readline�rstriprrr1r2r�OSError)�args�rv�filename�errorrrrr�s0


"(
(�__main__���)NNFrQ)N)Zimportlib._bootstrap_externalr!�importlib.machinery�importlib.utilr$Zos.pathr0r	�__all__rrrrr�exitrrrr�<module>s
0
R
&

?>