$25 GRAYBYTE WORDPRESS FILE MANAGER $89

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python36/lib/python3.6/site-packages/setuptools/

HOME
Current File : /opt/alt/python36/lib/python3.6/site-packages/setuptools//unicode_utils.py
import unicodedata
import sys

from setuptools.extern import six


# HFS Plus uses decomposed UTF-8
def decompose(path):
    if isinstance(path, six.text_type):
        return unicodedata.normalize('NFD', path)
    try:
        path = path.decode('utf-8')
        path = unicodedata.normalize('NFD', path)
        path = path.encode('utf-8')
    except UnicodeError:
        pass  # Not UTF-8
    return path


def filesys_decode(path):
    """
    Ensure that the given path is decoded,
    NONE when no expected encoding works
    """

    if isinstance(path, six.text_type):
        return path

    fs_enc = sys.getfilesystemencoding() or 'utf-8'
    candidates = fs_enc, 'utf-8'

    for enc in candidates:
        try:
            return path.decode(enc)
        except UnicodeDecodeError:
            continue


def try_encode(string, enc):
    "turn unicode encoding into a functional routine"
    try:
        return string.encode(enc)
    except UnicodeEncodeError:
        return None


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
17 Apr 2024 5.19 PM
root / linksafe
0755
__pycache__
--
3 Mar 2024 10.36 PM
root / linksafe
0755
command
--
3 Mar 2024 10.36 PM
root / linksafe
0755
extern
--
3 Mar 2024 10.36 PM
root / linksafe
0755
__init__.py
5.566 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
archive_util.py
6.438 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
build_meta.py
5.538 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
config.py
15.997 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
dep_util.py
0.913 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
depends.py
5.7 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
dist.py
39.788 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
extension.py
1.688 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
glibc.py
3.072 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
glob.py
5.085 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
launch.py
0.769 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
lib2to3_ex.py
1.966 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
monkey.py
5.653 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
msvc.py
39.926 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
namespaces.py
3.124 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
package_index.py
39.558 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
pep425tags.py
10.627 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
py27compat.py
0.523 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
py31compat.py
1.164 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
py33compat.py
0.975 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
py36compat.py
2.823 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
sandbox.py
13.941 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
script (dev).tmpl
0.196 KB
13 Nov 2023 9.25 PM
root / root
0644
script.tmpl
0.135 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
site-patch.py
2.253 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
ssl_support.py
8.293 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
unicode_utils.py
0.973 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
version.py
0.141 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
wheel.py
7.063 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
windows_support.py
0.697 KB
13 Nov 2023 9.25 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF