✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ beluga.o2switch.net ​🇻​♯➤ 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 185.154.139.77 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.254
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python34/lib64/python3.4/test//test_codeccallbacks.py
import codecs
import html.entities
import sys
import test.support
import unicodedata
import unittest
import warnings

class PosReturn:
    # this can be used for configurable callbacks

    def __init__(self):
        self.pos = 0

    def handle(self, exc):
        oldpos = self.pos
        realpos = oldpos
        if realpos<0:
            realpos = len(exc.object) + realpos
        # if we don't advance this time, terminate on the next call
        # otherwise we'd get an endless loop
        if realpos <= exc.start:
            self.pos = len(exc.object)
        return ("<?>", oldpos)

# A UnicodeEncodeError object with a bad start attribute
class BadStartUnicodeEncodeError(UnicodeEncodeError):
    def __init__(self):
        UnicodeEncodeError.__init__(self, "ascii", "", 0, 1, "bad")
        self.start = []

# A UnicodeEncodeError object with a bad object attribute
class BadObjectUnicodeEncodeError(UnicodeEncodeError):
    def __init__(self):
        UnicodeEncodeError.__init__(self, "ascii", "", 0, 1, "bad")
        self.object = []

# A UnicodeDecodeError object without an end attribute
class NoEndUnicodeDecodeError(UnicodeDecodeError):
    def __init__(self):
        UnicodeDecodeError.__init__(self, "ascii", bytearray(b""), 0, 1, "bad")
        del self.end

# A UnicodeDecodeError object with a bad object attribute
class BadObjectUnicodeDecodeError(UnicodeDecodeError):
    def __init__(self):
        UnicodeDecodeError.__init__(self, "ascii", bytearray(b""), 0, 1, "bad")
        self.object = []

# A UnicodeTranslateError object without a start attribute
class NoStartUnicodeTranslateError(UnicodeTranslateError):
    def __init__(self):
        UnicodeTranslateError.__init__(self, "", 0, 1, "bad")
        del self.start

# A UnicodeTranslateError object without an end attribute
class NoEndUnicodeTranslateError(UnicodeTranslateError):
    def __init__(self):
        UnicodeTranslateError.__init__(self,  "", 0, 1, "bad")
        del self.end

# A UnicodeTranslateError object without an object attribute
class NoObjectUnicodeTranslateError(UnicodeTranslateError):
    def __init__(self):
        UnicodeTranslateError.__init__(self, "", 0, 1, "bad")
        del self.object

