/usr/lib64/python3.9/site-packages/gi/__pycache__
NameSizeModeActions
docstring.cpython-39.opt-1.pyc38230644editdlrm
docstring.cpython-39.pyc38230644editdlrm
importer.cpython-39.opt-1.pyc33650644editdlrm
importer.cpython-39.pyc33650644editdlrm
module.cpython-39.opt-1.pyc54230644editdlrm
module.cpython-39.pyc54550644editdlrm
pygtkcompat.cpython-39.opt-1.pyc5370644editdlrm
pygtkcompat.cpython-39.pyc5370644editdlrm
types.cpython-39.opt-1.pyc79900644editdlrm
types.cpython-39.pyc79900644editdlrm
_constants.cpython-39.opt-1.pyc10620644editdlrm
_constants.cpython-39.pyc10620644editdlrm
_error.cpython-39.opt-1.pyc14690644editdlrm
_error.cpython-39.pyc14690644editdlrm
_gtktemplate.cpython-39.opt-1.pyc76860644editdlrm
_gtktemplate.cpython-39.pyc77020644editdlrm
_option.cpython-39.opt-1.pyc107260644editdlrm
_option.cpython-39.pyc107260644editdlrm
_ossighelper.cpython-39.opt-1.pyc50390644editdlrm
_ossighelper.cpython-39.pyc50560644editdlrm
_propertyhelper.cpython-39.opt-1.pyc102140644editdlrm
_propertyhelper.cpython-39.pyc102140644editdlrm
_signalhelper.cpython-39.opt-1.pyc79400644editdlrm
_signalhelper.cpython-39.pyc79400644editdlrm
__init__.cpython-39.opt-1.pyc43420644editdlrm
__init__.cpython-39.pyc43420644editdlrm
Edit: /usr/lib64/python3.9/site-packages/gi/__pycache__/importer.cpython-39.pyc (3365B)
a bê²^yã@s”ddlZddlZddlZddlmZddlZddlmZmZddlm Z ddl m Z ddl 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_versionZ get_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)rr zgi.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Ús     &