| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 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/virtualenv/discovery/__pycache__/ |
Upload File : |
�
�h�c� � �r � d Z ddlZddlZddlmZ ddlmZ ej d� � Z G d� d� � Z dgZ
dS )zNA Python specification is an abstract requirement definition of an interpreter� N)�OrderedDict)�fs_is_case_sensitivez@^(?P<impl>[a-zA-Z]+)?(?P<version>[0-9.]+)?(?:-(?P<arch>32|64))?$c �V � e Zd ZdZd� Zed� � � Zd� Zed� � � Z d� Z
d� ZdS ) �
PythonSpecz1Contains specification about a Python Interpreterc �h � || _ || _ || _ || _ || _ || _ || _ d S �N)�str_spec�implementation�major�minor�micro�architecture�path)�selfr r
r r r
r r s �>/usr/lib/python3/dist-packages/virtualenv/discovery/py_spec.py�__init__zPythonSpec.__init__ s9 � � ��
�,�����
���
���
�(����� � � � c �: � d\ }}}}}}t j � |� � r|}�n_d}t j t
|� � } | �r<d� }
| � � � }|d }|��t d� |� d� � D � � � � }
t |
� � dk rt �t |
� � dk r|
\ }}}n�t |
� � dk r|
\ }}ngt |
� � d k rT|
d
}t t |� � d
� � }|dk r$t t |� � d d � � � }d}|d
}|dk s|dk rd } |
|d � � }n# t $ r Y nw xY w|s|} | |||||||� � S )N)NNNNNNFc �( � | �d nt | � � S r ��int)�vals r �_int_or_nonez1PythonSpec.from_string_spec.<locals>._int_or_none"