GRAYBYTE WORDPRESS FILE MANAGER4198

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.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
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/imunify360/venv/lib/python3.11/site-packages/jinja2/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/imunify360/venv/lib/python3.11/site-packages/jinja2//_compat.py
# -*- coding: utf-8 -*-
# flake8: noqa
import marshal
import sys

PY2 = sys.version_info[0] == 2
PYPY = hasattr(sys, "pypy_translation_info")
_identity = lambda x: x

if not PY2:
    unichr = chr
    range_type = range
    text_type = str
    string_types = (str,)
    integer_types = (int,)

    iterkeys = lambda d: iter(d.keys())
    itervalues = lambda d: iter(d.values())
    iteritems = lambda d: iter(d.items())

    import pickle
    from io import BytesIO, StringIO

    NativeStringIO = StringIO

    def reraise(tp, value, tb=None):
        if value.__traceback__ is not tb:
            raise value.with_traceback(tb)
        raise value

    ifilter = filter
    imap = map
    izip = zip
    intern = sys.intern

    implements_iterator = _identity
    implements_to_string = _identity
    encode_filename = _identity

    marshal_dump = marshal.dump
    marshal_load = marshal.load

else:
    unichr = unichr
    text_type = unicode
    range_type = xrange
    string_types = (str, unicode)
    integer_types = (int, long)

    iterkeys = lambda d: d.iterkeys()
    itervalues = lambda d: d.itervalues()
    iteritems = lambda d: d.iteritems()

    import cPickle as pickle
    from cStringIO import StringIO as BytesIO, StringIO

    NativeStringIO = BytesIO

    exec("def reraise(tp, value, tb=None):\n raise tp, value, tb")

    from itertools import imap, izip, ifilter

    intern = intern

    def implements_iterator(cls):
        cls.next = cls.__next__
        del cls.__next__
        return cls

    def implements_to_string(cls):
        cls.__unicode__ = cls.__str__
        cls.__str__ = lambda x: x.__unicode__().encode("utf-8")
        return cls

    def encode_filename(filename):
        if isinstance(filename, unicode):
            return filename.encode("utf-8")
        return filename

    def marshal_dump(code, f):
        if isinstance(f, file):
            marshal.dump(code, f)
        else:
            f.write(marshal.dumps(code))

    def marshal_load(f):
        if isinstance(f, file):
            return marshal.load(f)
        return marshal.loads(f.read())


def with_metaclass(meta, *bases):
    """Create a base class with a metaclass."""
    # This requires a bit of explanation: the basic idea is to make a
    # dummy metaclass for one level of class instantiation that replaces
    # itself with the actual metaclass.
    class metaclass(type):
        def __new__(cls, name, this_bases, d):
            return meta(name, bases, d)

    return type.__new__(metaclass, "temporary_class", (), {})


try:
    from urllib.parse import quote_from_bytes as url_quote
except ImportError:
    from urllib import quote as url_quote


try:
    from collections import abc
except ImportError:
    import collections as abc


try:
    from os import fspath
except ImportError:
    try:
        from pathlib import PurePath
    except ImportError:
        PurePath = None

    def fspath(path):
        if hasattr(path, "__fspath__"):
            return path.__fspath__()

        # Python 3.5 doesn't have __fspath__ yet, use str.
        if PurePath is not None and isinstance(path, PurePath):
            return str(path)

        return path

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 11 2025 07:53:06
root / root
0755
__pycache__
--
July 02 2025 08:36:55
root / root
0755
__init__.py
1.513 KB
June 09 2025 11:12:39
root / root
0644
_compat.py
3.116 KB
June 09 2025 11:12:39
root / root
0644
_identifier.py
1.733 KB
June 09 2025 11:12:39
root / root
0644
asyncfilters.py
4.15 KB
June 09 2025 11:12:39
root / root
0644
asyncsupport.py
7.04 KB
June 09 2025 11:12:39
root / root
0644
bccache.py
11.854 KB
June 09 2025 11:12:39
root / root
0644
compiler.py
64.73 KB
June 09 2025 11:12:39
root / root
0644
constants.py
1.424 KB
June 09 2025 11:12:39
root / root
0644
debug.py
8.329 KB
June 09 2025 11:12:39
root / root
0644
defaults.py
1.1 KB
June 09 2025 11:12:39
root / root
0644
environment.py
49.442 KB
June 09 2025 11:12:39
root / root
0644
exceptions.py
5.298 KB
June 09 2025 11:12:39
root / root
0644
ext.py
25.821 KB
June 09 2025 11:12:39
root / root
0644
filters.py
40.444 KB
June 09 2025 11:12:39
root / root
0644
idtracking.py
8.995 KB
June 09 2025 11:12:39
root / root
0644
lexer.py
29.62 KB
June 09 2025 11:12:39
root / root
0644
loaders.py
17.252 KB
June 09 2025 11:12:39
root / root
0644
meta.py
4.034 KB
June 09 2025 11:12:39
root / root
0644
nativetypes.py
2.688 KB
June 09 2025 11:12:39
root / root
0644
nodes.py
30.366 KB
June 09 2025 11:12:39
root / root
0644
optimizer.py
1.423 KB
June 09 2025 11:12:39
root / root
0644
parser.py
34.824 KB
June 09 2025 11:12:39
root / root
0644
runtime.py
29.9 KB
June 09 2025 11:12:39
root / root
0644
sandbox.py
16.726 KB
June 09 2025 11:12:39
root / root
0644
tests.py
4.687 KB
June 09 2025 11:12:39
root / root
0644
utils.py
21.994 KB
June 09 2025 11:12:39
root / root
0644
visitor.py
3.164 KB
June 09 2025 11:12:39
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF