HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/virtualenv/create/__pycache__/debug.cpython-310.pyc
o

3�hM�@sFdZddlmZddlZdd�Zdd�Zdd	�Zed
kr!e�dSdS)z=Inspect a target Python interpreter virtual environment wise.�)�annotationsNcCsT|durdSt|ttf�st|t�rt|�ntt|��}t|t�r(|�t���}|S)N)�
isinstance�str�bytes�type�repr�decode�sys�getfilesystemencoding��value�r
�B/usr/local/lib/python3.10/dist-packages/virtualenv/create/debug.py�encode_paths
rcCsdd�|D�S)NcSsg|]}t|��qSr
)r)�.0�ir
r
r�
<listcomp>sz$encode_list_path.<locals>.<listcomp>r
rr
r
r�encode_list_pathsrc
Cs�zddlm}Wntyt}Ynw|d|�fg�}d}|D]}tt|d�}t|t�r1t|�nt	|�}||d|<q t�
�|dd<ttjdd�|dd<tj|d	<zddl
}t|d
t|dd��}t	|��|d<Wn	tytYnwddl}t|�|d
<zddl}t|�|d<Wnty�}	zt|	�|d<WYd}	~	nd}	~	wwzddl}
t|
�|d<Wnty�}	zt|	�|d<WYd}	~	nd}	~	wwzddl}t|�|d<Wnty�}	zt|	�|d<WYd}	~	nd}	~	wwzddl}t|�|d<Wnt�y}	z
t|	�|d<WYd}	~	dSd}	~	wwz|j|dd�}
tj�|
�WdSttf�yH}	ztj�t|	��tj�t|��td��d}	~	ww)z/Print debug data about the virtual environment.r)�OrderedDictr	)	�
executable�_base_executable�prefix�base_prefix�real_prefix�exec_prefix�base_exec_prefix�path�	meta_pathN�fs_encoding�encoding�io_encoding�version�get_makefile_filename�_get_makefile_filename�makefile_filename�os�site�datetime�math�json�)�indent�)�collectionsr�ImportError�dict�getattrr	r�listrrr
�stdoutr!�	sysconfigr%rr&r'r(r)�dumps�write�
ValueError�	TypeError�stderr�
SystemExit)r�result�	path_keys�keyrr3�makefiler%r&�	exceptionr'r(r)�contentr
r
r�runsx�
�����������r@�__main__)�__doc__�
__future__rr	rrr@�__name__r
r
r
r�<module>s
O
