grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026a XC?h3ã@sddlZddlZddlZddlZddlZddlZddlmZm Z ddgZ Gdd„de ƒZ Gdd„de ƒZ dd d „Zd d d „Zefd d„ZGdd„deƒZd!dd„Zd"dd„Zefdd„Zdd„Zd#dd„Zedk�r eejƒdk�rôedejd�nejd=eejdƒdS)$éN)Ú read_codeÚ get_importerÚ run_moduleÚrun_pathc@s$eZdZdd„Zdd„Zdd„ZdS)Ú _TempModulecCs||_t |¡|_g|_dS©N)Úmod_nameÚtypesÚ ModuleTypeÚmoduleÚ _saved_module©Úselfr©rú*/opt/alt/python39/lib64/python3.9/runpy.pyÚ__init__s z_TempModule.__init__cCs@|j}z|j tj|¡Wnty.Yn0|jtj|<|Sr)rr ÚappendÚsysÚmodulesÚKeyErrorr r rrrÚ __enter__ s  z_TempModule.__enter__cGs.|jr|jdtj|j<n tj|j=g|_dS©Nr)r rrr©rÚargsrrrÚ__exit__)s z_TempModule.__exit__N©Ú__name__Ú __module__Ú __qualname__rrrrrrrrs rc@s$eZdZdd„Zdd„Zdd„ZdS)Ú_ModifiedArgv0cCs||_tƒ|_|_dSr)ÚvalueÚobjectÚ _saved_valueÚ _sentinel)rr rrrr1sz_ModifiedArgv0.__init__cCs0|j|jurtdƒ‚tjd|_|jtjd<dS)NzAlready preserving saved valuer)r"r#Ú RuntimeErrorrÚargvr )rrrrr5s  z_ModifiedArgv0.__enter__cGs|j|_|jtjd<dSr)r#r r"rr%rrrrr;sz_ModifiedArgv0.__exit__Nrrrrrr0src Csn|dur| |¡|dur(d}|}d} n |j}|j}|j} |durH|j}|j||| d|||d�t||ƒ|S)N)rÚ__file__Ú __cached__Ú__doc__Ú __loader__Ú __package__Ú__spec__)ÚupdateÚloaderÚoriginÚcachedÚparentÚexec) ÚcodeZ run_globalsÚ init_globalsrÚmod_specÚpkg_nameÚ script_namer-Úfnamer/rrrÚ _run_code@s* ú r8c Cs†|dur |n|j}t|ƒ�T}t|ƒ�,|jj}t|||||||ƒWdƒn1sV0YWdƒn1st0Y| ¡Sr)r.rrr Ú__dict__r8Úcopy) r2r3rr4r5r6r7Ú temp_moduleÚ mod_globalsrrrÚ_run_module_codeZsÿ@r=c Csd| d¡r|dƒ‚| d¡\}}}|rÂz t|ƒWnJty|}z2|jdusf|j|krh| |jd¡sh‚WYd}~n d}~00tj |¡}|durÂt|dƒsÂddl m }dj ||d�}|t |ƒƒzt j |¡}Wnvttttf�yH} zTd}| d ¡�r|d |dd …›d |›d �7}||  |t| ƒj| ¡ƒ| ‚WYd} ~ n d} ~ 00|du�r`|d|ƒ‚|jdu�rä|dk�s‚| d¡�rŠ|dƒ‚z|d} t| |ƒWS|�yâ}z*|tjv�r¾‚|d||fƒ‚WYd}~n d}~00|j} | du�r|d|ƒ‚z|  |¡} Wn4t�yB}z|t |ƒƒ|‚WYd}~n d}~00| du�rZ|d|ƒ‚||| fS)NÚ.z#Relative module names not supportedÚ__path__r)Úwarnzš{mod_name!r} found in sys.modules after import of package {pkg_name!r}, but prior to execution of {mod_name!r}; this may result in unpredictable behaviour)rr5z:Error while finding module specification for {!r} ({}: {})z.pyz . Try using 'éýÿÿÿz' instead of 'z' as the module name.zNo module named %sÚ__main__z .__main__z%Cannot use package as __main__ modulez3%s; %r is a package and cannot be directly executedz0%r is a namespace package and cannot be executedzNo code object available for %s)Ú startswithÚ rpartitionÚ __import__Ú ImportErrorÚnamerrÚgetÚhasattrÚwarningsr@ÚformatÚRuntimeWarningÚ importlibÚutilÚ find_specÚAttributeErrorÚ TypeErrorÚ ValueErrorÚendswithÚtyperÚsubmodule_search_locationsÚ_get_module_detailsr-Úget_code) rÚerrorr5Ú_ÚeZexistingr@ÚmsgÚspecZexZ pkg_main_namer-r2rrrrVhsj  ÿ  ý  ÿ 0     ÿ ÿ$  rVc@s eZdZdS)Ú_ErrorN)rrrrrrrr]¥sr]Tc Csšz0|s|dkr t|tƒ\}}}nttƒ\}}}Wn<tyl}z$dtj|f}t |¡WYd}~n d}~00tjdj}|rŠ|jtj d<t ||dd|ƒS)NrBz%s: %sr) rVr]Ú_get_main_module_detailsrÚ executableÚexitrr9r.r%r8)rZ alter_argvr4r2Úexcr[Z main_globalsrrrÚ_run_module_as_main¬s    ÿrbFcCs@t|ƒ\}}}|dur|}|r,t||||ƒSt|i|||ƒSdSr)rVr=r8)rr3Úrun_nameZ alter_sysr4r2rrrrÈs c Cs˜d}tj|}tj|=zpzt|ƒWW|tj|<Styx}z2|t|ƒvrb|d|tjdfƒ|‚‚WYd}~n d}~00W|tj|<n |tj|<0dS)NrBzcan't find %r module in %rr)rrrVrFÚstrÚpath)rXZ main_nameZ saved_mainrarrrr^æs    ù  ÿÿr^cCsŽtj t |¡¡}t |¡�}t|ƒ}Wdƒn1s:0Y|dur†t |¡� }t| ¡|dƒ}Wdƒn1s|0Y||fS)Nr1) ÚosreÚabspathÚfsdecodeÚioÚ open_coderÚcompileÚread)rcr7Z decoded_pathÚfr2rrrÚ_get_code_from_fileùs & .rnc Cs’|dur d}| d¡d}t|ƒ}d}t|ƒjdkrFt|ƒjdkrFd}t|tdƒƒsX|rxt||ƒ\}}t|||||d�Stj   d|¡zÞt ƒ\}} }t |ƒ�Ž} t |ƒ�d| jj} t|| ||| |ƒ ¡WdƒWdƒWztj  |¡WSt�yYS0S1�s0YWdƒn1�s20YWztj  |¡Wnt�ybYn0n(ztj  |¡Wnt�yŠYn00dS) Nz r>rFZimpZ NullImporterT)r5r6)rDrrTrrÚ isinstancernr=rreÚinsertr^rrr r9r8r:ÚremoverR) Z path_namer3rcr5ZimporterZis_NullImporterr2r7rr4r;r<rrrrsHÿ  ÿÿ$ú6ýrBéz!No module specified for execution)Úfile)NNNNN)NNNNN)T)NNF)NN)rÚimportlib.machineryrMÚimportlib.utilrir rfZpkgutilrrÚ__all__r!rrr8r=rFrVÚ Exceptionr]rbrr^rnrrÚlenr%ÚprintÚstderrrrrrÚ s@ÿþ þ  = ÿ   6