class CodecCallbackTest(unittest.TestCase):

    def test_xmlcharrefreplace(self):
        # replace unencodable characters which numeric character entities.
        # For ascii, latin-1 and charmaps this is completely implemented
        # in C and should be reasonably fast.
        s = "\u30b9\u30d1\u30e2 \xe4nd eggs"
        self.assertEqual(
            s.encode("ascii", "xmlcharrefreplace"),
            b"&#12473;&#12497;&#12514; &#228;nd eggs"
        )
        self.assertEqual(
            s.encode("latin-1", "xmlcharrefreplace"),
            b"&#12473;&#12497;&#12514; \xe4nd eggs"
        )

    def test_xmlcharnamereplace(self):
        # This time use a named character entity for unencodable
        # characters, if one is available.

        def xmlcharnamereplace(exc):
            if not isinstance(exc, UnicodeEncodeError):
                raise TypeError("don't know how to handle %r" % exc)
            l = []
            for c in exc.object[exc.start:exc.end]:
                try:
                    l.append("&%s;" % html.entities.codepoint2name[ord(c)])
                except KeyError:
                    l.append("&#%d;" % ord(c))
            return ("".join(l), exc.end)

        codecs.register_error(
            "test.xmlcharnamereplace", xmlcharnamereplace)

        sin = "\xab\u211c\xbb = \u2329\u1234\u20ac\u232a"
        sout = b"&laquo;&real;&raquo; = &lang;&#4660;&euro;&rang;"
        self.assertEqual(sin.encode("ascii", "test.xmlcharnamereplace"), sout)
        sout = b"\xab&real;\xbb = &lang;&#4660;&euro;&rang;"
        self.assertEqual(sin.encode("latin-1", "test.xmlcharnamereplace"), sout)
        sout = b"\xab&real;\xbb = &lang;&#4660;\xa4&rang;"
        self.assertEqual(sin.encode("iso-8859-15", "test.xmlcharnamereplace"), sout)

    def test_uninamereplace(self):
        # We're using the names from the unicode database this time,
        # and we're doing "syntax highlighting" here, i.e. we include
        # the replaced text in ANSI escape sequences. For this it is
        # useful that the error handler is not called for every single
        # unencodable character, but for a complete sequence of
        # unencodable characters, otherwise we would output many
        # unnecessary escape sequences.

        def uninamereplace(exc):
            if not isinstance(exc, UnicodeEncodeError):
                raise TypeError("don't know how to handle %r" % exc)
            l = []
            for c in exc.object[exc.start:exc.end]:
                l.append(unicodedata.name(c, "0x%x" % ord(c)))
            return ("\033[1m%s\033[0m" % ", ".join(l), exc.end)

        codecs.register_error(
            "test.uninamereplace", uninamereplace)

        sin = "\xac\u1234\u20ac\u8000"
        sout = b"\033[1mNOT SIGN, ETHIOPIC SYLLABLE SEE, EURO SIGN, CJK UNIFIED IDEOGRAPH-8000\033[0m"
        self.assertEqual(sin.encode("ascii", "test.uninamereplace"), sout)

        sout = b"\xac\033[1mETHIOPIC SYLLABLE SEE, EURO SIGN, CJK UNIFIED IDEOGRAPH-8000\033[0m"
        self.assertEqual(sin.encode("latin-1", "test.uninamereplace"), sout)

        sout = b"\xac\033[1mETHIOPIC SYLLABLE SEE\033[0m\xa4\033[1mCJK UNIFIED IDEOGRAPH-8000\033[0m"
        self.assertEqual(sin.encode("iso-8859-15", "test.uninamereplace"), sout)

    def test_backslashescape(self):
        # Does the same as the "unicode-escape" encoding, but with different
        # base encodings.
        sin = "a\xac\u1234\u20ac\u8000\U0010ffff"
        sout = b"a\\xac\\u1234\\u20ac\\u8000\\U0010ffff"
        self.assertEqual(sin.encode("ascii", "backslashreplace"), sout)

        sout = b"a\xac\\u1234\\u20ac\\u8000\\U0010ffff"
        self.assertEqual(sin.encode("latin-1", "backslashreplace"), sout)

        sout = b"a\xac\\u1234\xa4\\u8000\\U0010ffff"
        self.assertEqual(sin.encode("iso-8859-15", "backslashreplace"), sout)

    def test_decoding_callbacks(self):
        # This is a test for a decoding callback handler
        # that allows the decoding of the invalid sequence
        # "\xc0\x80" and returns "\x00" instead of raising an error.
        # All other illegal sequences will be handled strictly.
        def relaxedutf8(exc):
            if not isinstance(exc, UnicodeDecodeError):
                raise TypeError("don't know how to handle %r" % exc)
            if exc.object[exc.start:exc.start+2] == b"\xc0\x80":
                return ("\x00", exc.start+2) # retry after two bytes
            else:
                raise exc

        codecs.register_error("test.relaxedutf8", relaxedutf8)

        # all the "\xc0\x80" will be decoded to "\x00"
        sin = b"a\x00b\xc0\x80c\xc3\xbc\xc0\x80\xc0\x80"
        sout = "a\x00b\x00c\xfc\x00\x00"
        self.assertEqual(sin.decode("utf-8", "test.relaxedutf8"), sout)

        # "\xc0\x81" is not valid and a UnicodeDecodeError will be raised
        sin = b"\xc0\x80\xc0\x81"
        self.assertRaises(UnicodeDecodeError, sin.decode,
                          "utf-8", "test.relaxedutf8")

    def test_charmapencode(self):
        # For charmap encodings the replacement string will be
        # mapped through the encoding again. This means, that
        # to be able to use e.g. the "replace" handler, the
        # charmap has to have a mapping for "?".
        charmap = dict((ord(c), bytes(2*c.upper(), 'ascii')) for c in "abcdefgh")
        sin = "abc"
        sout = b"AABBCC"
        self.assertEqual(codecs.charmap_encode(sin, "strict", charmap)[0], sout)

        sin = "abcA"
        self.assertRaises(UnicodeError, codecs.charmap_encode, sin, "strict", charmap)

        charmap[ord("?")] = b"XYZ"
        sin = "abcDEF"
        sout = b"AABBCCXYZXYZXYZ"
        self.assertEqual(codecs.charmap_encode(sin, "replace", charmap)[0], sout)

        charmap[ord("?")] = "XYZ" # wrong type in mapping
        self.assertRaises(TypeError, codecs.charmap_encode, sin, "replace", charmap)

    def test_decodeunicodeinternal(self):
        with test.support.check_warnings(('unicode_internal codec has been '
                                          'deprecated', DeprecationWarning)):
            self.assertRaises(
                UnicodeDecodeError,
                b"\x00\x00\x00\x00\x00".decode,
                "unicode-internal",
            )
            if len('\0'.encode('unicode-internal')) == 4:
                def handler_unicodeinternal(exc):
                    if not isinstance(exc, UnicodeDecodeError):
                        raise TypeError("don't know how to handle %r" % exc)
                    return ("\x01", 1)

                self.assertEqual(
                    b"\x00\x00\x00\x00\x00".decode("unicode-internal", "ignore"),
                    "\u0000"
                )

                self.assertEqual(
                    b"\x00\x00\x00\x00\x00".decode("unicode-internal", "replace"),
                    "\u0000\ufffd"
                )

                codecs.register_error("test.hui", handler_unicodeinternal)

                self.assertEqual(
                    b"\x00\x00\x00\x00\x00".decode("unicode-internal", "test.hui"),
                    "\u0000\u0001\u0000"
                )

    def test_callbacks(self):
        def handler1(exc):
            r = range(exc.start, exc.end)
            if isinstance(exc, UnicodeEncodeError):
                l = ["<%d>" % ord(exc.object[pos]) for pos in r]
            elif isinstance(exc, UnicodeDecodeError):
                l = ["<%d>" % exc.object[pos] for pos in r]
            else:
                raise TypeError("don't know how to handle %r" % exc)
            return ("[%s]" % "".join(l), exc.end)

        codecs.register_error("test.handler1", handler1)

        def handler2(exc):
            if not isinstance(exc, UnicodeDecodeError):
                raise TypeError("don't know how to handle %r" % exc)
            l = ["<%d>" % exc.object[pos] for pos in range(exc.start, exc.end)]
            return ("[%s]" % "".join(l), exc.end+1) # skip one character

        codecs.register_error("test.handler2", handler2)

        s = b"\x00\x81\x7f\x80\xff"

        self.assertEqual(
            s.decode("ascii", "test.handler1"),
            "\x00[<129>]\x7f[<128>][<255>]"
        )
        self.assertEqual(
            s.decode("ascii", "test.handler2"),
            "\x00[<129>][<128>]"
        )

        self.assertEqual(
            b"\\u3042\u3xxx".decode("unicode-escape", "test.handler1"),
            "\u3042[<92><117><51>]xxx"
        )

        self.assertEqual(
            b"\\u3042\u3xx".decode("unicode-escape", "test.handler1"),
            "\u3042[<92><117><51>]xx"
        )

        self.assertEqual(
            codecs.charmap_decode(b"abc", "test.handler1", {ord("a"): "z"})[0],
            "z[<98>][<99>]"
        )

        self.assertEqual(
            "g\xfc\xdfrk".encode("ascii", "test.handler1"),
            b"g[<252><223>]rk"
        )

        self.assertEqual(
            "g\xfc\xdf".encode("ascii", "test.handler1"),
            b"g[<252><223>]"
        )

    def test_longstrings(self):
        # test long strings to check for memory overflow problems
        errors = [ "strict", "ignore", "replace", "xmlcharrefreplace",
                   "backslashreplace"]
        # register the handlers under different names,
        # to prevent the codec from recognizing the name
        for err in errors:
            codecs.register_error("test." + err, codecs.lookup_error(err))
        l = 1000
        errors += [ "test." + err for err in errors ]
        for uni in [ s*l for s in ("x", "\u3042", "a\xe4") ]:
            for enc in ("ascii", "latin-1", "iso-8859-1", "iso-8859-15",
                        "utf-8", "utf-7", "utf-16", "utf-32"):
                for err in errors:
                    try:
                        uni.encode(enc, err)
                    except UnicodeError:
                        pass

    def check_exceptionobjectargs(self, exctype, args, msg):
        # Test UnicodeError subclasses: construction, attribute assignment and __str__ conversion
        # check with one missing argument
        self.assertRaises(TypeError, exctype, *args[:-1])
        # check with one argument too much
        self.assertRaises(TypeError, exctype, *(args + ["too much"]))
        # check with one argument of the wrong type
        wrongargs = [ "spam", b"eggs", b"spam", 42, 1.0, None ]
        for i in range(len(args)):
            for wrongarg in wrongargs:
                if type(wrongarg) is type(args[i]):
                    continue
                # build argument array
                callargs = []
                for j in range(len(args)):
                    if i==j:
                        callargs.append(wrongarg)
                    else:
                        callargs.append(args[i])
                self.assertRaises(TypeError, exctype, *callargs)

        # check with the correct number and type of arguments
        exc = exctype(*args)
        self.assertEqual(str(exc), msg)

    def test_unicodeencodeerror(self):
        self.check_exceptionobjectargs(
            UnicodeEncodeError,
            ["ascii", "g\xfcrk", 1, 2, "ouch"],
            "'ascii' codec can't encode character '\\xfc' in position 1: ouch"
        )
        self.check_exceptionobjectargs(
            UnicodeEncodeError,
            ["ascii", "g\xfcrk", 1, 4, "ouch"],
            "'ascii' codec can't encode characters in position 1-3: ouch"
        )
        self.check_exceptionobjectargs(
            UnicodeEncodeError,
            ["ascii", "\xfcx", 0, 1, "ouch"],
            "'ascii' codec can't encode character '\\xfc' in position 0: ouch"
        )
        self.check_exceptionobjectargs(
            UnicodeEncodeError,
            ["ascii", "\u0100x", 0, 1, "ouch"],
            "'ascii' codec can't encode character '\\u0100' in position 0: ouch"
        )
        self.check_exceptionobjectargs(
            UnicodeEncodeError,
            ["ascii", "\uffffx", 0, 1, "ouch"],
            "'ascii' codec can't encode character '\\uffff' in position 0: ouch"
        )
        self.check_exceptionobjectargs(
            UnicodeEncodeError,
            ["ascii", "\U00010000x", 0, 1, "ouch"],
            "'ascii' codec can't encode character '\\U00010000' in position 0: ouch"
        )

    def test_unicodedecodeerror(self):
        self.check_exceptionobjectargs(
            UnicodeDecodeError,
            ["ascii", bytearray(b"g\xfcrk"), 1, 2, "ouch"],
            "'ascii' codec can't decode byte 0xfc in position 1: ouch"
        )
        self.check_exceptionobjectargs(
            UnicodeDecodeError,
            ["ascii", bytearray(b"g\xfcrk"), 1, 3, "ouch"],
            "'ascii' codec can't decode bytes in position 1-2: ouch"
        )

    def test_unicodetranslateerror(self):
        self.check_exceptionobjectargs(
            UnicodeTranslateError,
            ["g\xfcrk", 1, 2, "ouch"],
            "can't translate character '\\xfc' in position 1: ouch"
        )
        self.check_exceptionobjectargs(
            UnicodeTranslateError,
            ["g\u0100rk", 1, 2, "ouch"],
            "can't translate character '\\u0100' in position 1: ouch"
        )
        self.check_exceptionobjectargs(
            UnicodeTranslateError,
            ["g\uffffrk", 1, 2, "ouch"],
            "can't translate character '\\uffff' in position 1: ouch"
        )
        self.check_exceptionobjectargs(
            UnicodeTranslateError,
            ["g\U00010000rk", 1, 2, "ouch"],
            "can't translate character '\\U00010000' in position 1: ouch"
        )
        self.check_exceptionobjectargs(
            UnicodeTranslateError,
            ["g\xfcrk", 1, 3, "ouch"],
            "can't translate characters in position 1-2: ouch"
        )

    def test_badandgoodstrictexceptions(self):
        # "strict" complains about a non-exception passed in
        self.assertRaises(
            TypeError,
            codecs.strict_errors,
            42
        )
        # "strict" complains about the wrong exception type
        self.assertRaises(
            Exception,
            codecs.strict_errors,
            Exception("ouch")
        )

        # If the correct exception is passed in, "strict" raises it
        self.assertRaises(
            UnicodeEncodeError,
            codecs.strict_errors,
            UnicodeEncodeError("ascii", "\u3042", 0, 1, "ouch")
        )
        self.assertRaises(
            UnicodeDecodeError,
            codecs.strict_errors,
            UnicodeDecodeError("ascii", bytearray(b"\xff"), 0, 1, "ouch")
        )
        self.assertRaises(
            UnicodeTranslateError,
            codecs.strict_errors,
            UnicodeTranslateError("\u3042", 0, 1, "ouch")
        )

    def test_badandgoodignoreexceptions(self):
        # "ignore" complains about a non-exception passed in
        self.assertRaises(
           TypeError,
           codecs.ignore_errors,
           42
        )
        # "ignore" complains about the wrong exception type
        self.assertRaises(
           TypeError,
           codecs.ignore_errors,
           UnicodeError("ouch")
        )
        # If the correct exception is passed in, "ignore" returns an empty replacement
        self.assertEqual(
            codecs.ignore_errors(
                UnicodeEncodeError("ascii", "a\u3042b", 1, 2, "ouch")),
            ("", 2)
        )
        self.assertEqual(
            codecs.ignore_errors(
                UnicodeDecodeError("ascii", bytearray(b"a\xffb"), 1, 2, "ouch")),
            ("", 2)
        )
        self.assertEqual(
            codecs.ignore_errors(
                UnicodeTranslateError("a\u3042b", 1, 2, "ouch")),
            ("", 2)
        )

    def test_badandgoodreplaceexceptions(self):
        # "replace" complains about a non-exception passed in
        self.assertRaises(
           TypeError,
           codecs.replace_errors,
           42
        )
        # "replace" complains about the wrong exception type
        self.assertRaises(
           TypeError,
           codecs.replace_errors,
           UnicodeError("ouch")
        )
        self.assertRaises(
            TypeError,
            codecs.replace_errors,
            BadObjectUnicodeEncodeError()
        )
        self.assertRaises(
            TypeError,
            codecs.replace_errors,
            BadObjectUnicodeDecodeError()
        )
        # With the correct exception, "replace" returns an "?" or "\ufffd" replacement
        self.assertEqual(
            codecs.replace_errors(
                UnicodeEncodeError("ascii", "a\u3042b", 1, 2, "ouch")),
            ("?", 2)
        )
        self.assertEqual(
            codecs.replace_errors(
                UnicodeDecodeError("ascii", bytearray(b"a\xffb"), 1, 2, "ouch")),
            ("\ufffd", 2)
        )
        self.assertEqual(
            codecs.replace_errors(
                UnicodeTranslateError("a\u3042b", 1, 2, "ouch")),
            ("\ufffd", 2)
        )

    def test_badandgoodxmlcharrefreplaceexceptions(self):
        # "xmlcharrefreplace" complains about a non-exception passed in
        self.assertRaises(
           TypeError,
           codecs.xmlcharrefreplace_errors,
           42
        )
        # "xmlcharrefreplace" complains about the wrong exception types
        self.assertRaises(
           TypeError,
           codecs.xmlcharrefreplace_errors,
           UnicodeError("ouch")
        )
        # "xmlcharrefreplace" can only be used for encoding
        self.assertRaises(
            TypeError,
            codecs.xmlcharrefreplace_errors,
            UnicodeDecodeError("ascii", bytearray(b"\xff"), 0, 1, "ouch")
        )
        self.assertRaises(
            TypeError,
            codecs.xmlcharrefreplace_errors,
            UnicodeTranslateError("\u3042", 0, 1, "ouch")
        )
        # Use the correct exception
        cs = (0, 1, 9, 10, 99, 100, 999, 1000, 9999, 10000, 99999, 100000,
              999999, 1000000)
        cs += (0xd800, 0xdfff)
        s = "".join(chr(c) for c in cs)
        self.assertEqual(
            codecs.xmlcharrefreplace_errors(
                UnicodeEncodeError("ascii", "a" + s + "b",
                                   1, 1 + len(s), "ouch")
            ),
            ("".join("&#%d;" % c for c in cs), 1 + len(s))
        )

    def test_badandgoodbackslashreplaceexceptions(self):
        # "backslashreplace" complains about a non-exception passed in
        self.assertRaises(
           TypeError,
           codecs.backslashreplace_errors,
           42
        )
        # "backslashreplace" complains about the wrong exception types
        self.assertRaises(
           TypeError,
           codecs.backslashreplace_errors,
           UnicodeError("ouch")
        )
        # "backslashreplace" can only be used for encoding
        self.assertRaises(
            TypeError,
            codecs.backslashreplace_errors,
            UnicodeDecodeError("ascii", bytearray(b"\xff"), 0, 1, "ouch")
        )
        self.assertRaises(
            TypeError,
            codecs.backslashreplace_errors,
            UnicodeTranslateError("\u3042", 0, 1, "ouch")
        )
        # Use the correct exception
        tests = [
            ("\u3042", "\\u3042"),
            ("\n", "\\x0a"),
            ("a", "\\x61"),
            ("\x00", "\\x00"),
            ("\xff", "\\xff"),
            ("\u0100", "\\u0100"),
            ("\uffff", "\\uffff"),
            ("\U00010000", "\\U00010000"),
            ("\U0010ffff", "\\U0010ffff"),
            # Lone surrogates
            ("\ud800", "\\ud800"),
            ("\udfff", "\\udfff"),
            ("\ud800\udfff", "\\ud800\\udfff"),
        ]
        for s, r in tests:
            with self.subTest(str=s):
                self.assertEqual(
                    codecs.backslashreplace_errors(
                        UnicodeEncodeError("ascii", "a" + s + "b",
                                           1, 1 + len(s), "ouch")),
                    (r, 1 + len(s))
                )

    def test_badandgoodsurrogateescapeexceptions(self):
        surrogateescape_errors = codecs.lookup_error('surrogateescape')
        # "surrogateescape" complains about a non-exception passed in
        self.assertRaises(
           TypeError,
           surrogateescape_errors,
           42
        )
        # "surrogateescape" complains about the wrong exception types
        self.assertRaises(
           TypeError,
           surrogateescape_errors,
           UnicodeError("ouch")
        )
        # "surrogateescape" can not be used for translating
        self.assertRaises(
            TypeError,
            surrogateescape_errors,
            UnicodeTranslateError("\udc80", 0, 1, "ouch")
        )
        # Use the correct exception
        for s in ("a", "\udc7f", "\udd00"):
            with self.subTest(str=s):
                self.assertRaises(
                    UnicodeEncodeError,
                    surrogateescape_errors,
                    UnicodeEncodeError("ascii", s, 0, 1, "ouch")
                )
        self.assertEqual(
            surrogateescape_errors(
                UnicodeEncodeError("ascii", "a\udc80b", 1, 2, "ouch")),
            (b"\x80", 2)
        )
        self.assertRaises(
            UnicodeDecodeError,
            surrogateescape_errors,
            UnicodeDecodeError("ascii", bytearray(b"a"), 0, 1, "ouch")
        )
        self.assertEqual(
            surrogateescape_errors(
                UnicodeDecodeError("ascii", bytearray(b"a\x80b"), 1, 2, "ouch")),
            ("\udc80", 2)
        )

    def test_badandgoodsurrogatepassexceptions(self):
        surrogatepass_errors = codecs.lookup_error('surrogatepass')
        # "surrogatepass" complains about a non-exception passed in
        self.assertRaises(
           TypeError,
           surrogatepass_errors,
           42
        )
        # "surrogatepass" complains about the wrong exception types
        self.assertRaises(
           TypeError,
           surrogatepass_errors,
           UnicodeError("ouch")
        )
        # "surrogatepass" can not be used for translating
        self.assertRaises(
            TypeError,
            surrogatepass_errors,
            UnicodeTranslateError("\ud800", 0, 1, "ouch")
        )
        # Use the correct exception
        for enc in ("utf-8", "utf-16le", "utf-16be", "utf-32le", "utf-32be"):
            with self.subTest(encoding=enc):
                self.assertRaises(
                    UnicodeEncodeError,
                    surrogatepass_errors,
                    UnicodeEncodeError(enc, "a", 0, 1, "ouch")
                )
                self.assertRaises(
                    UnicodeDecodeError,
                    surrogatepass_errors,
                    UnicodeDecodeError(enc, "a".encode(enc), 0, 1, "ouch")
                )
        tests = [
            ("ascii", "\ud800", b'\xed\xa0\x80', 3),
            ("utf-8", "\ud800", b'\xed\xa0\x80', 3),
            ("utf-16le", "\ud800", b'\x00\xd8', 2),
            ("utf-16be", "\ud800", b'\xd8\x00', 2),
            ("utf-32le", "\ud800", b'\x00\xd8\x00\x00', 4),
            ("utf-32be", "\ud800", b'\x00\x00\xd8\x00', 4),
            ("ascii", "\udfff", b'\xed\xbf\xbf', 3),
            ("utf-8", "\udfff", b'\xed\xbf\xbf', 3),
            ("utf-16le", "\udfff", b'\xff\xdf', 2),
            ("utf-16be", "\udfff", b'\xdf\xff', 2),
            ("utf-32le", "\udfff", b'\xff\xdf\x00\x00', 4),
            ("utf-32be", "\udfff", b'\x00\x00\xdf\xff', 4),
            ("ascii", "\ud800\udfff", b'\xed\xa0\x80\xed\xbf\xbf', 3),
            ("utf-8", "\ud800\udfff", b'\xed\xa0\x80\xed\xbf\xbf', 3),
            ("utf-16le", "\ud800\udfff", b'\x00\xd8\xff\xdf', 2),
            ("utf-16be", "\ud800\udfff", b'\xd8\x00\xdf\xff', 2),
            ("utf-32le", "\ud800\udfff", b'\x00\xd8\x00\x00\xff\xdf\x00\x00', 4),
            ("utf-32be", "\ud800\udfff", b'\x00\x00\xd8\x00\x00\x00\xdf\xff', 4),
        ]
        for enc, s, b, n in tests:
            with self.subTest(encoding=enc, str=s, bytes=b):
                self.assertEqual(
                    surrogatepass_errors(
                        UnicodeEncodeError(enc, "a" + s + "b",
                                           1, 1 + len(s), "ouch")),
                    (b, 1 + len(s))
                )
                self.assertEqual(
                    surrogatepass_errors(
                        UnicodeDecodeError(enc, bytearray(b"a" + b[:n] + b"b"),
                                           1, n, "ouch")),
                    (s[:1], 1 + n)
                )

    def test_badhandlerresults(self):
        results = ( 42, "foo", (1,2,3), ("foo", 1, 3), ("foo", None), ("foo",), ("foo", 1, 3), ("foo", None), ("foo",) )
        encs = ("ascii", "latin-1", "iso-8859-1", "iso-8859-15")

        for res in results:
            codecs.register_error("test.badhandler", lambda x: res)
            for enc in encs:
                self.assertRaises(
                    TypeError,
                    "\u3042".encode,
                    enc,
                    "test.badhandler"
                )
            for (enc, bytes) in (
                ("ascii", b"\xff"),
                ("utf-8", b"\xff"),
                ("utf-7", b"+x-"),
                ("unicode-internal", b"\x00"),
            ):
                with test.support.check_warnings():
                    # unicode-internal has been deprecated
                    self.assertRaises(
                        TypeError,
                        bytes.decode,
                        enc,
                        "test.badhandler"
                    )

    def test_lookup(self):
        self.assertEqual(codecs.strict_errors, codecs.lookup_error("strict"))
        self.assertEqual(codecs.ignore_errors, codecs.lookup_error("ignore"))
        self.assertEqual(codecs.strict_errors, codecs.lookup_error("strict"))
        self.assertEqual(
            codecs.xmlcharrefreplace_errors,
            codecs.lookup_error("xmlcharrefreplace")
        )
        self.assertEqual(
            codecs.backslashreplace_errors,
            codecs.lookup_error("backslashreplace")
        )

    def test_unencodablereplacement(self):
        def unencrepl(exc):
            if isinstance(exc, UnicodeEncodeError):
                return ("\u4242", exc.end)
            else:
                raise TypeError("don't know how to handle %r" % exc)
        codecs.register_error("test.unencreplhandler", unencrepl)
        for enc in ("ascii", "iso-8859-1", "iso-8859-15"):
            self.assertRaises(
                UnicodeEncodeError,
                "\u4242".encode,
                enc,
                "test.unencreplhandler"
            )

    def test_badregistercall(self):
        # enhance coverage of:
        # Modules/_codecsmodule.c::register_error()
        # Python/codecs.c::PyCodec_RegisterError()
        self.assertRaises(TypeError, codecs.register_error, 42)
        self.assertRaises(TypeError, codecs.register_error, "test.dummy", 42)

    def test_badlookupcall(self):
        # enhance coverage of:
        # Modules/_codecsmodule.c::lookup_error()
        self.assertRaises(TypeError, codecs.lookup_error)

    def test_unknownhandler(self):
        # enhance coverage of:
        # Modules/_codecsmodule.c::lookup_error()
        self.assertRaises(LookupError, codecs.lookup_error, "test.unknown")

    def test_xmlcharrefvalues(self):
        # enhance coverage of:
        # Python/codecs.c::PyCodec_XMLCharRefReplaceErrors()
        # and inline implementations
        v = (1, 5, 10, 50, 100, 500, 1000, 5000, 10000, 50000, 100000,
             500000, 1000000)
        s = "".join([chr(x) for x in v])
        codecs.register_error("test.xmlcharrefreplace", codecs.xmlcharrefreplace_errors)
        for enc in ("ascii", "iso-8859-15"):
            for err in ("xmlcharrefreplace", "test.xmlcharrefreplace"):
                s.encode(enc, err)

    def test_decodehelper(self):
        # enhance coverage of:
        # Objects/unicodeobject.c::unicode_decode_call_errorhandler()
        # and callers
        self.assertRaises(LookupError, b"\xff".decode, "ascii", "test.unknown")

        def baddecodereturn1(exc):
            return 42
        codecs.register_error("test.baddecodereturn1", baddecodereturn1)
        self.assertRaises(TypeError, b"\xff".decode, "ascii", "test.baddecodereturn1")
        self.assertRaises(TypeError, b"\\".decode, "unicode-escape", "test.baddecodereturn1")
        self.assertRaises(TypeError, b"\\x0".decode, "unicode-escape", "test.baddecodereturn1")
        self.assertRaises(TypeError, b"\\x0y".decode, "unicode-escape", "test.baddecodereturn1")
        self.assertRaises(TypeError, b"\\Uffffeeee".decode, "unicode-escape", "test.baddecodereturn1")
        self.assertRaises(TypeError, b"\\uyyyy".decode, "raw-unicode-escape", "test.baddecodereturn1")

        def baddecodereturn2(exc):
            return ("?", None)
        codecs.register_error("test.baddecodereturn2", baddecodereturn2)
        self.assertRaises(TypeError, b"\xff".decode, "ascii", "test.baddecodereturn2")

        handler = PosReturn()
        codecs.register_error("test.posreturn", handler.handle)

        # Valid negative position
        handler.pos = -1
        self.assertEqual(b"\xff0".decode("ascii", "test.posreturn"), "<?>0")

        # Valid negative position
        handler.pos = -2
        self.assertEqual(b"\xff0".decode("ascii", "test.posreturn"), "<?><?>")

        # Negative position out of bounds
        handler.pos = -3
        self.assertRaises(IndexError, b"\xff0".decode, "ascii", "test.posreturn")

        # Valid positive position
        handler.pos = 1
        self.assertEqual(b"\xff0".decode("ascii", "test.posreturn"), "<?>0")

        # Largest valid positive position (one beyond end of input)
        handler.pos = 2
        self.assertEqual(b"\xff0".decode("ascii", "test.posreturn"), "<?>")

        # Invalid positive position
        handler.pos = 3
        self.assertRaises(IndexError, b"\xff0".decode, "ascii", "test.posreturn")

        # Restart at the "0"
        handler.pos = 6
        self.assertEqual(b"\\uyyyy0".decode("raw-unicode-escape", "test.posreturn"), "<?>0")

        class D(dict):
            def __getitem__(self, key):
                raise ValueError
        self.assertRaises(UnicodeError, codecs.charmap_decode, b"\xff", "strict", {0xff: None})
        self.assertRaises(ValueError, codecs.charmap_decode, b"\xff", "strict", D())
        self.assertRaises(TypeError, codecs.charmap_decode, b"\xff", "strict", {0xff: sys.maxunicode+1})

    def test_encodehelper(self):
        # enhance coverage of:
        # Objects/unicodeobject.c::unicode_encode_call_errorhandler()
        # and callers
        self.assertRaises(LookupError, "\xff".encode, "ascii", "test.unknown")

        def badencodereturn1(exc):
            return 42
        codecs.register_error("test.badencodereturn1", badencodereturn1)
        self.assertRaises(TypeError, "\xff".encode, "ascii", "test.badencodereturn1")

        def badencodereturn2(exc):
            return ("?", None)
        codecs.register_error("test.badencodereturn2", badencodereturn2)
        self.assertRaises(TypeError, "\xff".encode, "ascii", "test.badencodereturn2")

        handler = PosReturn()
        codecs.register_error("test.posreturn", handler.handle)

        # Valid negative position
        handler.pos = -1
        self.assertEqual("\xff0".encode("ascii", "test.posreturn"), b"<?>0")

        # Valid negative position
        handler.pos = -2
        self.assertEqual("\xff0".encode("ascii", "test.posreturn"), b"<?><?>")

        # Negative position out of bounds
        handler.pos = -3
        self.assertRaises(IndexError, "\xff0".encode, "ascii", "test.posreturn")

        # Valid positive position
        handler.pos = 1
        self.assertEqual("\xff0".encode("ascii", "test.posreturn"), b"<?>0")

        # Largest valid positive position (one beyond end of input
        handler.pos = 2
        self.assertEqual("\xff0".encode("ascii", "test.posreturn"), b"<?>")

        # Invalid positive position
        handler.pos = 3
        self.assertRaises(IndexError, "\xff0".encode, "ascii", "test.posreturn")

        handler.pos = 0

        class D(dict):
            def __getitem__(self, key):
                raise ValueError
        for err in ("strict", "replace", "xmlcharrefreplace", "backslashreplace", "test.posreturn"):
            self.assertRaises(UnicodeError, codecs.charmap_encode, "\xff", err, {0xff: None})
            self.assertRaises(ValueError, codecs.charmap_encode, "\xff", err, D())
            self.assertRaises(TypeError, codecs.charmap_encode, "\xff", err, {0xff: 300})

    def test_translatehelper(self):
        # enhance coverage of:
        # Objects/unicodeobject.c::unicode_encode_call_errorhandler()
        # and callers
        # (Unfortunately the errors argument is not directly accessible
        # from Python, so we can't test that much)
        class D(dict):
            def __getitem__(self, key):
                raise ValueError
        #self.assertRaises(ValueError, "\xff".translate, D())
        self.assertRaises(TypeError, "\xff".translate, {0xff: sys.maxunicode+1})
        self.assertRaises(TypeError, "\xff".translate, {0xff: ()})

    def test_bug828737(self):
        charmap = {
            ord("&"): "&amp;",
            ord("<"): "&lt;",
            ord(">"): "&gt;",
            ord('"'): "&quot;",
        }

        for n in (1, 10, 100, 1000):
            text = 'abc<def>ghi'*n
            text.translate(charmap)

    def test_mutatingdecodehandler(self):
        baddata = [
            ("ascii", b"\xff"),
            ("utf-7", b"++"),
            ("utf-8",  b"\xff"),
            ("utf-16", b"\xff"),
            ("utf-32", b"\xff"),
            ("unicode-escape", b"\\u123g"),
            ("raw-unicode-escape", b"\\u123g"),
            ("unicode-internal", b"\xff"),
        ]

        def replacing(exc):
            if isinstance(exc, UnicodeDecodeError):
                exc.object = 42
                return ("\u4242", 0)
            else:
                raise TypeError("don't know how to handle %r" % exc)
        codecs.register_error("test.replacing", replacing)

        with test.support.check_warnings():
            # unicode-internal has been deprecated
            for (encoding, data) in baddata:
                with self.assertRaises(TypeError):
                    data.decode(encoding, "test.replacing")

        def mutating(exc):
            if isinstance(exc, UnicodeDecodeError):
                exc.object[:] = b""
                return ("\u4242", 0)
            else:
                raise TypeError("don't know how to handle %r" % exc)
        codecs.register_error("test.mutating", mutating)
        # If the decoder doesn't pick up the modified input the following
        # will lead to an endless loop
        with test.support.check_warnings():
            # unicode-internal has been deprecated
            for (encoding, data) in baddata:
                with self.assertRaises(TypeError):
                    data.decode(encoding, "test.replacing")

    def test_fake_error_class(self):
        handlers = [
            codecs.strict_errors,
            codecs.ignore_errors,
            codecs.replace_errors,
            codecs.backslashreplace_errors,
            codecs.xmlcharrefreplace_errors,
            codecs.lookup_error('surrogateescape'),
            codecs.lookup_error('surrogatepass'),
        ]
        for cls in UnicodeEncodeError, UnicodeDecodeError, UnicodeTranslateError:
            class FakeUnicodeError(str):
                __class__ = cls
            for handler in handlers:
                with self.subTest(handler=handler, error_class=cls):
                    self.assertRaises(TypeError, handler, FakeUnicodeError())
            class FakeUnicodeError(Exception):
                __class__ = cls
            for handler in handlers:
                with self.subTest(handler=handler, error_class=cls):
                    with self.assertRaises((TypeError, FakeUnicodeError)):
                        handler(FakeUnicodeError())


