⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
gi
/
__pycache__
/
View File Name :
importer.cpython-310.pyc
o =Abz @ s d dl Z d dlZd dlZd dlmZ d dlZddlmZmZ ddlm Z ddl mZ ddlm Z e Zi Zedd Zd d ZG dd d eZdS ) N)contextmanager ) RepositoryRepositoryError)PyGIWarning)get_introspection_module)load_overridesc c s` t | }dV |r dS | dv rdS t| durdS t | }tjd| |d t|d dS )aO A 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.) namespaceversion stacklevel) repository is_registeredgiZget_required_versionZget_versionwarningswarnr )r r Z was_loadedr r -/usr/lib/python3/dist-packages/gi/importer.py_check_require_version* s r c C sV t jdd }|dkr| rdS dS |dkr| rdS dS |dkr%| r#dS dS | r)dS dS ) a2 Returns 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 )r r )r r )sysversion_info)import_hookZ py_versionr r r get_import_stacklevelQ s r c @ s8 e Zd Zdd Zdd ZdddZd dd Zd d ZdS )DynamicImporterc C s || _ d S N)path)selfr r r r __init__k s zDynamicImporter.__init__c C s* | | jsdS |dd\}}|| jkS )NF.r ) startswithr rsplit)r! fullnamer r r r r _find_module_checkn s z"DynamicImporter._find_module_checkNc C s | |rtj|| S d S r )r' importlibutilspec_from_loader)r! r&