/opt/alt/python-internal/lib64/python3.11/importlib/__pycache__
NameSizeModeActions
abc.cpython-311.opt-1.pyc145130644editdlrm
abc.cpython-311.opt-2.pyc95990644editdlrm
abc.cpython-311.pyc145130644editdlrm
machinery.cpython-311.opt-1.pyc13220644editdlrm
machinery.cpython-311.opt-2.pyc11880644editdlrm
machinery.cpython-311.pyc13220644editdlrm
readers.cpython-311.opt-1.pyc5510644editdlrm
readers.cpython-311.opt-2.pyc3870644editdlrm
readers.cpython-311.pyc5510644editdlrm
simple.cpython-311.opt-1.pyc5620644editdlrm
simple.cpython-311.opt-2.pyc3990644editdlrm
simple.cpython-311.pyc5620644editdlrm
util.cpython-311.opt-1.pyc152320644editdlrm
util.cpython-311.opt-2.pyc124280644editdlrm
util.cpython-311.pyc152320644editdlrm
_abc.cpython-311.opt-1.pyc23650644editdlrm
_abc.cpython-311.opt-2.pyc14380644editdlrm
_abc.cpython-311.pyc23650644editdlrm
_bootstrap.cpython-311.opt-1.pyc562620644editdlrm
_bootstrap.cpython-311.opt-2.pyc497690644editdlrm
_bootstrap.cpython-311.pyc578220644editdlrm
_bootstrap_external.cpython-311.opt-1.pyc718330644editdlrm
_bootstrap_external.cpython-311.opt-2.pyc613600644editdlrm
_bootstrap_external.cpython-311.pyc723320644editdlrm
__init__.cpython-311.opt-1.pyc66820644editdlrm
__init__.cpython-311.opt-2.pyc60300644editdlrm
__init__.cpython-311.pyc66820644editdlrm
Edit: /opt/alt/python-internal/lib64/python3.11/importlib/__pycache__/util.cpython-311.pyc (15232B)
§ ¾[ÂÔ8’·ãóP—dZddlmZddlmZddlmZddlmZddlmZddlm Z ddlm Z dd lm Z dd lm Z dd lm Z dd lmZd dlmZd dlZd dlZd dlZd dlZd dlZd dlZd„Zd„Zdd„Zdd„Zed„¦«Zd„Zd„Zd„ZGd„dej¦«Z Gd„de¦«Z!dS)z-Utility code for constructing importers, etc.é)ÚLoader)Úmodule_from_spec)Ú _resolve_name)Úspec_from_loader)Ú _find_spec)Ú MAGIC_NUMBER)Ú_RAW_MAGIC_NUMBER)Úcache_from_source)Ú decode_source)Úsource_from_cache)Úspec_from_file_locationé)ÚcontextmanagerNcó6—tjt|¦«S)zBReturn the hash of *source_bytes* as used in hash-based pyc files.)Ú_impÚ source_hashr )Ú source_bytess ú;/opt/alt/python-internal/lib64/python3.11/importlib/util.pyrrs€å Ô Õ-¨|Ñ <Ô <Ð<ócóΗ| d¦«s|S|s tdt|¦«›d�¦«‚d}|D]}|dkrn|dz }Œt||d…||¦«S)z2Resolve a relative module name to an absolute one.ú.zno package specified for z% (required for relative module names)rrN)Ú startswithÚ ImportErrorÚreprr)ÚnameÚpackageÚlevelÚ characters rÚ resolve_namers£€à �?Š?˜3Ñ Ô ðB؈ Ø ðBÝðAµd¸4±j´jðAðAðAñBôBð Bà €EØððˆ Ø ˜Ò Ð Ø ˆEØ �‰ ˆˆÝ ˜˜e˜f˜fœ w°Ñ 6Ô 6Ð6rcó(—|tjvrt||¦«Stj|}|€dS |j}|€"t d |¦«¦«‚|S#t $r$t d |¦«¦«d‚wxYw)a‡Return the spec for the specified module. First, sys.modules is checked to see if the module was already imported. If so, then sys.modules[name].__spec__ is returned. If that happens to be set to None, then ValueError is raised. If the module is not in sys.modules, then sys.meta_path is searched for a suitable spec with the value of 'path' given to the finders. None is returned if no spec could be found. Dotted names do not have their parent packages implicitly imported. You will most likely need to explicitly import all parent packages in the proper order for a submodule to get the correct spec. Nú{}.__spec__ is Noneú{}.__spec__ is not set)ÚsysÚmodulesrÚ__spec__Ú ValueErrorÚformatÚAttributeError)rÚpathÚmoduleÚspecs rÚ_find_spec_from_pathr,+s¬€ð •3”;ÐÐݘ$ Ñ%Ô%Ð%唘TÔ"ˆØ ˆ>Ø�4ð Ø”?ˆDðˆ|Ý Ð!6×!=Ò!=¸dÑ!CÔ!CÑDÔDÐD؈Køõ ð Nð Nð NÝÐ5×<Ò<¸TÑBÔBÑCÔCÈÐ Mð Nøøøs ¶A#Á#.Bcó>—| d¦«rt||¦«n|}|tjvrt| d¦«d}|rEt |dg¬¦«} |j}n,#t$r}td|›d|›�|¬¦«|‚d}~wwxYwd}t||¦«Stj|}|€dS |j }|€"td   |¦«¦«‚|S#t$r$td   |¦«¦«d‚wxYw) a¯Return the spec for the specified module. First, sys.modules is checked to see if the module was already imported. If so, then sys.modules[name].__spec__ is returned. If that happens to be set to None, then ValueError is raised. If the module is not in sys.modules, then sys.meta_path is searched for a suitable spec with the value of 'path' given to the finders. None is returned if no spec could be found. If the name is for submodule (contains a dot), the parent module is automatically imported. The name and package arguments work the same as importlib.import_module(). In other words, relative module names (with leading dots) work. rrÚ__path__)Úfromlistz __path__ attribute not found on z while trying to find )rNr!r") rrr#r$Ú rpartitionÚ __import__r.r(ÚModuleNotFoundErrorrr%r&r') rrÚfullnameÚ parent_nameÚparentÚ parent_pathÚer*r+s rÚ find_specr8Js}€ð"/3¯oªo¸cÑ.BÔ.BÐL�|˜D 'Ñ*Ô*Ð*È€HØ•s”{Ð"Ð"Ø×)Ò)¨#Ñ.Ô.¨qÔ1ˆ Ø ð Ý  °z°lÐCÑCÔCˆFð PØ$œo� � øÝ!ð Pð Pð PÝ)ð9°{ð9ð9Ø,4ð9ð9Ø?GðIñIôIàNOðPøøøøð Pøøøð ˆKݘ( KÑ0Ô0Ð0唘XÔ&ˆØ ˆ>Ø�4ð Ø”?ˆDðˆ|Ý Ð!6×!=Ò!=¸dÑ!CÔ!CÑDÔDÐD؈Køõ ð Nð Nð NÝÐ5×<Ò<¸TÑBÔBÑCÔCÈÐ Mð Nøøøs$Á&A.Á. BÁ8BÂBÃC.Ã..Dc#óbK—|tjv}tj |¦«}|s3tt¦«|¦«}d|_|tj|< |V—n1#t $r$|s tj|=n#t $rYnwxYwYnwxYwd|_dS#d|_wxYw)NTF)r#r$ÚgetÚtypeÚ__initializing__Ú ExceptionÚKeyError)rÚ is_reloadr*s rÚ_module_to_loadr@wsãèè€à�œ Ð#€Iå Œ[�_Š_˜TÑ "Ô "€FØ ð#ð••c‘”˜4‘”ˆð#'ˆÔØ"�Œ �DÑð (؈ ˆ ˆ ˆ øÝ ðððØð ð Ý”K Ð%Ð%øÝð ð ð Ø�ð øøøøøð øøøð#(ˆÔÐÐø %ˆÔÐ'Ð'Ð'Ð'sNÁ&A+Á*B%Á+ BÁ8 BÂB BÂBÂBÂBÂB%ÂBÂB%Â% B.cóF‡—tj‰¦«ˆfd„¦«}|S)zOSet __package__ on the returned module. This function is deprecated. cóô•—tjdtd¬¦«‰|i|¤Ž}t|dd¦«€A|j|_t |d¦«s%|j d¦«d|_|S)NúkThe import system now takes care of this automatically; this decorator is slated for removal in Python 3.12é©Ú stacklevelÚ __package__r.rr)ÚwarningsÚwarnÚDeprecationWarningÚgetattrÚ__name__rGÚhasattrr0)ÚargsÚkwargsr*Úfxns €rÚset_package_wrapperz(set_package..set_package_wrapper—s�ø€åŒ ðLå(°Qð 8ñ 8ô 8ð 8ð��dÐ%˜fÐ%Ð%ˆÝ �6˜=¨$Ñ /Ô /Ð 7Ø!'¤ˆFÔ Ý˜6 :Ñ.Ô.ð KØ%+Ô%7×%BÒ%BÀ3Ñ%GÔ%GÈÔ%J�Ô"؈ r©Ú functoolsÚwraps)rPrQs` rÚ set_packagerU‘s;ø€õ „_�SÑÔð ð ð ð ñÔð ð ÐrcóF‡—tj‰¦«ˆfd„¦«}|S)zNSet __loader__ on the returned module. This function is deprecated. c󈕗tjdtd¬¦«‰|g|¢Ri|¤Ž}t|dd¦«€||_|S)NrCrDrEÚ __loader__)rHrIrJrKrX)ÚselfrNrOr*rPs €rÚset_loader_wrapperz&set_loader..set_loader_wrapper«sgø€åŒ ðLå(°Qð 8ñ 8ô 8ð 8ð��TÐ+˜DÐ+Ð+Ð+ FÐ+Ð+ˆÝ �6˜<¨Ñ .Ô .Ð 6Ø $ˆFÔ Øˆ rrR)rPrZs` rÚ set_loaderr[¥s;ø€õ „_�SÑÔððððñÔðð Ðrcó~‡—tjdtd¬¦«tj‰¦«ˆfd„¦«}|S)a*Decorator to handle selecting the proper module for loaders. The decorated function is passed the module to use instead of the module name. The module passed in to the function is either from sys.modules if it already exists or is a new module. If the module is new, then __name__ is set the first argument to the method, __loader__ is set to self, and __package__ is set accordingly (if self.is_package() is defined) will be set before it is passed to the decorated function (if self.is_package() does not work for the module it will be set post-load). If an exception is raised and the decorator created the module it is subsequently removed from sys.modules. The decorator assumes that the decorated function takes the module name as the second argument. rCrDrEcó.•—t|¦«5}||_ | |¦«}|r||_n8| d¦«d|_n#t t f$rYnwxYw‰||g|¢Ri|¤Žcddd¦«S#1swxYwYdS)Nrr)r@rXÚ is_packagerGr0rr()rYr3rNrOr*r^rPs €rÚmodule_for_loader_wrapperz4module_for_loader..module_for_loader_wrapperÌs ø€å ˜XÑ &Ô &ð 6¨&Ø $ˆFÔ ð EØ!Ÿ_š_¨XÑ6Ô6� ððEØ)1�FÔ&Ð&à)1×)<Ò)<¸SÑ)AÔ)AÀ!Ô)D�FÔ&Ð&øõ  ¥Ð0ð ð ð Ø�ð øøøð�3�t˜VÐ5 dÐ5Ð5Ð5¨fÐ5Ð5ð 6ð 6ð 6ð 6ñ 6ô 6ð 6ð 6ð 6ð 6ð 6ð 6øøøð 6ð 6ð 6ð 6ð 6ð 6s3‘B šA¯+B ÁA.Á+B Á-A.Á.B  BÂB)rHrIrJrSrT)rPr_s` rÚmodule_for_loaderr`·saø€õ$ „MðHå$°ð4ñ4ô4ð4õ„_�SÑÔð 6ð 6ð 6ð 6ñÔð 6ð %Ð$rcó—eZdZdZd„Zd„ZdS)Ú _LazyModulezKA subclass of the module type which triggers loading upon attribute access.có|—t |d¦«}|j}|d5t |d¦«tu�rH|dr't ||¦«cddd¦«Sd|d<t |d¦«}|j}|d}|}i}| ¦«D]@\} } | |vr| || <Œt || ¦«t || ¦«kr| || <ŒA|j |¦«|tj vrCt |¦«t tj |¦«krtd|›d �¦«‚|  |¦«tj|_ddd¦«n #1swxYwYt!||¦«S) z8Trigger the load of the module and return the attribute.r%ÚlockÚ __class__Ú is_loadingNTÚ__dict__zmodule object for z. substituted in sys.modules during a lazy load)ÚobjectÚ__getattribute__Ú loader_staterbrÚitemsÚidÚloaderÚ exec_moduler#r$r&ÚupdateÚtypesÚ ModuleTypererK) rYÚattrr%rjrgÚ original_nameÚ attrs_thenÚ attrs_nowÚ attrs_updatedÚkeyÚvalues rriz_LazyModule.__getattribute__ãs*€å×*Ò*¨4°Ñ<Ô<ˆØÔ,ˆ Ø ˜&Ô !ð+ 2ð+ 2õ×&Ò& t¨[Ñ9Ô9½[ÐHÑHð    Ô-ð?Ý!×2Ò2°4¸Ñ>Ô>ð+ 2ð+ 2ð+ 2ð+ 2ñ+ 2ô+ 2ð+ 2ð+ 2ð.2� ˜\Ñ*å!×2Ò2°4¸ÑDÔD�ð !)¤ � ð*¨*Ô5� Ø$� Ø "� Ø"+§/¢/Ñ"3Ô"3ð3ð3‘J�C˜ð *Ð,Ð,Ø-2˜  cÑ*Ð*ݘI cœNÑ+Ô+­r°*¸S´/Ñ/BÔ/BÒBÐBØ-2˜  cÑ*øØ”×+Ò+¨DÑ1Ô1Ð1ð!¥C¤KÐ/Ð/ݘ$‘x”x¥2¥c¤k°-Ô&@Ñ#AÔ#AÒAÐAÝ(ð*1¸mð*1ð*1ð*1ñ2ô2ð2ð —’  Ñ.Ô.Ð.å!&Ô!1�”ðW+ 2ð+ 2ð+ 2ñ+ 2ô+ 2ð+ 2ð+ 2ð+ 2ð+ 2ð+ 2ð+ 2øøøð+ 2ð+ 2ð+ 2ð+ 2õZ�t˜TÑ"Ô"Ð"s«AF#Á>DF#Æ#F'Æ*F'cóP—| |¦«t||¦«dS)z/Trigger the load and then perform the deletion.N)riÚdelattr)rYrrs rÚ __delattr__z_LazyModule.__delattr__s.€ð ×Ò˜dÑ#Ô#Ð#Ý��dÑÔÐÐÐrN)rLÚ __module__Ú __qualname__Ú__doc__rir{©rrrbrbßs9€€€€€àUÐUð1#ð1#ð1#ðfððððrrbcóP—eZdZdZed„¦«Zed„¦«Zd„Zd„Z d„Z dS)Ú LazyLoaderzKA loader that creates a module which defers loading until attribute access.cóD—t|d¦«std¦«‚dS)Nrnz loader must define exec_module())rMÚ TypeError)rms rÚ__check_eager_loaderzLazyLoader.__check_eager_loader"s0€å�v˜}Ñ-Ô-ð @ÝÐ>Ñ?Ô?Ð ?ð @ð @rcó<‡‡—‰ ‰¦«ˆˆfd„S)z>Construct a callable which returns the eager loader made lazy.có&•—‰‰|i|¤Ž¦«S©Nr)rNrOÚclsrms €€rúz$LazyLoader.factory..+s ø€ s s¨6¨6°4Ð+B¸6Ð+BÐ+BÑ'CÔ'C€r)Ú_LazyLoader__check_eager_loader)rˆrms``rÚfactoryzLazyLoader.factory's,øø€ð × Ò  Ñ(Ô(Ð(ØCÐCÐCÐCÐCÐCrcó>—| |¦«||_dSr‡)rŠrm)rYrms rÚ__init__zLazyLoader.__init__-s!€Ø ×!Ò! &Ñ)Ô)Ð)؈Œ ˆ ˆ rcó6—|j |¦«Sr‡)rmÚ create_module)rYr+s rr�zLazyLoader.create_module1s€ØŒ{×(Ò(¨Ñ.Ô.Ð.rcóö—|j|j_|j|_i}|j ¦«|d<|j|d<t j¦«|d<d|d<||j_t|_dS)zMake the module load lazily.rgrerdFrfN) rmr%rXrgÚcopyreÚ threadingÚRLockrjrb)rYr*rjs rrnzLazyLoader.exec_module4sx€à!%¤ˆŒÔØ œKˆÔð ˆ Ø#)¤?×#7Ò#7Ñ#9Ô#9ˆ �ZÑ Ø$*Ô$4ˆ �[Ñ!Ý(œÑ0Ô0ˆ �VÑØ%*ˆ �\Ñ"Ø'3ˆŒÔ$Ý&ˆÔÐÐrN) rLr|r}r~Ú staticmethodrŠÚ classmethodr‹r�r�rnrrrr�r�s�€€€€€àUÐUàð@ð@ñ„\ð@ððDðDñ„[ðDð ððð/ð/ð/ð'ð'ð'ð'ð'rr�r‡)"r~Ú_abcrÚ _bootstraprrrrÚ_bootstrap_externalrr r r r r Ú contextlibrrrSr#r’rprHrrr,r8r@rUr[r`rqrbr�rrrúršsðØ3Ð3ØÐÐÐÐÐØ(Ð(Ð(Ð(Ð(Ð(Ø%Ð%Ð%Ð%Ð%Ð%Ø(Ð(Ð(Ð(Ð(Ð(Ø"Ð"Ð"Ð"Ð"Ð"Ø-Ð-Ð-Ð-Ð-Ð-Ø2Ð2Ð2Ð2Ð2Ð2Ø2Ð2Ð2Ð2Ð2Ð2Ø.Ð.Ð.Ð.Ð.Ð.Ø2Ð2Ð2Ð2Ð2Ð2Ø8Ð8Ð8Ð8Ð8Ð8à%Ð%Ð%Ð%Ð%Ð%Ø € € € ØÐÐÐØ € € € ØÐÐÐØ € € € Ø€€€ð=ð=ð=ð 7ð 7ð 7ððððð>*ð*ð*ð*ðZð(ð(ñ„ð(ð2ððð(ððð$%%ð%%ð%%ðP<ð<ð<ð<ð<�%Ô"ñ<ô<ð<ð~$'ð$'ð$'ð$'ð$'�ñ$'ô$'ð$'ð$'ð$'r