HEX
Server: nginx/1.24.0
System: Linux localhost 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
User: www (1000)
PHP: 8.3.27
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //lib/python3/dist-packages/setuptools/__pycache__/_imp.cpython-310.pyc
o

�_�aX	�@sddZddlZddlZddlZddlmZdZdZdZ	dZ
dZd	d
�Zddd�Z
dd
d�Zdd�ZdS)zX
Re-implementation of find_module and get_frozen_object
from the deprecated imp module.
�N�)�module_from_spec����cCs(t|t�rtj��jntjj}|||�S�N)�
isinstance�list�	importlib�	machinery�
PathFinder�	find_spec�util)�module�paths�finder�r�1/usr/lib/python3/dist-packages/setuptools/_imp.pyrs
��
rc	CsJt||�}|durtd|��|jst|d�rtj�d|j�}d}d}t|jt	�}|j
dks8|rAt|jtjj
�rAt}d}d}}n\|j
dksP|rYt|jtjj�rYt}d}d}}nD|jr�|j
}tj�|�d	}|tjjvrod
nd}|tjjvrzt}n|tjjvr�t}n|tjjvr�t}|tthvr�t||�}nd}d}}|||||ffS)z7Just like 'imp.find_module()', but with package supportN�
Can't find %s�submodule_search_locationsz__init__.py����frozen�zbuilt-inr�r�rb)r�ImportError�has_location�hasattrrr�spec_from_loader�loaderr	�type�origin�
issubclassr�FrozenImporter�	PY_FROZEN�BuiltinImporter�	C_BUILTIN�os�path�splitext�SOURCE_SUFFIXES�	PY_SOURCE�BYTECODE_SUFFIXES�PY_COMPILED�EXTENSION_SUFFIXES�C_EXTENSION�open)	rr�spec�kind�file�staticr)�suffix�moderrr�find_modulesH

�

�

�r8cCs&t||�}|s
td|��|j�|�S�Nr)rrr �get_code)rrr2rrr�get_frozen_objectGs
r;cCs"t||�}|s
td|��t|�Sr9)rrr)rr�infor2rrr�
get_moduleNs
r=r)�__doc__r(�importlib.utilr�importlib.machinery�
py34compatrr,r.r0r'r%rr8r;r=rrrr�<module>s
	
*