403Webshell
Server IP : 54.37.205.81  /  Your IP : 216.73.216.76
Web Server : nginx/1.22.1
System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64
User : debian ( 1000)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/argcomplete/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/argcomplete/__pycache__/_check_module.cpython-311.pyc
�

�4�`!
���dZddlZddlZddlZ	ddlmZn(#e$r ddlmZddl	m
Z
edgd���Zd�ZYnwxYwGd	�d
e��Z
dd�Zd
�Zedkr0	e��dS#e
$rZeje��YdZ[dSdZ[wwxYwdS)a
Utility for locating a module (or package's __main__.py) with a given name
and verifying it contains the PYTHON_ARGCOMPLETE_OK marker.

The module name should be specified in a form usable with `python -m`.

Intended to be invoked by argcomplete's global completion function.
�N)�	find_spec)�
namedtuple)�find_module�
ModuleSpec)�origin�has_location�submodule_search_locationsc���	t|��\}}}n#t$rYdSwxYw|du}|�td||g��S|���t||d��S)z-Minimal implementation as required by `find`.N)r�ImportErrorr�close)�name�f�path�_rs     �;/usr/lib/python3/dist-packages/argcomplete/_check_module.pyrrs���	�$�T�*�*�J�A�t�Q�Q���	�	�	��4�4�	�����4�'���9��d�L�4�&�9�9�9�	���	�	�	��$��d�3�3�3s��
$�$c��eZdZdS)�ArgcompleteMarkerNotFoundN)�__name__�
__module__�__qualname__��rrr#s�������DrrFc��|�d��}t|d��}|�(td�|d�����|jstd���|j�Bt
|��dkr(td�|d�����|jSt
|j��dkrtd���tj	j
|jdg|dd��R�}tj	�|��r&d}|rd	}tj	�
||��S|d
zS)N�.rzno module named "{}"zcannot locate file�z{} is not a packagezexpecting one search locationz__main__.pyz__init__.pyz.py)�splitrr�formatrr	�lenr�osr�join�isdir)r
�return_package�names�specr�filenames      r�findr&'sE���J�J�s�O�O�E��U�1�X���D��|�'�"�)�)�%��(�3�3�5�5�	5���>�'�(<�=�=�=��&�.��u�:�:��?�?�+�%�,�,�U�1�X�6�6�8�8�
8��{��
�4�*�+�+�q�0�0�'�(G�H�H�H�
�7�<��7��:�G�U�1�2�2�Y�G�G�G�D�	�w�}�}�T���� ���	%�$�H��w�|�|�D�(�+�+�+��e�|�rc��	tjd}n#t$rtd���wxYwt	|��}ttd��r
tj}nt}	||��}n#t$rtd���wxYw|5|�	d��}ddd��n#1swxYwYd|vrtd���dS)Nrz$missing argument on the command line�openzcannot open filei�PYTHON_ARGCOMPLETE_OKzmarker not found)
�sys�argv�
IndexErrorrr&�hasattr�tokenizer(�OSError�read)r
r%�	open_func�fp�heads     r�mainr4@s@��P��x��{�����P�P�P�'�(N�O�O�O�P�����D�z�z�H��x�� � ���M�	�	��	�<�
�Y�x�
 �
 �����<�<�<�'�(:�;�;�;�<����
����w�w�t�}�}���������������������d�*�*�'�(:�;�;�;�+�*s&��/�+A7�7B�B8�8B<�?B<�__main__)F)�__doc__rr*r.�importlib.utilrr�collectionsr�imprr�RuntimeErrorrr&r4r�e�exitrrr�<module>r=sm����
�	�	�	�
�
�
�
�����4�(�(�(�(�(�(�(���4�4�4�&�&�&�&�&�&����������N�N�N�P�P�J�
4�
4�
4�
4�
4�4����(	�	�	�	�	��	�	�	�����2<�<�<�0�z������������$��������������������������s$��"<�<�
A'�'B�,B�B

Youez - 2016 - github.com/yon3zu
LinuXploit