✘✘ 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/python35/lib64/python3.5/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_nameescape(self):
        # Does the same as backslashescape, but prefers ``\N{...}`` escape
        # sequences.
        sin = "a\xac\u1234\u20ac\u8000\U0010ffff"
        sout = (b'a\\N{NOT SIGN}\\N{ETHIOPIC SYLLABLE SEE}\\N{EURO SIGN}'
                b'\\N{CJK UNIFIED IDEOGRAPH-8000}\\U0010ffff')
        self.assertEqual(sin.encode("ascii", "namereplace"), sout)

        sout = (b'a\xac\\N{ETHIOPIC SYLLABLE SEE}\\N{EURO SIGN}'
                b'\\N{CJK UNIFIED IDEOGRAPH-8000}\\U0010ffff')
        self.assertEqual(sin.encode("latin-1", "namereplace"), sout)

        sout = (b'a\xac\\N{ETHIOPIC SYLLABLE SEE}\xa4'
                b'\\N{CJK UNIFIED IDEOGRAPH-8000}\\U0010ffff')
        self.assertEqual(sin.encode("iso-8859-15", "namereplace"), 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"
                )

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

                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", "namereplace"]
        # 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")
        )
        # 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))
                )
                self.assertEqual(
                    codecs.backslashreplace_errors(
                        UnicodeTranslateError("a" + s + "b",
                                              1, 1 + len(s), "ouch")),
                    (r, 1 + len(s))
                )
        tests = [
            (b"a", "\\x61"),
            (b"\n", "\\x0a"),
            (b"\x00", "\\x00"),
            (b"\xff", "\\xff"),
        ]
        for b, r in tests:
            with self.subTest(bytes=b):
                self.assertEqual(
                    codecs.backslashreplace_errors(
                        UnicodeDecodeError("ascii", bytearray(b"a" + b + b"b"),
                                           1, 2, "ouch")),
                    (r, 2)
                )

    def test_badandgoodnamereplaceexceptions(self):
        # "namereplace" complains about a non-exception passed in
        self.assertRaises(
           TypeError,
           codecs.namereplace_errors,
           42
        )
        # "namereplace" complains about the wrong exception types
        self.assertRaises(
           TypeError,
           codecs.namereplace_errors,
           UnicodeError("ouch")
        )
        # "namereplace" can only be used for encoding
        self.assertRaises(
            TypeError,
            codecs.namereplace_errors,
            UnicodeDecodeError("ascii", bytearray(b"\xff"), 0, 1, "ouch")
        )
        self.assertRaises(
            TypeError,
            codecs.namereplace_errors,
            UnicodeTranslateError("\u3042", 0, 1, "ouch")
        )
        # Use the correct exception
        tests = [
            ("\u3042", "\\N{HIRAGANA LETTER A}"),
            ("\x00", "\\x00"),
            ("\ufbf9", "\\N{ARABIC LIGATURE UIGHUR KIRGHIZ YEH WITH "
                       "HAMZA ABOVE WITH ALEF MAKSURA ISOLATED FORM}"),
            ("\U000e007f", "\\N{CANCEL TAG}"),
            ("\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.namereplace_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")
                )
        for s in ("\ud800", "\udfff", "\ud800\udfff"):
            with self.subTest(str=s):
                self.assertRaises(
                    UnicodeEncodeError,
                    surrogatepass_errors,
                    UnicodeEncodeError("ascii", s, 0, len(s), "ouch")
                )
        tests = [
            ("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),
            ("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),
            ("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, 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")
        )
        self.assertEqual(
            codecs.namereplace_errors,
            codecs.lookup_error("namereplace")
        )

    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", "namereplace", "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(ValueError, "\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.namereplace_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 [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
7 Feb 2025 5.02 AM
root / linksafe
0755
__pycache__
--
7 Feb 2025 5.02 AM
root / linksafe
0755
audiodata
--
7 Feb 2025 5.02 AM
root / linksafe
0755
capath
--
7 Feb 2025 5.02 AM
root / linksafe
0755
cjkencodings
--
7 Feb 2025 5.02 AM
root / linksafe
0755
data
--
7 Feb 2025 5.02 AM
root / linksafe
0755
decimaltestdata
--
7 Feb 2025 5.02 AM
root / linksafe
0755
eintrdata
--
7 Feb 2025 5.02 AM
root / linksafe
0755
encoded_modules
--
7 Feb 2025 5.02 AM
root / linksafe
0755
imghdrdata
--
7 Feb 2025 5.02 AM
root / linksafe
0755
sndhdrdata
--
7 Feb 2025 5.02 AM
root / linksafe
0755
subprocessdata
--
7 Feb 2025 5.02 AM
root / linksafe
0755
support
--
7 Feb 2025 5.02 AM
root / linksafe
0755
test_asyncio
--
7 Feb 2025 5.02 AM
root / linksafe
0755
test_email
--
7 Feb 2025 5.02 AM
root / linksafe
0755
test_import
--
7 Feb 2025 5.02 AM
root / linksafe
0755
test_importlib
--
7 Feb 2025 5.02 AM
root / linksafe
0755
test_json
--
7 Feb 2025 5.02 AM
root / linksafe
0755
test_tools
--
7 Feb 2025 5.02 AM
root / linksafe
0755
test_warnings
--
7 Feb 2025 5.02 AM
root / linksafe
0755
tracedmodules
--
7 Feb 2025 5.02 AM
root / linksafe
0755
xmltestdata
--
7 Feb 2025 5.02 AM
root / linksafe
0755
Sine-1000Hz-300ms.aif
60.25 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
__init__.py
0.046 KB
31 May 2024 1.51 PM
root / linksafe
0644
__main__.py
0.054 KB
31 May 2024 1.51 PM
root / linksafe
0644
_test_multiprocessing.py
129.126 KB
31 May 2024 1.51 PM
root / linksafe
0644
allsans.pem
2.122 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
audiotests.py
12.126 KB
31 May 2024 1.51 PM
root / linksafe
0644
autotest.py
0.206 KB
31 May 2024 1.51 PM
root / linksafe
0644
bad_coding.py
0.023 KB
31 May 2024 1.51 PM
root / linksafe
0644
bad_coding2.py
0.029 KB
31 May 2024 1.51 PM
root / linksafe
0644
badcert.pem
1.883 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
badkey.pem
2.111 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
badsyntax_3131.py
0.031 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_async1.py
0.044 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_async2.py
0.044 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_async3.py
0.043 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_async4.py
0.026 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_async5.py
0.032 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_async6.py
0.026 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_async7.py
0.034 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_async8.py
0.036 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_future10.py
0.093 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_future3.py
0.168 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_future4.py
0.149 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_future5.py
0.18 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_future6.py
0.157 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_future7.py
0.191 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_future8.py
0.119 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_future9.py
0.139 KB
31 May 2024 1.51 PM
root / linksafe
0644
badsyntax_pep3120.py
0.014 KB
31 May 2024 1.51 PM
root / linksafe
0644
bisect.py
4.835 KB
31 May 2024 1.51 PM
root / linksafe
0755
bytecode_helper.py
1.563 KB
31 May 2024 1.51 PM
root / linksafe
0644
cfgparser.1
0.021 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
cfgparser.2
19.016 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
cfgparser.3
1.55 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
cmath_testcases.txt
133.864 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
coding20731.py
0.018 KB
31 May 2024 1.51 PM
root / linksafe
0644
curses_tests.py
1.225 KB
31 May 2024 1.51 PM
root / linksafe
0755
datetimetester.py
153.479 KB
31 May 2024 1.51 PM
root / linksafe
0644
dh1024.pem
0.293 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
dis_module.py
0.074 KB
31 May 2024 1.51 PM
root / linksafe
0644
doctest_aliases.py
0.234 KB
31 May 2024 1.51 PM
root / linksafe
0644
double_const.py
1.184 KB
31 May 2024 1.51 PM
root / linksafe
0644
empty.vbs
0.068 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
exception_hierarchy.txt
1.745 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
final_a.py
0.401 KB
31 May 2024 1.51 PM
root / linksafe
0644
final_b.py
0.401 KB
31 May 2024 1.51 PM
root / linksafe
0644
floating_points.txt
15.92 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
fork_wait.py
2.289 KB
31 May 2024 1.51 PM
root / linksafe
0644
formatfloat_testcases.txt
7.451 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
future_test1.py
0.224 KB
31 May 2024 1.51 PM
root / linksafe
0644
future_test2.py
0.146 KB
31 May 2024 1.51 PM
root / linksafe
0644
gdb_sample.py
0.149 KB
31 May 2024 1.51 PM
root / linksafe
0644
ieee754.txt
3.206 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
imp_dummy.py
0.062 KB
31 May 2024 1.51 PM
root / linksafe
0644
inspect_fodder.py
1.14 KB
31 May 2024 1.51 PM
root / linksafe
0644
inspect_fodder2.py
1.773 KB
31 May 2024 1.51 PM
root / linksafe
0644
keycert.passwd.pem
1.787 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
keycert.pem
1.741 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
keycert2.pem
1.753 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
keycert3.pem
3.955 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
keycert4.pem
3.962 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
list_tests.py
17.958 KB
31 May 2024 1.51 PM
root / linksafe
0644
lock_tests.py
27.464 KB
31 May 2024 1.51 PM
root / linksafe
0644
mailcap.txt
1.24 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
make_ssl_certs.py
6.626 KB
31 May 2024 1.51 PM
root / linksafe
0644
mapping_tests.py
21.491 KB
31 May 2024 1.51 PM
root / linksafe
0644
math_testcases.txt
23.186 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
memory_watchdog.py
0.839 KB
31 May 2024 1.51 PM
root / linksafe
0644
mime.types
47.372 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
mock_socket.py
3.526 KB
31 May 2024 1.51 PM
root / linksafe
0644
mod_generics_cache.py
0.219 KB
31 May 2024 1.51 PM
root / linksafe
0644
mp_fork_bomb.py
0.438 KB
31 May 2024 1.51 PM
root / linksafe
0644
mp_preload.py
0.343 KB
31 May 2024 1.51 PM
root / linksafe
0644
multibytecodec_support.py
14.436 KB
31 May 2024 1.51 PM
root / linksafe
0644
nokia.pem
1.878 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
nullbytecert.pem
5.308 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
nullcert.pem
0 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
outstanding_bugs.py
0.361 KB
31 May 2024 1.51 PM
root / linksafe
0644
pickletester.py
100.524 KB
31 May 2024 1.51 PM
root / linksafe
0644
profilee.py
2.97 KB
31 May 2024 1.51 PM
root / linksafe
0644
pstats.pck
65.046 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pycacert.pem
4.206 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pycakey.pem
1.664 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
pyclbr_input.py
0.633 KB
31 May 2024 1.51 PM
root / linksafe
0644
pydoc_mod.py
0.691 KB
31 May 2024 1.51 PM
root / linksafe
0644
pydocfodder.py
6.184 KB
31 May 2024 1.51 PM
root / linksafe
0644
pystone.py
7.561 KB
31 May 2024 1.51 PM
root / linksafe
0755
randv2_32.pck
7.341 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
randv2_64.pck
7.192 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
randv3.pck
7.816 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
re_tests.py
31.055 KB
31 May 2024 1.51 PM
root / linksafe
0755
regrtest.py
67.223 KB
31 May 2024 1.51 PM
root / linksafe
0755
relimport.py
0.026 KB
31 May 2024 1.51 PM
root / linksafe
0644
reperf.py
0.525 KB
31 May 2024 1.51 PM
root / linksafe
0644
revocation.crl
0.61 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
sample_doctest.py
1.017 KB
31 May 2024 1.51 PM
root / linksafe
0644
sample_doctest_no_docstrings.py
0.222 KB
31 May 2024 1.51 PM
root / linksafe
0644
sample_doctest_no_doctests.py
0.263 KB
31 May 2024 1.51 PM
root / linksafe
0644
selfsigned_pythontestdotnet.pem
2.08 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
seq_tests.py
14.076 KB
31 May 2024 1.51 PM
root / linksafe
0644
sgml_input.html
8.1 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
sha256.pem
8.148 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
sortperf.py
4.692 KB
31 May 2024 1.51 PM
root / linksafe
0644
ssl_cert.pem
0.847 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
ssl_key.passwd.pem
0.94 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
ssl_key.pem
0.895 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
ssl_servers.py
7.085 KB
31 May 2024 1.51 PM
root / linksafe
0644
ssltests.py
1.026 KB
31 May 2024 1.51 PM
root / linksafe
0644
string_tests.py
63.908 KB
31 May 2024 1.51 PM
root / linksafe
0644
talos-2019-0758.pem
1.299 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
test___all__.py
3.723 KB
31 May 2024 1.51 PM
root / linksafe
0644
test___future__.py
2.364 KB
31 May 2024 1.51 PM
root / linksafe
0644
test__locale.py
7.724 KB
31 May 2024 1.51 PM
root / linksafe
0644
test__opcode.py
0.83 KB
31 May 2024 1.51 PM
root / linksafe
0644
test__osx_support.py
11.404 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_abc.py
13.326 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_abstract_numbers.py
1.492 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_aifc.py
15.976 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_argparse.py
160.888 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_array.py
46.68 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_asdl_parser.py
3.924 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_ast.py
43.833 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_asynchat.py
11.25 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_asyncore.py
25.948 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_atexit.py
4.764 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_audioop.py
28.046 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_augassign.py
7.473 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_base64.py
29.771 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_bigaddrspace.py
2.919 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_bigmem.py
44.182 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_binascii.py
14.021 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_binhex.py
1.473 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_binop.py
12.771 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_bisect.py
13.633 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_bool.py
11.905 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_buffer.py
158.828 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_bufio.py
2.535 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_builtin.py
65.172 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_bytes.py
57.465 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_bz2.py
36.494 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_calendar.py
43.591 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_call.py
3.006 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_capi.py
23.215 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_cgi.py
19.33 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_cgitb.py
2.444 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_charmapcodec.py
1.691 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_class.py
15.078 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_cmath.py
23.027 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_cmd.py
6.114 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_cmd_line.py
20.006 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_cmd_line_script.py
28.185 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_code.py
5.131 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_code_module.py
4.144 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codeccallbacks.py
40.879 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codecencodings_cn.py
3.882 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codecencodings_hk.py
0.709 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codecencodings_iso2022.py
1.382 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codecencodings_jp.py
4.816 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codecencodings_kr.py
2.981 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codecencodings_tw.py
0.689 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codecmaps_cn.py
0.753 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codecmaps_hk.py
0.401 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codecmaps_jp.py
1.728 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codecmaps_kr.py
1.189 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codecmaps_tw.py
0.713 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codecs.py
118.793 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_codeop.py
7.394 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_collections.py
62.14 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_colorsys.py
3.835 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_compare.py
3.822 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_compile.py
26.326 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_compileall.py
20.614 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_complex.py
28.84 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_concurrent_futures.py
25.28 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_configparser.py
82.345 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_contains.py
2.498 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_contextlib.py
29.512 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_copy.py
25.772 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_copyreg.py
4.038 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_coroutines.py
47.081 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_cprofile.py
5.427 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_crashers.py
1.156 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_crypt.py
1.06 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_csv.py
42.624 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_ctypes.py
0.18 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_curses.py
17.602 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_datetime.py
1.803 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_dbm.py
6.054 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_dbm_dumb.py
7.992 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_dbm_gnu.py
3.275 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_dbm_ndbm.py
2.173 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_decimal.py
204.642 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_decorators.py
9.477 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_defaultdict.py
5.892 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_deque.py
32.559 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_descr.py
182.084 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_descrtut.py
11.502 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_devpoll.py
4.528 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_dict.py
33.188 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_dictcomps.py
3.693 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_dictviews.py
10.133 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_difflib.py
19.15 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_difflib_expect.html
100.857 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
test_dis.py
42.138 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_distutils.py
0.366 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_doctest.py
93.241 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_doctest.txt
0.293 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
test_doctest2.py
2.304 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_doctest2.txt
0.383 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
test_doctest3.txt
0.08 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
test_doctest4.txt
0.238 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
test_docxmlrpc.py
8.727 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_dummy_thread.py
9.156 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_dummy_threading.py
1.702 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_dynamic.py
4.309 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_dynamicclassattribute.py
9.565 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_eintr.py
0.671 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_ensurepip.py
11.401 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_enum.py
60.521 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_enumerate.py
7.677 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_eof.py
0.784 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_epoll.py
8.624 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_errno.py
1.044 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_exception_variations.py
3.855 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_exceptions.py
40.463 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_extcall.py
11.517 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_faulthandler.py
23.445 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_fcntl.py
5.098 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_file.py
11.095 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_file_eintr.py
10.6 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_filecmp.py
8.686 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_fileinput.py
36.774 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_fileio.py
18.565 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_finalization.py
14.162 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_float.py
60.052 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_flufl.py
0.732 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_fnmatch.py
4.688 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_fork1.py
3.736 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_format.py
22.574 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_fractions.py
25.841 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_frame.py
4.371 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_ftplib.py
37.082 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_funcattrs.py
12.696 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_functools.py
74.471 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_future.py
3.739 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_future3.py
0.479 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_future4.py
0.103 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_future5.py
0.498 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_gc.py
33.366 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_gdb.py
36.382 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_generators.py
58.197 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_genericpath.py
18.361 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_genexps.py
7.115 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_getargs2.py
36.103 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_getopt.py
6.748 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_getpass.py
6.286 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_gettext.py
32.803 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_glob.py
12.388 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_global.py
1.25 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_grammar.py
36.479 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_grp.py
3.216 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_gzip.py
22.273 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_hash.py
11.442 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_hashlib.py
21.436 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_heapq.py
14.637 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_hmac.py
20.03 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_html.py
4.234 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_htmlparser.py
31.955 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_http_cookiejar.py
74.537 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_http_cookies.py
18.168 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_httplib.py
65.96 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_httpservers.py
38.289 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_idle.py
0.738 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_imaplib.py
35.462 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_imghdr.py
4.365 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_imp.py
15.41 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_index.py
8.366 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_inspect.py
136.84 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_int.py
17.715 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_int_literal.py
6.888 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_io.py
144.793 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_ioctl.py
3.194 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_ipaddress.py
85.145 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_isinstance.py
9.773 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_iter.py
31.255 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_iterlen.py
7.12 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_itertools.py
91.422 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_keyword.py
5.703 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_keywordonlyarg.py
7.049 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_kqueue.py
8.143 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_largefile.py
6.4 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_lib2to3.py
0.099 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_linecache.py
6.435 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_list.py
5.329 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_listcomps.py
3.761 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_locale.py
21.844 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_logging.py
147.037 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_long.py
48.38 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_longexp.py
0.228 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_lzma.py
76.593 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_macpath.py
6.036 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_macurl2path.py
1.796 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_mailbox.py
90.508 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_mailcap.py
9.893 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_marshal.py
17.7 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_math.py
53.513 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_memoryio.py
30.238 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_memoryview.py
17.438 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_metaclass.py
6.201 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_mimetypes.py
4.081 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_minidom.py
63.907 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_mmap.py
27.302 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_module.py
8.441 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_modulefinder.py
9.055 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_msilib.py
1.38 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_multibytecodec.py
10.068 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_multiprocessing_fork.py
0.17 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_multiprocessing_forkserver.py
0.176 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_multiprocessing_main_handling.py
11.258 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_multiprocessing_spawn.py
0.171 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_netrc.py
4.499 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_nis.py
1.14 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_nntplib.py
60.526 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_normalization.py
3.336 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_ntpath.py
21.401 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_numeric_tower.py
7.18 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_opcodes.py
2.533 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_openpty.py
0.586 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_operator.py
22.778 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_optparse.py
60.8 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_ordered_dict.py
26.003 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_os.py
120.019 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_ossaudiodev.py
7.047 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_osx_env.py
1.297 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_parser.py
29.6 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pathlib.py
85.308 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pdb.py
34.075 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_peepholer.py
12.33 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pep247.py
2.115 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pep277.py
6.843 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pep3120.py
1.147 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pep3131.py
0.881 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pep3151.py
7.24 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pep352.py
6.88 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pep380.py
28.802 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pep479.py
0.921 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pickle.py
16.066 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pickletools.py
2.371 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pipes.py
6.321 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pkg.py
9.481 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pkgimport.py
2.665 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pkgutil.py
17.128 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_platform.py
14.438 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_plistlib.py
23.378 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_poll.py
6.461 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_popen.py
1.978 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_poplib.py
16.245 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_posix.py
51.689 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_posixpath.py
26.008 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pow.py
4.38 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pprint.py
43.489 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_print.py
4.158 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_profile.py
7.613 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_property.py
8.341 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pstats.py
1.169 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pty.py
10.898 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pulldom.py
12.079 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pwd.py
4.08 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_py_compile.py
5.215 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pyclbr.py
6.789 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pydoc.py
39.467 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_pyexpat.py
26.522 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_queue.py
12.706 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_quopri.py
7.779 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_raise.py
11.026 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_random.py
32.468 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_range.py
24.192 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_re.py
88.394 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_readline.py
11.421 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_regrtest.py
34.026 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_reprlib.py
15.115 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_resource.py
6.98 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_richcmp.py
10.767 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_rlcompleter.py
4.677 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_robotparser.py
7.353 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_runpy.py
30.953 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_sax.py
43.595 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_sched.py
6.434 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_scope.py
19.704 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_script_helper.py
5.024 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_select.py
2.646 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_selectors.py
16.271 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_set.py
63.579 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_setcomps.py
3.703 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_shelve.py
6.239 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_shlex.py
6.094 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_shutil.py
74.789 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_signal.py
38.104 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_site.py
19.196 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_slice.py
8.247 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_smtpd.py
40.703 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_smtplib.py
48.759 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_smtpnet.py
2.698 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_sndhdr.py
1.426 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_socket.py
198.646 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_socketserver.py
10.423 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_sort.py
8.472 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_source_encoding.py
7.88 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_spwd.py
2.285 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_sqlite.py
0.872 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_ssl.py
151.893 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_startfile.py
1.165 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_stat.py
7.994 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_statistics.py
68.885 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_strftime.py
7.424 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_string.py
17.733 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_stringprep.py
3.04 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_strlit.py
7.955 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_strptime.py
28.828 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_strtod.py
20.056 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_struct.py
26.99 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_structmembers.py
4.703 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_structseq.py
3.871 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_subprocess.py
118.751 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_sunau.py
4.554 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_sundry.py
2.078 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_super.py
4.726 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_support.py
12.386 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_symtable.py
6.174 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_syntax.py
18.749 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_sys.py
44.784 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_sys_setprofile.py
10.903 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_sys_settrace.py
24.931 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_sysconfig.py
17.685 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_syslog.py
1.15 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_tarfile.py
91.507 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_tcl.py
27.435 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_telnetlib.py
12.562 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_tempfile.py
50.206 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_textwrap.py
37.688 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_thread.py
8.064 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_threaded_import.py
8.524 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_threadedtempfile.py
1.887 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_threading.py
38.916 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_threading_local.py
6.134 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_threadsignals.py
9.22 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_time.py
38.015 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_timeit.py
13.607 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_timeout.py
11.108 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_tix.py
0.738 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_tk.py
0.354 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_tokenize.py
58.616 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_trace.py
14.585 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_traceback.py
34.725 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_tracemalloc.py
30.104 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_ttk_guionly.py
0.738 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_ttk_textonly.py
0.302 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_tuple.py
7.346 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_turtle.py
12.36 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_typechecks.py
2.554 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_types.py
52.544 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_typing.py
79.918 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_ucn.py
9.352 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_unary.py
1.626 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_unicode.py
127.393 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_unicode_file.py
5.728 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_unicodedata.py
11.894 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_unittest.py
0.279 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_univnewlines.py
3.83 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_unpack.py
2.571 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_unpack_ex.py
8.742 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_urllib.py
66.434 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_urllib2.py
71.828 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_urllib2_localnet.py
24.112 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_urllib2net.py
12.358 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_urllib_response.py
1.688 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_urllibnet.py
8.84 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_urlparse.py
55.892 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_userdict.py
7.66 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_userlist.py
1.815 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_userstring.py
1.457 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_uu.py
7.391 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_uuid.py
22.115 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_venv.py
17.429 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_wait3.py
1.155 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_wait4.py
1.154 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_wave.py
3.929 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_weakref.py
64.449 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_weakset.py
15.083 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_webbrowser.py
6.319 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_winreg.py
20.521 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_winsound.py
3.721 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_with.py
25.679 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_wsgiref.py
27.084 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_xdrlib.py
2.174 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_xml_dom_minicompat.py
4.182 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_xml_etree.py
112.176 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_xml_etree_c.py
4.3 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_xmlrpc.py
51.745 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_xmlrpc_net.py
1.027 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_zipapp.py
13.74 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_zipfile.py
85.096 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_zipfile64.py
5.724 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_zipimport.py
26.902 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_zipimport_support.py
10.474 KB
31 May 2024 1.51 PM
root / linksafe
0644
test_zlib.py
32.456 KB
31 May 2024 1.51 PM
root / linksafe
0644
testcodec.py
1.021 KB
31 May 2024 1.51 PM
root / linksafe
0644
testtar.tar
425 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
tf_inherit_check.py
0.697 KB
31 May 2024 1.51 PM
root / linksafe
0644
threaded_import_hangers.py
1.449 KB
31 May 2024 1.51 PM
root / linksafe
0644
time_hashlib.py
2.827 KB
31 May 2024 1.51 PM
root / linksafe
0644
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
0.434 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
0.296 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
0.411 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
0.319 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
tokenize_tests.txt
2.654 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
win_console_handler.py
1.383 KB
31 May 2024 1.51 PM
root / linksafe
0644
wrongcert.pem
1.836 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
xmltests.py
0.487 KB
31 May 2024 1.51 PM
root / linksafe
0644
zip_cp437_header.zip
0.264 KB
1 Nov 2019 11.02 PM
root / linksafe
0644
zipdir.zip
0.365 KB
1 Nov 2019 11.02 PM
root / linksafe
0644

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