File: //lib64/python3.6/__pycache__/py_compile.cpython-36.opt-2.pyc
3
\
@ s~ d dl Zd dlZd dlZd dlZd dlZd dlZd dlZdddgZG dd de Z
dddZd
d dZe
d
krzeje dS ) NcompilemainPyCompileErrorc @ s e Zd ZdddZdd ZdS )r c C st |j }|tkr2djtj||}|jdd| }nd||f }tj| |pJ|||| || _|| _ || _
|pl|| _d S )Nr zFile "<string>"z File "%s"z
Sorry: %s: %s)__name__SyntaxErrorjoin tracebackformat_exception_onlyreplace Exception__init__
exc_type_name exc_valuefilemsg)selfexc_typer r r r tbtexterrmsg r "/usr/lib64/python3.6/py_compile.pyr
- s
zPyCompileError.__init__c C s | j S )N)r )r r r r __str__= s zPyCompileError.__str__N)r )r
__module____qualname__r
r r r r r r s
F c C s |d kr>|dkr2|dkr|nd}t jj| |d}nt jj| }tjj|r^d}t|j|n,tjj|rtjj | rd}t|j|t j
jd| }|j| }y|j
||p| |d} W nV tk
r }
z8t|
j|
|p| }|r|ntjj|jd d S W Y d d }
~
X nX y tjj|}|r0tj| W n tk
rH Y nX |j| }
t jj| |
d
|
d }t jj| }t jj||| |S )Nr r r )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
mtimesize) importlibutilcache_from_sourceospathislinkFileExistsErrorformatexistsisfile machinerySourceFileLoaderget_datasource_to_coder r __class__sysstderrwriter dirnamemakedirs
path_stats_bootstrap_external_code_to_bytecode
_calc_mode
_write_atomic)r cfiledfiledoraiseoptimizer r loadersource_bytescodeerrpy_excr3 source_statsbytecodemoder r r r A sF )
c C s" | d krt jdd } d}| dgkrxt jj }|s6P |jd}yt|dd W q& tk
r } zd}t jjd|j W Y d d }~X q& t
k
r } zd}t jjd| W Y d d }~X q&X q&W nZxX| D ]P}yt|dd W q tk
r } zd}t jjd|j W Y d d }~X qX qW |S )Nr r -r T)r<