Server IP : 192.250.235.76 / Your IP : 45.90.210.12
System : Linux s2968.sgp1.stableserver.net 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
PHP Version : 8.2.29
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
1902120114081995
Server IP : 198.54.116.172 / Your IP : 216.73.216.36
System : Linux server322.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : mail
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /usr/lib/python2.7/site-packages/pip/_vendor/distlib/_backport//misc.py
# -*- 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__)
Name
Size
Last Modified
Owner / Group
Permissions
Options
.. -- March 03 2024 20:23:47 root / root 0755 __init__.py 0.268 KB April 21 2022 18:08:21 root / root 0644 __init__.pyc 0.44 KB April 21 2022 18:08:34 root / root 0644 __init__.pyo 0.44 KB April 21 2022 18:08:34 root / root 0644 misc.py 0.948 KB April 21 2022 18:08:21 root / root 0644 misc.pyc 1.395 KB April 21 2022 18:08:34 root / root 0644 misc.pyo 1.395 KB April 21 2022 18:08:34 root / root 0644 shutil.py 25.046 KB April 21 2022 18:08:21 root / root 0644 shutil.pyc 25.834 KB April 21 2022 18:08:34 root / root 0644 shutil.pyo 25.834 KB April 21 2022 18:08:34 root / root 0644 sysconfig.cfg 2.556 KB April 21 2022 18:08:21 root / root 0644 sysconfig.py 26.323 KB April 21 2022 18:08:21 root / root 0644 sysconfig.pyc 20.314 KB April 21 2022 18:08:34 root / root 0644 sysconfig.pyo 20.252 KB April 21 2022 18:08:35 root / root 0644 tarfile.py 90.457 KB April 21 2022 18:08:21 root / root 0644 tarfile.pyc 77.816 KB April 21 2022 18:08:34 root / root 0644 tarfile.pyo 77.816 KB April 21 2022 18:08:34 root / root 0644