PNG  IHDR* pHYs+ IDATx]n#; cdLb Ǚ[at¤_:uP}>!Usă cag޿ ֵNu`ݼTâabO7uL&y^wFٝA"l[|ŲHLN밪4*sG3|Dv}?+y߉{OuOAt4Jj.u]Gz*҉sP'VQKbA1u\`& Af;HWj hsO;ogTu uj7S3/QzUr&wS`M$X_L7r2;aE+ώ%vikDA:dR+%KzƉo>eOth$z%: :{WwaQ:wz%4foɹE[9<]#ERINƻv溂E%P1i01 |Jvҗ&{b?9g=^wζXn/lK::90KwrюO\!ջ3uzuGv^;騢wq<Iatv09:tt~hEG`v;3@MNZD.1]L:{ծI3`L(÷ba")Y.iljCɄae#I"1 `3*Bdz>j<fU40⨬%O$3cGt]j%Fߠ_twJ;ABU8vP3uEԑwQ V:h%))LfraqX-ۿX]v-\9I gl8tzX ]ecm)-cgʒ#Uw=Wlێn(0hPP/ӨtQ“&J35 $=]r1{tLuǮ*i0_;NƝ8;-vݏr8+U-kruȕYr0RnC]*ެ(M:]gE;{]tg(#ZJ9y>utRDRMdr9㪩̞zֹb<ģ&wzJM"iI( .ꮅX)Qw:9,i좜\Ԛi7&N0:asϓc];=ΗOӣ APqz93 y $)A*kVHZwBƺnWNaby>XMN*45~ղM6Nvm;A=jֲ.~1}(9`KJ/V F9[=`~[;sRuk]rєT!)iQO)Y$V ی ۤmzWz5IM Zb )ˆC`6 rRa}qNmUfDsWuˤV{ Pݝ'=Kֳbg,UҘVz2ﴻnjNgBb{? ߮tcsͻQuxVCIY۠:(V뺕 ٥2;t`@Fo{Z9`;]wMzU~%UA蛚dI vGq\r82iu +St`cR.6U/M9IENDB` REDROOM
PHP 5.6.40
Preview: _compat.py Size: 2.54 KB
/lib/python3.6/site-packages/jinja2/_compat.py

# -*- coding: utf-8 -*-
"""
    jinja2._compat
    ~~~~~~~~~~~~~~

    Some py2/py3 compatibility support based on a stripped down
    version of six so we don't have to depend on a specific version
    of it.

    :copyright: Copyright 2013 by the Jinja team, see AUTHORS.
    :license: BSD, see LICENSE for details.
"""
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

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 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

Directory Contents

Dirs: 1 × Files: 27

Name Size Perms Modified Actions
- drwxr-xr-x 2025-04-06 18:04:22
Edit Download
4.05 KB lrw-r--r-- 2019-04-06 17:10:11
Edit Download
7.69 KB lrw-r--r-- 2019-04-06 17:10:11
Edit Download
12.49 KB lrw-r--r-- 2019-03-19 19:49:57
Edit Download
63.85 KB lrw-r--r-- 2019-04-06 17:10:11
Edit Download
1.59 KB lrw-r--r-- 2019-03-19 19:47:45
Edit Download
11.76 KB lrw-r--r-- 2019-03-19 19:47:45
Edit Download
1.37 KB lrw-r--r-- 2019-03-19 19:49:57
Edit Download
49.66 KB lrw-r--r-- 2019-04-06 17:10:11
Edit Download
4.32 KB lrw-r--r-- 2019-03-19 19:47:45
Edit Download
23.93 KB lrw-r--r-- 2019-04-06 17:10:11
Edit Download
36.27 KB lrw-r--r-- 2025-03-31 07:43:47
Edit Download
8.98 KB lrw-r--r-- 2019-03-19 19:49:57
Edit Download
27.89 KB lrw-r--r-- 2019-03-19 19:49:57
Edit Download
16.97 KB lrw-r--r-- 2019-03-19 19:47:45
Edit Download
4.24 KB lrw-r--r-- 2019-03-19 19:47:45
Edit Download
7.14 KB lrw-r--r-- 2019-04-06 17:10:11
Edit Download
30.13 KB lrw-r--r-- 2019-04-06 17:10:11
Edit Download
1.68 KB lrw-r--r-- 2019-03-19 19:47:45
Edit Download
35.03 KB lrw-r--r-- 2019-04-06 17:10:11
Edit Download
27.10 KB lrw-r--r-- 2019-04-06 17:10:11
Edit Download
17.08 KB lrw-r--r-- 2025-03-31 07:43:47
Edit Download
4.14 KB lrw-r--r-- 2019-04-06 17:10:11
Edit Download
20.29 KB lrw-r--r-- 2025-03-31 07:43:47
Edit Download
3.24 KB lrw-r--r-- 2019-03-19 19:47:45
Edit Download
2.54 KB lrw-r--r-- 2019-04-06 17:10:11
Edit Download
1.69 KB lrw-r--r-- 2019-03-19 19:49:57
Edit Download
2.55 KB lrw-r--r-- 2019-04-06 17:50:57
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 REDROOM — Secure File Manager. All rights reserved. Built with ❤️ & Red Dark UI