X7ROOT File Manager
Current Path:
/opt/hc_python/lib/python3.12/site-packages/pip/_vendor/packaging
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pip
/
_vendor
/
packaging
/
??
..
??
LICENSE
(197 B)
??
LICENSE.APACHE
(9.94 KB)
??
LICENSE.BSD
(1.31 KB)
??
__init__.py
(494 B)
??
__pycache__
??
_elffile.py
(3.14 KB)
??
_manylinux.py
(9.33 KB)
??
_musllinux.py
(2.64 KB)
??
_parser.py
(11.42 KB)
??
_structures.py
(1.08 KB)
??
_tokenizer.py
(5.26 KB)
??
dependency_groups.py
(9.98 KB)
??
direct_url.py
(10.66 KB)
??
errors.py
(2.62 KB)
??
licenses
??
markers.py
(16.67 KB)
??
metadata.py
(37.86 KB)
??
py.typed
(0 B)
??
pylock.py
(33.1 KB)
??
requirements.py
(4.29 KB)
??
specifiers.py
(69.87 KB)
??
tags.py
(33.43 KB)
??
utils.py
(9.62 KB)
??
version.py
(37.49 KB)
Editing: _structures.py
# 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()
Upload File
Create Folder