ó
    F\hë  ã                   óD  • S r SSKJr  SSKJr   SSKr SSKrSSK	J
r
  SSKrSSKrSSKJr  / S	QrS
 rS r " S S\R$                  S9r\" \\R(                  \R*                  \R,                  \R.                  5         " S S\R$                  S9r\" \\R2                  5         " S S\
5      r " S S\
5      r\" \\R(                  \R*                  \R8                  5         " S S\5      r\" \\R<                  \R>                  5         " S S\R@                  \\5      r \" \ \RB                  \RD                  5         " S S\RF                  \\5      r#\" \#\RB                  5        g! \ a  r\R                  S:w  a  e Sr SrCGNwSrCff = f! \ a    \r GN…f = f)z(Abstract base classes related to import.é   )Ú_bootstrap_external)Ú	machineryé    NÚ_frozen_importlib)ÚLoader)Úabc)r   ÚMetaPathFinderÚPathEntryFinderÚResourceLoaderÚInspectLoaderÚExecutionLoaderÚ
FileLoaderÚSourceLoaderc                 óÒ   • U [         R                  ;   a=  [        [         U 5      n[        R                  " [
         SU  3SS9  U[        5       U '   U$ [        S[
        < SU < 35      e)zo
For backwards compatibility, continue to make names
from _resources_abc available through this module. #93963
Ú.)é   é   )Úremovezmodule z has no attribute )Ú_resources_abcÚ__all__ÚgetattrÚwarningsÚ_deprecatedÚ__name__ÚglobalsÚAttributeError)ÚnameÚobjs     Ú$/usr/lib/python3.13/importlib/abc.pyÚ__getattr__r       sb   € ð
 Œ~×%Ñ%Ó%Ü”n dÓ+ˆÜ×Ò¤˜z¨¨4¨&Ð1¸'ÒBØŒ‹	�$‰Øˆ
Ü
˜7¤8¡,Ð.@ÀÁÐIÓ
JÐJó    c                 óö   • U HI  nU R                  U5        [        c  M   [        [        UR                  5      nU R                  U5        MK     g ! [         a    [        [
        UR                  5      n N<f = f)N)Úregisterr   r   r   r   Ú_frozen_importlib_external)Úabstract_clsÚclassesÚclsÚ
frozen_clss       r   Ú	_registerr)   )   sk   € ÛˆØ×Ñ˜cÔ"ÜÓ(ðOÜ$Ô%6¸¿¹ÓE�
ð ×!Ñ! *Ö-ò øô
 "ó OÜ$Ô%?ÀÇÁÓN’
ðOús   ¡AÁ$A8Á7A8c                   ó   • \ rS rSrSrS rSrg)r	   é4   z8Abstract base class for import finders on sys.meta_path.c                 ó   • g)zrAn optional method for clearing the finder's cache, if any.
This method is used by importlib.invalidate_caches().
N© ©Úselfs    r   Úinvalidate_cachesÚ MetaPathFinder.invalidate_caches;   ó   � r!   r-   N©r   Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r0   Ú__static_attributes__r-   r!   r   r	   r	   4   s
   † áBõ
r!   r	   )Ú	metaclassc                   ó   • \ rS rSrSrS rSrg)r
   éD   z>Abstract base class for path entry finders used by PathFinder.c                 ó   • g)zsAn optional method for clearing the finder's cache, if any.
This method is used by PathFinder.invalidate_caches().
Nr-   r.   s    r   r0   Ú!PathEntryFinder.invalidate_cachesH   r2   r!   r-   Nr3   r-   r!   r   r
   r
   D   s
   † áHõr!   r
   c                   ó<   • \ rS rSrSr\R                  S 5       rSrg)r   éP   z�Abstract base class for loaders which can return data from their
back-end storage.

This ABC represents one of the optional protocols specified by PEP 302.

