403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.25
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/IPython/utils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/IPython/utils/__pycache__/shimmodule.cpython-311.pyc
�

�@�cm
���dZddlZddlZddlZddlZddlmZddlmZGd�de	��Z
Gd�d	ejj��Z
Gd
�dej��ZdS)z%A shim module for deprecated imports
�N)�
import_module�)�import_itemc��eZdZdZdS)�ShimWarningzFA warning to show when a module has moved, and a shim is in its place.N)�__name__�
__module__�__qualname__�__doc__���:/usr/lib/python3/dist-packages/IPython/utils/shimmodule.pyrrs������P�P�P�Pr
rc�&�eZdZdZd�Zd�Zdd�ZdS)�ShimImporterz�Import hook for a shim.

    This ensures that submodule imports return the real target module,
    not a clone that will confuse `is` and `isinstance` checks.
    c�"�||_||_dS�N��src�mirror)�selfrrs   r�__init__zShimImporter.__init__s���������r
c�J�|j|t|j��d�zS)z#get the name of the mirrored moduleN)r�lenr)r�fullnames  r�_mirror_namezShimImporter._mirror_names"���{�X�c�$�(�m�m�o�o�6�6�6r
Nc��|�|jdz��r4|�|��}tj�|��SdS�N�.)�
startswithrr�	importlib�util�	find_spec)rr�path�target�mirror_names     rr"zShimImporter.find_spec"sQ�����t�x�#�~�.�.�	9��+�+�H�5�5�K��>�+�+�K�8�8�8�	9�	9r
r)rr	r
rrrr"rr
rrrsP��������
���7�7�7�
9�9�9�9�9�9r
rc�r��eZdZ�fd�Zed���Zed���Zd�Zed���Zd�Z	d�Z
�xZS)�
ShimModulec�X��|�d��|_|�dd��}|r|�dd��d|d<tt|��j|i|��|r5tj�t||j�����dSdS)Nrrrr����namer)
�pop�_mirror�rsplit�superr'r�sys�	meta_path�appendr)r�args�kwargsr�	__class__s    �rrzShimModule.__init__*s�����z�z�(�+�+����j�j���%�%���	4� �Z�Z��Q�/�/��3�F�6�N�(��j�$���(�$�9�&�9�9�9��	��M� � ���T�\�:�:�:�
�
�
�
�
�	�	r
c��gSrr�rs r�__path__zShimModule.__path__6s���	r
c�4�t|j��jS)z&Don't produce __spec__ until requested)rr,�__spec__r6s rr9zShimModule.__spec__:s���T�\�*�*�3�3r
c�D�tt|j����Sr)�dirrr,r6s r�__dir__zShimModule.__dir__?s���=���.�.�/�/�/r
c��t|j��}	|jS#t$rd�t	|��D��cYSwxYw)z Ensure __all__ is always definedc�<�g|]}|�d���|��S)�_)r)�.0r*s  r�
<listcomp>z&ShimModule.__all__.<locals>.<listcomp>Is)��J�J�J�T�T�_�_�S�5I�5I�J�D�J�J�Jr
)rr,�__all__�AttributeErrorr;)r�mods  rrBzShimModule.__all__Bs`���D�L�)�)��	K��;����	K�	K�	K�J�J�S��X�X�J�J�J�J�J�J�	K���s��#A�Ac�~�|j�d|��}	t|��S#t$r}t|��|�d}~wwxYwr)r,r�ImportErrorrC)r�keyr*�es    r�__getattr__zShimModule.__getattr__KsV���,�,�,���,��	-��t�$�$�$���	-�	-�	-� ��%�%�1�,�����	-���s��
<�7�<c�t�	|�d����S#t$rd|j�d�cYSwxYw)N�__repr__z<ShimModule for �>)rIrCr,r6s rrKzShimModule.__repr__SsW��	8�/�4�#�#�J�/�/�1�1�1���	8�	8�	8�7�d�l�7�7�7�7�7�7�	8���s��7�7)rr	r
r�propertyr7r9r<rBrIrK�
__classcell__)r4s@rr'r'(s��������
�
�
�
�
�����X���4�4��X�4�0�0�0��K�K��X�K�-�-�-�8�8�8�8�8�8�8r
r')r�
importlib.abcr �importlib.utilr/�typesr�importstringr�Warningr�abc�MetaPathFinderr�
ModuleTyper'rr
r�<module>rWs�����
��������
�
�
�
�����#�#�#�#�#�#�%�%�%�%�%�%�Q�Q�Q�Q�Q�'�Q�Q�Q�9�9�9�9�9�9�=�/�9�9�9�*18�18�18�18�18��!�18�18�18�18�18r

Youez - 2016 - github.com/yon3zu
LinuXploit