grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026o ±f‡jÔã@s  ddlZddlZddlZddlZddlZddlZddlZddlZgd¢Z Gdd„de ƒZ Gdd„dej ƒZ dd„Z dd d „Zd d„ZedkrNeƒdSdS)éN)ÚcompileÚmainÚPyCompileErrorÚPycInvalidationModec@s eZdZ ddd„Zdd„ZdS)rÚcCst|j}|turd t ||¡¡}| dd|¡}nd||f}t ||p%||||¡||_||_ ||_ |p6||_ dS)NrzFile ""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ú1/opt/alt/python310/lib64/python3.10/py_compile.pyr.sÿ zPyCompileError.__init__cCs|jS)N)r)rrrrÚ__str__>szPyCompileError.__str__N)r)rÚ __module__Ú __qualname__rrrrrrrs  rc@seZdZdZdZdZdS)réééN)rrrÚ TIMESTAMPÚ CHECKED_HASHÚUNCHECKED_HASHrrrrrBsrcCs$tj d¡rtj d¡stjStjS)NÚSOURCE_DATE_EPOCHÚRPM_BUILD_ROOT)ÚosÚenvironÚgetrr rrrrrÚ_get_default_invalidation_modeHs  ÿr'Féÿÿÿÿc CsÄ |durtƒ}|dur'|dkr!|dkr|nd}tjj||d�}ntj |¡}tj |¡r6d}t| |¡ƒ‚tj  |¡rKtj  |¡sKd}t| |¡ƒ‚tj   d|¡} |   |¡} z | j| |p^||d�} Wn-ty�} z!t| j| |pr|ƒ} |d kr…|r|| ‚tj | jd ¡WYd} ~ dSd} ~ wwztj |¡}|rŸt |¡Wn ty©Ynw|tjkrÁ|  |¡}tj | |d |d ¡}ntj | ¡}tj | ||tjk¡}tj  |¡}tj !|||¡|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 )Ú _optimizerÚ ÚmtimeÚsize)"r'Ú importlibÚutilÚcache_from_sourcer$ÚpathÚislinkÚFileExistsErrorÚformatÚexistsÚisfileÚ machineryÚSourceFileLoaderÚget_dataÚsource_to_coder rÚ __class__ÚsysÚstderrÚwriterÚdirnameÚmakedirsrrÚ path_statsÚ_bootstrap_externalÚ_code_to_timestamp_pycÚ source_hashÚ_code_to_hash_pycr Ú _calc_modeÚ _write_atomic)rÚcfileÚdfileÚdoraiseÚoptimizeÚinvalidation_modeÚquietr)rÚloaderÚ source_bytesÚcodeÚerrÚpy_excr?Ú source_statsÚbytecoderDÚmoderrrrPsj+ÿ     ÿ€ù  € ÿ  ÿ ý rc Csddl}d}|j|d�}|jddddd�|jd d d d �| ¡}|jd gkr2dd„tj ¡Dƒ}n|j}|D]N}zt|dd�Wq7t yc}z|j rR|  d¡n|  d|j ¡WYd}~q7d}~wt y…}z|j rs|  d¡n|  dt|ƒ¡WYd}~q7d}~wwdS)Nrz6A simple command-line interface for py_compile module.)Ú descriptionz-qz--quietÚ store_truezSuppress error output)ÚactionÚhelpÚ filenamesú+zFiles to compile)ÚnargsrYú-cSsg|]}| d¡‘qS)r+)Úrstrip)Ú.0ÚfilenamerrrÚ Âszmain..T)rJr)ÚargparseÚArgumentParserÚ add_argumentÚ parse_argsrZr<ÚstdinÚ readlinesrrrMÚexitrÚOSErrorÚstr)rbrVÚparserÚargsrZr`Úerrorrrrr±s@ ýý  € €üørÚ__main__)NNFr(Nr)ÚenumZimportlib._bootstrap_externalr.Úimportlib.machineryÚimportlib.utilr$Zos.pathr<r Ú__all__r rÚEnumrr'rrrrrrrÚs(0 ÿa# ÿ