__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.
"""Backward-compatibility shim for unpickling Version objects serialized before
packaging 26.1.
Old pickles reference ``packaging._structures.InfinityType`` and
``packaging._structures.NegativeInfinityType``. This module provides minimal
stand-in classes so that ``pickle.loads()`` can resolve those references.
The deserialized objects are not used for comparisons — ``Version.__setstate__``
discards the stale ``_key`` cache and recomputes it from the core version fields.
"""
from __future__ import annotations
class InfinityType:
"""Stand-in for the removed ``InfinityType`` used in old comparison keys."""
def __repr__(self) -> str:
return "Infinity"
class NegativeInfinityType:
"""Stand-in for the removed ``NegativeInfinityType`` used in old comparison keys."""
def __repr__(self) -> str:
return "-Infinity"
Infinity = InfinityType()
NegativeInfinity = NegativeInfinityType()
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| licenses | Folder | 0755 |
|
|
| __init__.py | File | 494 B | 0644 |
|
| _elffile.py | File | 3.14 KB | 0644 |
|
| _manylinux.py | File | 9.33 KB | 0644 |
|
| _musllinux.py | File | 2.64 KB | 0644 |
|
| _parser.py | File | 11.42 KB | 0644 |
|
| _structures.py | File | 1.08 KB | 0644 |
|
| _tokenizer.py | File | 5.26 KB | 0644 |
|
| dependency_groups.py | File | 9.98 KB | 0644 |
|
| direct_url.py | File | 10.66 KB | 0644 |
|
| errors.py | File | 2.62 KB | 0644 |
|
| markers.py | File | 16.66 KB | 0644 |
|
| metadata.py | File | 37.86 KB | 0644 |
|
| py.typed | File | 0 B | 0644 |
|
| pylock.py | File | 33.1 KB | 0644 |
|
| requirements.py | File | 4.28 KB | 0644 |
|
| specifiers.py | File | 69.84 KB | 0644 |
|
| tags.py | File | 33.42 KB | 0644 |
|
| utils.py | File | 9.62 KB | 0644 |
|
| version.py | File | 37.47 KB | 0644 |
|