Current Path: > > lib > python2.7 > site-packages > pip > _vendor > distlib > _backport
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__init__.py | File | 274 bytes | April 21 2022 18:08:21. | |
__init__.pyc | File | 451 bytes | April 21 2022 18:08:34. | |
__init__.pyo | File | 451 bytes | April 21 2022 18:08:34. | |
misc.py | File | 971 bytes | April 21 2022 18:08:21. | |
misc.pyc | File | 1428 bytes | April 21 2022 18:08:34. | |
misc.pyo | File | 1428 bytes | April 21 2022 18:08:34. | |
shutil.py | File | 25647 bytes | April 21 2022 18:08:21. | |
shutil.pyc | File | 26454 bytes | April 21 2022 18:08:34. | |
shutil.pyo | File | 26454 bytes | April 21 2022 18:08:34. | |
sysconfig.cfg | File | 2617 bytes | April 21 2022 18:08:21. | |
sysconfig.py | File | 26955 bytes | April 21 2022 18:08:21. | |
sysconfig.pyc | File | 20802 bytes | April 21 2022 18:08:34. | |
sysconfig.pyo | File | 20738 bytes | April 21 2022 18:08:35. | |
tarfile.py | File | 92628 bytes | April 21 2022 18:08:21. | |
tarfile.pyc | File | 79684 bytes | April 21 2022 18:08:34. | |
tarfile.pyo | File | 79684 bytes | April 21 2022 18:08:34. |
# -*- coding: utf-8 -*- # # Copyright (C) 2012 The Python Software Foundation. # See LICENSE.txt and CONTRIBUTORS.txt. # """Backports for individual classes and functions.""" import os import sys __all__ = ['cache_from_source', 'callable', 'fsencode'] try: from imp import cache_from_source except ImportError: def cache_from_source(py_file, debug=__debug__): ext = debug and 'c' or 'o' return py_file + ext try: callable = callable except NameError: from collections import Callable def callable(obj): return isinstance(obj, Callable) try: fsencode = os.fsencode except AttributeError: def fsencode(filename): if isinstance(filename, bytes): return filename elif isinstance(filename, str): return filename.encode(sys.getfilesystemencoding()) else: raise TypeError("expect bytes or str, not %s" % type(filename).__name__)
SILENT KILLER Tool