c                 ó   • [         e)zoAbstract method which when implemented should return the bytes for
the specified path.  The path must be a str.)ÚOSError©r/   Úpaths     r   Úget_dataÚResourceLoader.get_dataY   s	   € ô ˆr!   r-   N)	r   r4   r5   r6   r7   r   ÚabstractmethodrD   r8   r-   r!   r   r   r   P   s!   † ñð 	×Ññó ór!   r   c                   ó´   • \ rS rSrSrS rS r\R                  S 5       r	\
S	S j5       r\R                  R                  r\R                  R                  rSrg)
r   é`   z¤Abstract base class for loaders which support inspection about the
modules they can load.

This ABC represents one of the optional protocols specified by PEP 302.

c                 ó   • [         e)z²Optional method which when implemented should return whether the
module is a package.  The fullname is a str.  Returns a bool.

Raises ImportError if the module cannot be found.
©ÚImportError©r/   Úfullnames     r   Ú
is_packageÚInspectLoader.is_packagei   s
   € ô Ðr!   c                 óN   • U R                  U5      nUc  gU R                  U5      $ )zõMethod which returns the code object for the module.

The fullname is a str.  Returns a types.CodeType if possible, else
returns None if a code object does not make sense
(e.g. built-in module). Raises ImportError if the module cannot be
found.
N)Ú
get_sourceÚsource_to_code)r/   rM   Úsources      r   Úget_codeÚInspectLoader.get_codeq   s+   € ð —‘ Ó*ˆØ‰>ØØ×"Ñ" 6Ó*Ð*r!   c                 ó   • [         e)zŸAbstract method which should return the source code for the
module.  The fullname is a str.  Returns a str.

Raises ImportError if the module cannot be found.
rJ   rL   s     r   rQ   ÚInspectLoader.get_source~   ó
   € ô Ðr!   c                 ó   • [        XSSS9$ )z¯Compile 'data' into a code object.

The 'data' argument can be anything that compile() can handle. The'path'
argument should be where the data was retrieved (when applicable).ÚexecT)Údont_inherit)Úcompile)ÚdatarC   s     r   rR   ÚInspectLoader.source_to_code‡   s   € ô �t 6¸Ñ=Ð=r!   r-   N)z<string>)r   r4   r5   r6   r7   rN   rT   r   rF   rQ   ÚstaticmethodrR   r   Ú_LoaderBasicsÚexec_moduleÚload_moduler8   r-   r!   r   r   r   `   sc   † ñòò+ð 	×Ññó ðð ó>ó ð>ð &×3Ñ3×?Ñ?€KØ%×3Ñ3×?Ñ?ƒKr!   r   c                   óB   • \ rS rSrSr\R                  S 5       rS rSr	g)r   é•   z¤Abstract base class for loaders that wish to support the execution of
modules as scripts.

This ABC represents one of the optional protocols specified in PEP 302.

c                 ó   • [         e)z€Abstract method which should return the value that __file__ is to be
set to.

Raises ImportError if the module cannot be found.
rJ   rL   s     r   Úget_filenameÚExecutionLoader.get_filenamež   rX   r!   c                 ó´   • U R                  U5      nUc  g U R                  U5      nU R                  X#5      $ ! [         a    U R                  U5      s $ f = f)zžMethod to return the code object for fullname.

Should return None if not applicable (e.g. built-in module).
Raise ImportError if the module cannot be found.
N)rQ   rf   rR   rK   )r/   rM   rS   rC   s       r   rT   ÚExecutionLoader.get_code§   sd   € ð —‘ Ó*ˆØ‰>Øð	5Ø×$Ñ$ XÓ.ˆDð ×&Ñ& vÓ4Ð4øô ó 	/Ø×&Ñ& vÓ.Ò.ð	/ús   —9 ¹AÁAr-   N)
r   r4   r5   r6   r7   r   rF   rf   rT   r8   r-   r!   r   r   r   •   s&   † ñð 	×Ññó ðõ5r!   r   c                   ó   • \ rS rSrSrSrg)r   é¾   zWAbstract base class partially implementing the ResourceLoader and
ExecutionLoader ABCs.r-   N)r   r4   r5   r6   r7   r8   r-   r!   r   r   r   ¾   s   † ôr!   r   c                   ó*   • \ rS rSrSrS rS rS rSrg)r   éÇ   aÀ  Abstract base class for loading source code (and optionally any
corresponding bytecode).

To support loading from source code, the abstractmethods inherited from
ResourceLoader and ExecutionLoader need to be implemented. To also support
loading from bytecode, the optional methods specified directly by this ABC
is required.

Inherited abstractmethods not implemented in this ABC:

    * ResourceLoader.get_data
    * ExecutionLoader.get_filename

c                 ó–   • U R                   R                  [        R                   L a  [        e[	        U R                  U5      S   5      $ )z6Return the (int) modification time for the path (str).Úmtime)Ú
path_statsÚ__func__r   rA   ÚintrB   s     r   Ú
path_mtimeÚSourceLoader.path_mtimeØ   s8   € à�?‰?×#Ñ#¤|×'>Ñ'>Ò>ÜˆMÜ�4—?‘? 4Ó(¨Ñ1Ó2Ð2r!   c                 ó‚   • U R                   R                  [        R                   L a  [        eSU R                  U5      0$ )zãReturn a metadata dict for the source pointed to by the path (str).
Possible keys:
- 'mtime' (mandatory) is the numeric timestamp of last source
  code modification;
- 'size' (optional) is the size in bytes of the source code.
ro   )rs   rq   r   rA   rB   s     r   rp   ÚSourceLoader.path_statsÞ   s5   € ð �?‰?×#Ñ#¤|×'>Ñ'>Ò>ÜˆMØ˜Ÿ™¨Ó.Ð/Ð/r!   c                 ó   • g)zßWrite the bytes to the path (if possible).

Accepts a str path and data as bytes.

Any needed intermediary directories are to be created. If for some
reason the file cannot be written because of permissions, fail
silently.
Nr-   )r/   rC   r]   s      r   Úset_dataÚSourceLoader.set_dataé   r2   r!   r-   N)	r   r4   r5   r6   r7   rs   rp   rx   r8   r-   r!   r   r   r   Ç   s   † ñò3ò	0õr!   r   )$r7   Ú r   r   r   rK   Úexcr   r$   Ú_abcr   r   r   Ú	resourcesr   r   r    r)   ÚABCMetar	   ÚBuiltinImporterÚFrozenImporterÚ
PathFinderÚWindowsRegistryFinderr
   Ú
FileFinderr   r   ÚNamespaceLoaderr   ÚExtensionFileLoaderÚAppleFrameworkLoaderr   ÚSourceFileLoaderÚSourcelessFileLoaderr   r-   r!   r   Ú<module>r‰      s¤  ðÙ .Ý !Ý ðÛð
5Û%õ Û 
Û å ,ò€ò
Kò.ô
˜sŸ{™{ò 
ñ 
ˆ.˜)×3Ñ3°Y×5MÑ5MØ
×
Ñ
 	× ?Ñ ?ôAô §¡ò ñ 
ˆ/˜9×/Ñ/Ô 0ô�Vô ô 0@�Fô 0@ñd 
ˆ-˜×2Ñ2°I×4LÑ4LÈi×NgÑNgÔ hô 5�mô  5ñD 
ØØ×!Ñ!Ø×"Ñ"ôôÐ$×/Ñ/°Àô ñ
 
ˆ*�i×0Ñ0Ø×*Ñ*ô,ô*Ð&×3Ñ3°^À_ô *ñX 
ˆ,˜	×2Ñ2Õ 3øð[ ó Ø
‡x�xÐ&Ó&ØØÖûðûð ó 5Ø!4Óð5ús(   �E, •F Å,FÅ2FÆFÆFÆF