| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/gi/__pycache__/ |
Upload File : |
�
�=Abz � � � d dl Z d dlZd dlZd dlmZ d dlZddlmZmZ ddlm Z ddl
mZ ddlm
Z
ej � � Zi Zed� � � Zd � Z G d
� de� � ZdS )� N)�contextmanager� )�
Repository�RepositoryError)�PyGIWarning)�get_introspection_module)�load_overridesc # � K � t � | � � }dV � |rdS | dv rdS t j | � � �dS t � | � � }t j d| |d�z t |�� � 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)�GLib�GObject�Gioz�%(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�gi�get_required_version�get_version�warnings�warnr )r r �
was_loadedr s �-/usr/lib/python3/dist-packages/gi/importer.py�_check_require_versionr * s� � � � � �)�)�)�4�4�J� �E�E�E�� � ���.�.�.��� ��y�)�)�5����$�$�Y�/�/�G��M� ?� "�g�
6�
6� 7� �
�,� ,� ,� ,� ,� ,� c �~ � t j dd� }|dk r| rdndS |dk r| rdndS |dk r| rdndS | rdndS ) 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 )�sys�version_info)�import_hook�
py_versions r �get_import_stacklevelr'