if __name__ == "__main__":
    unittest.main()

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
25 Jul 2024 8.44 AM
root / linksafe
0755
__pycache__
--
25 Jul 2024 8.41 AM
root / linksafe
0755
audiodata
--
25 Jul 2024 8.41 AM
root / linksafe
0755
capath
--
25 Jul 2024 8.41 AM
root / linksafe
0755
cjkencodings
--
25 Jul 2024 8.41 AM
root / linksafe
0755
data
--
25 Jul 2024 8.41 AM
root / linksafe
0755
decimaltestdata
--
25 Jul 2024 8.41 AM
root / linksafe
0755
encoded_modules
--
25 Jul 2024 8.41 AM
root / linksafe
0755
imghdrdata
--
25 Jul 2024 8.41 AM
root / linksafe
0755
sndhdrdata
--
25 Jul 2024 8.41 AM
root / linksafe
0755
subprocessdata
--
25 Jul 2024 8.41 AM
root / linksafe
0755
support
--
25 Jul 2024 8.41 AM
root / linksafe
0755
test_asyncio
--
25 Jul 2024 8.41 AM
root / linksafe
0755
test_email
--
25 Jul 2024 8.41 AM
root / linksafe
0755
test_importlib
--
25 Jul 2024 8.41 AM
root / linksafe
0755
test_json
--
25 Jul 2024 8.41 AM
root / linksafe
0755
tracedmodules
--
25 Jul 2024 8.41 AM
root / linksafe
0755
xmltestdata
--
25 Jul 2024 8.41 AM
root / linksafe
0755
185test.db
16 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
Sine-1000Hz-300ms.aif
60.25 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
__init__.py
0.046 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
__main__.py
0.054 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
_test_multiprocessing.py
120.529 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
audiotests.py
12.126 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
autotest.py
0.206 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
bad_coding.py
0.023 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
bad_coding2.py
0.029 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badcert.pem
1.883 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
badkey.pem
2.111 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
badsyntax_3131.py
0.031 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future10.py
0.093 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future3.py
0.168 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future4.py
0.149 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future5.py
0.18 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
badsyntax_future6.py
0.157 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future7.py
0.191 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future8.py
0.119 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_future9.py
0.139 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
badsyntax_pep3120.py
0.014 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
buffer_tests.py
11.107 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
bytecode_helper.py
1.565 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
cfgparser.1
0.021 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
cfgparser.2
19.016 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
cfgparser.3
1.55 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
check_soundcard.vbs
0.401 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
cmath_testcases.txt
133.864 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
coding20731.py
0.018 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
curses_tests.py
1.225 KB
17 Apr 2024 5.09 PM
root / linksafe
0755
datetimetester.py
150.768 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
dh1024.pem
0.293 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
dis_module.py
0.074 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
doctest_aliases.py
0.234 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
double_const.py
1.184 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
empty.vbs
0.068 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
exception_hierarchy.txt
1.688 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
final_a.py
0.401 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
final_b.py
0.401 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
floating_points.txt
15.92 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
fork_wait.py
2.102 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
formatfloat_testcases.txt
7.451 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
future_test1.py
0.224 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
future_test2.py
0.146 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
gdb_sample.py
0.149 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
ieee754.txt
3.206 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
inspect_fodder.py
0.834 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
inspect_fodder2.py
1.386 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
keycert.passwd.pem
1.787 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
keycert.pem
1.741 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
keycert2.pem
1.753 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
keycert3.pem
3.955 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
keycert4.pem
3.962 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
list_tests.py
17.262 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
lock_tests.py
26.896 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
mailcap.txt
1.241 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
make_ssl_certs.py
5.513 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
mapping_tests.py
21.491 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
math_testcases.txt
23.186 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
memory_watchdog.py
0.839 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
mime.types
47.372 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
mock_socket.py
3.31 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
mp_fork_bomb.py
0.438 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
multibytecodec_support.py
14.436 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
nokia.pem
1.878 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
nullbytecert.pem
5.308 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
nullcert.pem
0 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
outstanding_bugs.py
0.361 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
pickletester.py
95.663 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
profilee.py
2.97 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
pstats.pck
65.046 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pycacert.pem
4.206 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pycakey.pem
1.664 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
pyclbr_input.py
0.633 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
pydoc_mod.py
0.691 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
pydocfodder.py
6.184 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
pystone.py
7.565 KB
17 Apr 2024 5.09 PM
root / linksafe
0755
randv2_32.pck
7.341 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
randv2_64.pck
7.192 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
randv3.pck
7.816 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
re_tests.py
31.061 KB
17 Apr 2024 5.09 PM
root / linksafe
0755
regrtest.py
60.323 KB
17 Apr 2024 5.09 PM
root / linksafe
0755
relimport.py
0.026 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
reperf.py
0.525 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
revocation.crl
0.61 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
sample_doctest.py
1.017 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
sample_doctest_no_docstrings.py
0.222 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
sample_doctest_no_doctests.py
0.263 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
script_helper.py
8.68 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
selfsigned_pythontestdotnet.pem
0.934 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
seq_tests.py
13.868 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
sgml_input.html
8.1 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
sha256.pem
8.148 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
sortperf.py
4.692 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
ssl_cert.pem
0.847 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
ssl_key.passwd.pem
0.94 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
ssl_key.pem
0.895 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
ssl_servers.py
6.879 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
ssltests.py
0.625 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
string_tests.py
63.248 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
talos-2019-0758.pem
1.299 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test___all__.py
4.113 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test___future__.py
2.438 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test__locale.py
7.724 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test__opcode.py
0.887 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test__osx_support.py
11.5 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_abc.py
13.326 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_abstract_numbers.py
1.492 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_aifc.py
15.139 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_argparse.py
160.403 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_array.py
44.561 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ast.py
42.968 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_asynchat.py
10.899 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_asyncore.py
26.765 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_atexit.py
4.541 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_audioop.py
28.046 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_augassign.py
7.161 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_base64.py
28.902 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bigaddrspace.py
2.919 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bigmem.py
44.181 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_binascii.py
10.658 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_binhex.py
1.473 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_binop.py
12.844 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bisect.py
13.633 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bool.py
11.749 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_buffer.py
155.566 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bufio.py
2.535 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_builtin.py
58.707 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bytes.py
57.01 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_bz2.py
32.295 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_calendar.py
42.735 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_call.py
3.085 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_capi.py
18.044 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_cgi.py
18.94 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_cgitb.py
2.491 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_charmapcodec.py
1.752 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_class.py
14.136 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_cmath.py
21.468 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_cmd.py
6.114 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_cmd_line.py
19.911 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_cmd_line_script.py
20.207 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_code.py
3.541 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_code_module.py
2.938 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codeccallbacks.py
37.639 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecencodings_cn.py
3.382 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_codecencodings_hk.py
0.757 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecencodings_iso2022.py
1.43 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecencodings_jp.py
4.864 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecencodings_kr.py
3.029 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecencodings_tw.py
0.737 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecmaps_cn.py
0.753 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecmaps_hk.py
0.401 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecmaps_jp.py
1.728 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecmaps_kr.py
1.189 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecmaps_tw.py
0.713 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codecs.py
114.61 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_codeop.py
7.451 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_collections.py
50.445 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_colorsys.py
3.835 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_compare.py
3.9 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_compile.py
22.5 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_compileall.py
16.651 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_complex.py
27.483 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_concurrent_futures.py
23.27 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_configparser.py
70.428 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_contains.py
2.579 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_contextlib.py
25.77 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_copy.py
22.224 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_copyreg.py
4.118 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_cprofile.py
5.41 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_crashers.py
1.182 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_crypt.py
1.059 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_csv.py
41.481 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ctypes.py
0.18 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_curses.py
12.655 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_datetime.py
1.811 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dbm.py
5.517 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dbm_dumb.py
7.074 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dbm_gnu.py
3.275 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dbm_ndbm.py
1.584 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_decimal.py
198.924 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_decorators.py
9.598 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_defaultdict.py
5.941 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_deque.py
25.26 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_descr.py
175.812 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_descrtut.py
11.502 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_devpoll.py
4.528 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dict.py
32.362 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dictcomps.py
3.693 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dictviews.py
9.457 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_difflib.py
11.964 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_difflib_expect.html
100.862 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test_dis.py
40.478 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_distutils.py
0.366 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_doctest.py
92.943 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_doctest.txt
0.293 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test_doctest2.py
2.304 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_doctest2.txt
0.383 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test_doctest3.txt
0.08 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test_doctest4.txt
0.238 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test_docxmlrpc.py
8.323 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dummy_thread.py
6.989 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dummy_threading.py
1.765 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dynamic.py
4.374 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_dynamicclassattribute.py
9.67 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ensurepip.py
11.421 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_enum.py
56.396 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_enumerate.py
8.005 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_eof.py
0.835 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_epoll.py
8.674 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_errno.py
1.144 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_exception_variations.py
3.941 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_exceptions.py
36.046 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_extcall.py
8.643 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_faulthandler.py
21.181 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_fcntl.py
5.098 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_file.py
11.095 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_file_eintr.py
10.089 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_filecmp.py
8.686 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_fileinput.py
34.129 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_fileio.py
15.577 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_finalization.py
14.21 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_float.py
59.14 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_flufl.py
0.816 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_fnmatch.py
2.839 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_fork1.py
3.694 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_format.py
16.815 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_fractions.py
24.769 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_frame.py
4.419 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ftplib.py
37.372 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_funcattrs.py
13.053 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_functools.py
59.518 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_future.py
4.048 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_future3.py
0.479 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_future4.py
0.103 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_future5.py
0.498 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_gc.py
33.03 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_gdb.py
36.707 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_generators.py
54.268 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_genericpath.py
15.839 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_genexps.py
7.115 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_getargs2.py
23.959 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_getopt.py
6.805 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_getpass.py
6.286 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_gettext.py
22.972 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_glob.py
7.486 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_global.py
1.25 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_grammar.py
33.535 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_grp.py
3.183 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_gzip.py
20.999 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_hash.py
11.435 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_hashlib.py
24.428 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_heapq.py
14.136 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_hmac.py
20.206 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_html.py
4.271 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_htmlparser.py
34.043 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_http_cookiejar.py
73.567 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_http_cookies.py
10.48 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_httplib.py
47.045 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_httpservers.py
32.383 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_idle.py
0.768 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_imaplib.py
17.491 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_imghdr.py
4.31 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_imp.py
19.419 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_import.py
39.276 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_index.py
8.366 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_inspect.py
119.284 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_int.py
17.767 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_int_literal.py
6.965 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_io.py
133.838 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ioctl.py
3.208 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ipaddress.py
74.265 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_isinstance.py
9.933 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_iter.py
29.426 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_iterlen.py
7.12 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_itertools.py
87.804 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_keyword.py
5.703 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_keywordonlyarg.py
7.14 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_kqueue.py
8.218 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_largefile.py
6.4 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_lib2to3.py
0.099 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_linecache.py
4.581 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_list.py
4.332 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_listcomps.py
3.761 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_locale.py
20.155 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_logging.py
141.361 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_long.py
48.019 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_longexp.py
0.301 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_lzma.py
71.027 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_macpath.py
6.005 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_macurl2path.py
1.796 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_mailbox.py
90.508 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_mailcap.py
9.005 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_marshal.py
17.7 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_math.py
45.894 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_memoryio.py
28.345 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_memoryview.py
16.229 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_metaclass.py
6.201 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_mimetypes.py
4.179 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_minidom.py
63.376 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_mmap.py
26.566 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_module.py
7.888 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_modulefinder.py
8.739 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_msilib.py
1.434 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_multibytecodec.py
10.07 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_multiprocessing_fork.py
0.17 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_multiprocessing_forkserver.py
0.176 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_multiprocessing_main_handling.py
11.162 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_multiprocessing_spawn.py
0.171 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_netrc.py
4.499 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_nis.py
1.188 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_nntplib.py
58.395 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_normalization.py
3.15 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ntpath.py
18.09 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_numeric_tower.py
7.272 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_opcodes.py
2.612 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_openpty.py
0.666 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_operator.py
18.172 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_optparse.py
60.8 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ordered_dict.py
11.983 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_os.py
98.208 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ossaudiodev.py
7.047 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_osx_env.py
1.311 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_parser.py
25.502 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pathlib.py
74.593 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pdb.py
33.247 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_peepholer.py
12.8 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep247.py
2.189 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep277.py
6.843 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep292.py
9.583 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep3120.py
1.241 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep3131.py
0.954 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep3151.py
7.308 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep352.py
6.88 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pep380.py
28.924 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pickle.py
15.356 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pickletools.py
2.371 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pipes.py
6.321 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pkg.py
9.53 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pkgimport.py
2.722 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pkgutil.py
14.4 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_platform.py
12.122 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_plistlib.py
22.74 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_poll.py
6.398 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_popen.py
2.026 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_poplib.py
15.991 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_posix.py
50.822 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_posixpath.py
22.966 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pow.py
4.485 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pprint.py
29.852 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_print.py
4.158 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_profile.py
7.613 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_property.py
7.626 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pstats.py
1.265 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_pty.py
11.021 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pulldom.py
12.175 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pwd.py
4.127 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_py_compile.py
4.947 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pyclbr.py
6.847 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pydoc.py
39.373 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_pyexpat.py
27.2 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_queue.py
12.836 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_quopri.py
7.858 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_raise.py
11.078 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_random.py
31.32 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_range.py
22.896 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_re.py
73.164 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_readline.py
2.365 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_regrtest.py
10.362 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_reprlib.py
14.269 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_resource.py
6.458 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_richcmp.py
10.834 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_rlcompleter.py
4.592 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_robotparser.py
7.353 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_runpy.py
28.641 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sax.py
41.756 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sched.py
6.434 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_scope.py
19.76 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_script_helper.py
5.021 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_select.py
2.678 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_selectors.py
14.961 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_set.py
62.656 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_setcomps.py
3.703 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_shelve.py
6.123 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_shlex.py
5.773 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_shutil.py
72.374 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_signal.py
33.076 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_site.py
18.808 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_slice.py
8.084 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_smtpd.py
22.056 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_smtplib.py
35.021 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_smtpnet.py
2.759 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sndhdr.py
0.848 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_socket.py
191.198 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_socketserver.py
10.829 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sort.py
8.949 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_source_encoding.py
5.142 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_spwd.py
2.285 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sqlite.py
0.872 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ssl.py
130.328 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ssl.py.openssl11
129.641 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
test_startfile.py
1.211 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_stat.py
6.833 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_statistics.py
68.885 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_strftime.py
7.424 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_string.py
7.694 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_stringprep.py
3.119 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_strlit.py
8.027 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_strptime.py
28.136 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_strtod.py
20.111 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_struct.py
26.905 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_structmembers.py
4.774 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_structseq.py
3.947 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_subprocess.py
108.35 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sunau.py
4.554 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_sundry.py
2.169 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_super.py
4.431 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_support.py
10.094 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_symtable.py
5.82 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_syntax.py
17.645 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sys.py
38.818 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sys_setprofile.py
11.089 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sys_settrace.py
24.66 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_sysconfig.py
16.425 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_syslog.py
1.198 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_systemtap.py
8.862 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_systemtap.py.systemtap
0 KB
17 Apr 2024 5.05 PM
root / linksafe
0644
test_tarfile.py
79.109 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_tcl.py
26.918 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_telnetlib.py
12.677 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_tempfile.py
44.399 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_textwrap.py
35.646 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_thread.py
8.091 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_threaded_import.py
8.25 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_threadedtempfile.py
1.887 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_threading.py
38.229 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_threading_local.py
6.136 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_threadsignals.py
9.22 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_time.py
29.969 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_timeit.py
11.919 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_timeout.py
11.112 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_tk.py
0.447 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_tokenize.py
48.448 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_trace.py
14.454 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_traceback.py
17.819 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_tracemalloc.py
30.244 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ttk_guionly.py
0.827 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ttk_textonly.py
0.396 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_tuple.py
6.987 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_typechecks.py
2.637 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_types.py
42.964 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_ucn.py
9.407 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unary.py
1.711 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unicode.py
122.379 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unicode_file.py
5.728 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unicodedata.py
12.064 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unittest.py
0.279 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_univnewlines.py
3.83 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unpack.py
2.558 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_unpack_ex.py
4.04 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urllib.py
59.025 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urllib2.py
65.683 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urllib2_localnet.py
25.609 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urllib2net.py
11.96 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urllib_response.py
1.688 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urllibnet.py
8.784 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_urlparse.py
51.508 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_userdict.py
7.711 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_userlist.py
1.852 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_userstring.py
1.457 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_uu.py
7.391 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_uuid.py
21.841 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_venv.py
16.164 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_wait3.py
1.13 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_wait4.py
1.113 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_warnings.py
37.125 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_wave.py
3.929 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_weakref.py
62.023 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_weakset.py
15.182 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_webbrowser.py
5.65 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_winreg.py
20.521 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_winsound.py
8.857 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_with.py
25.852 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_wsgiref.py
22.498 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_xdrlib.py
2.29 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_xml_dom_minicompat.py
4.182 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_xml_etree.py
106.562 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_xml_etree_c.py
3.988 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_xmlrpc.py
42.052 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_xmlrpc_net.py
1.027 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_zipfile.py
76.192 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_zipfile64.py
5.563 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_zipimport.py
17.693 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_zipimport_support.py
10.45 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
test_zlib.py
26.785 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
testcodec.py
1.021 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
testtar.tar
425 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
tf_inherit_check.py
0.563 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
threaded_import_hangers.py
1.449 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
time_hashlib.py
2.827 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
0.434 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
0.296 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
0.411 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
0.319 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
tokenize_tests.txt
2.654 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
warning_tests.py
0.234 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
win_console_handler.py
1.383 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
xmltests.py
0.487 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
zip_cp437_header.zip
0.264 KB
18 Mar 2019 4.51 PM
root / linksafe
0644
zipdir.zip
0.365 KB
18 Mar 2019 4.51 PM
root / linksafe
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF