OwlCyberSecurity - MANAGER
Edit File: abc.cpython-312.pyc
� ������h������������������������4����d�Z�ddlmZ�ddlmZ� �ddlZ �ddlZddl m Z �ddlZddlZddl mZ�g�d �Zd ��Zd��Z�G�d��d ej$��������������������������Z�eeej(������������������ej*������������������ej,������������������ej.���������������������������G�d��dej$��������������������������Z�eeej2���������������������������G�d��de �������Z�G�d��de �������Z�eeej(������������������ej*������������������ej8���������������������������G�d��de�������Z�eeej<���������������������������G�d��dej>������������������ee�������Z�eeej@������������������ejB���������������������������G�d��dejD������������������ee�������Z"�ee"ej@��������������������������y#�e$�rZej������������������dk7��r��dZY�dZ[��pdZ[ww�xY�w#�e$�r�eZY���}w�xY�w)z(Abstract base classes related to import.����)�_bootstrap_external)� machinery�����N�_frozen_importlib)�Loader)�abc)r����MetaPathFinder�PathEntryFinder�ResourceLoader� InspectLoader�ExecutionLoader� FileLoader�SourceLoaderc������������������������|�t���������j������������������v�r?t��������t���������|��������}t��������j������������������t ����������d|����d���������|t ����������������|�<���|S�t��������dt ���������d|�����������)z{ For backwards compatibility, continue to make names from _resources_abc available through this module. #93963 �.)��������)�removezmodule z has no attribute )�_resources_abc�__all__�getattr�warnings�_deprecated�__name__�globals�AttributeError)�name�objs��� �4/opt/alt/python312/lib64/python3.12/importlib/abc.py�__getattr__r ������sb������ ��~�%�%�%��n�d�+������z��4�&�1�'�B��� �$��� � �7�8�,�.@���I� J�J�����c������������������������|D�]F��}|�j������������������|��������t���������� �t��������t��������|j�������������������������}|�j������������������|���������H�y�#�t��������$�r�t��������t ��������|j�������������������������}Y��9w�xY�w)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 � #A3�2A3c�������������������������e�Zd�ZdZd��Zy)r ���z8Abstract base class for import finders on sys.meta_path.c������������������������y)z�An optional method for clearing the finder's cache, if any. This method is used by importlib.invalidate_caches(). N����selfs��� r����invalidate_cachesz MetaPathFinder.invalidate_caches;���������r!���N�r���� __module__�__qualname__�__doc__r/���r,���r!���r���r ���r ���4���s ������B� r!���r ���)� metaclassc�������������������������e�Zd�ZdZd��Zy)r ���z>Abstract base class for path entry finders used by PathFinder.c������������������������y)z�An optional method for clearing the finder's cache, if any. This method is used by PathFinder.invalidate_caches(). Nr,���r-���s��� r���r/���z!PathEntryFinder.invalidate_cachesH���r0���r!���Nr1���r,���r!���r���r ���r ���D���s ������H�r!���r ���c��������������������4�����e�Zd�ZdZej ������������������d����������Zy)r���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�����������������������t����������)zwAbstract method which when implemented should return the bytes for the specified path. The path must be a str.)�OSError�r.����paths��� r����get_datazResourceLoader.get_dataY���s �������� r!���N)r���r2���r3���r4���r����abstractmethodr=���r,���r!���r���r���r���P���s!�������� ������r!���r���c�������������������������e�Zd�ZdZd��Zd��Zej������������������d����������Ze dd���������Z ej������������������j������������������Z ej������������������j������������������Zy)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�����������������������t����������)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_packagezInspectLoader.is_packagei���s ��������r!���c������������������L�����|�j������������������|�������}|�y|�j������������������|�������S�)a��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.���rD����sources��� r����get_codezInspectLoader.get_codeq���s+�����������*���>���"�"�6�*�*r!���c�����������������������t����������)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. rA���rC���s��� r���rG���zInspectLoader.get_source~���� ��������r!���c������������������ �����t��������|�|dd��������S�)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)�datar<���s��� r���rH���zInspectLoader.source_to_code����s��������t�T�6��=�=r!���N)z<string>)r���r2���r3���r4���rE���rJ���r���r>���rG����staticmethodrH���r���� _LoaderBasics�exec_module�load_moduler,���r!���r���r���r���`���sc��������+�� ���������>���>��&�3�3�?�?�K�%�3�3�?�?�Kr!���r���c��������������������:�����e�Zd�ZdZej ������������������d����������Zd��Zy)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�����������������������t����������)z�Abstract method which should return the value that __file__ is to be set to. Raises ImportError if the module cannot be found. rA���rC���s��� r����get_filenamezExecutionLoader.get_filename����rL���r!���c�����������������������|�j������������������|�������}|�y �|�j������������������|�������}|�j������������������||�������S�#�t��������$�r�|�j������������������|�������cY�S�w�xY�w)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)rG���rX���rH���rB���)r.���rD���rI���r<���s��� r���rJ���zExecutionLoader.get_code����sf�����������*���>�� 5��$�$�X�.�D���&�&�v�t�4�4����� /��&�&�v�.�.� /�s����9��A�AN)r���r2���r3���r4���r���r>���rX���rJ���r,���r!���r���r ���r �������s&�������� �������5r!���r ���c�������������������������e�Zd�ZdZy)r���z[Abstract base class partially implementing the ResourceLoader and ExecutionLoader ABCs.N)r���r2���r3���r4���r,���r!���r���r���r�������s������r!���r���c��������������������"�����e�Zd�ZdZd��Zd��Zd��Zy)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�����������������������|�j�������������������j������������������t��������j�������������������u�rt���������t ��������|�j������������������|�������d����������S�)z6Return the (int) modification time for the path (str).�mtime)� path_stats�__func__r���r:����intr;���s��� r���� path_mtimezSourceLoader.path_mtime����s8�������?�?�#�#�|�'>�'>�>��M��4�?�?�4�(��1�2�2r!���c�����������������������|�j�������������������j������������������t��������j�������������������u�rt���������d|�j������������������|�������iS�)a��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. r]���)ra���r_���r���r:���r;���s��� r���r^���zSourceLoader.path_stats����s5��������?�?�#�#�|�'>�'>�>��M������.�/�/r!���c������������������������y)a��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.���r<���rQ���s��� r����set_datazSourceLoader.set_data����r0���r!���N)r���r2���r3���r4���ra���r^���rd���r,���r!���r���r���r�������s������ �3� 0�r!���r���)#r4�����r���r���r���rB����excr���r$����_abcr���r���r���� resourcesr���r���r ���r)����ABCMetar ����BuiltinImporter�FrozenImporter� PathFinder�WindowsRegistryFinderr ���� FileFinderr���r����NamespaceLoaderr ����ExtensionFileLoaderr����SourceFileLoader�SourcelessFileLoaderr���r,���r!���r����<module>rs������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� �/�9�8�8��9��$�/�/����� � �*�i�0�0��*�*�,�*�&�3�3�^�_��*�X� �,� �2�2��3��S���� �x�x�&�&� ���������5�!4��5�s(����E'��F��'F �,F�F �F�F