✘✘ 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/python37/lib64/python3.7/test//test_float.py
import fractions
import operator
import os
import random
import sys
import struct
import time
import unittest

from test import support
from test.test_grammar import (VALID_UNDERSCORE_LITERALS,
                               INVALID_UNDERSCORE_LITERALS)
from math import isinf, isnan, copysign, ldexp

INF = float("inf")
NAN = float("nan")

have_getformat = hasattr(float, "__getformat__")
requires_getformat = unittest.skipUnless(have_getformat,
                                         "requires __getformat__")
requires_setformat = unittest.skipUnless(hasattr(float, "__setformat__"),
                                         "requires __setformat__")

#locate file with float format test values
test_dir = os.path.dirname(__file__) or os.curdir
format_testfile = os.path.join(test_dir, 'formatfloat_testcases.txt')

class FloatSubclass(float):
    pass

class OtherFloatSubclass(float):
    pass

class GeneralFloatCases(unittest.TestCase):

    def test_float(self):
        self.assertEqual(float(3.14), 3.14)
        self.assertEqual(float(314), 314.0)
        self.assertEqual(float("  3.14  "), 3.14)
        self.assertRaises(ValueError, float, "  0x3.1  ")
        self.assertRaises(ValueError, float, "  -0x3.p-1  ")
        self.assertRaises(ValueError, float, "  +0x3.p-1  ")
        self.assertRaises(ValueError, float, "++3.14")
        self.assertRaises(ValueError, float, "+-3.14")
        self.assertRaises(ValueError, float, "-+3.14")
        self.assertRaises(ValueError, float, "--3.14")
        self.assertRaises(ValueError, float, ".nan")
        self.assertRaises(ValueError, float, "+.inf")
        self.assertRaises(ValueError, float, ".")
        self.assertRaises(ValueError, float, "-.")
        self.assertRaises(TypeError, float, {})
        self.assertRaisesRegex(TypeError, "not 'dict'", float, {})
        # Lone surrogate
        self.assertRaises(ValueError, float, '\uD8F0')
        # check that we don't accept alternate exponent markers
        self.assertRaises(ValueError, float, "-1.7d29")
        self.assertRaises(ValueError, float, "3D-14")
        self.assertEqual(float("  \u0663.\u0661\u0664  "), 3.14)
        self.assertEqual(float("\N{EM SPACE}3.14\N{EN SPACE}"), 3.14)
        # extra long strings should not be a problem
        float(b'.' + b'1'*1000)
        float('.' + '1'*1000)
        # Invalid unicode string
        # See bpo-34087
        self.assertRaises(ValueError, float, '\u3053\u3093\u306b\u3061\u306f')

    def test_underscores(self):
        for lit in VALID_UNDERSCORE_LITERALS:
            if not any(ch in lit for ch in 'jJxXoObB'):
                self.assertEqual(float(lit), eval(lit))
                self.assertEqual(float(lit), float(lit.replace('_', '')))
        for lit in INVALID_UNDERSCORE_LITERALS:
            if lit in ('0_7', '09_99'):  # octals are not recognized here
                continue
            if not any(ch in lit for ch in 'jJxXoObB'):
                self.assertRaises(ValueError, float, lit)
        # Additional test cases; nan and inf are never valid as literals,
        # only in the float() constructor, but we don't allow underscores
        # in or around them.
        self.assertRaises(ValueError, float, '_NaN')
        self.assertRaises(ValueError, float, 'Na_N')
        self.assertRaises(ValueError, float, 'IN_F')
        self.assertRaises(ValueError, float, '-_INF')
        self.assertRaises(ValueError, float, '-INF_')
        # Check that we handle bytes values correctly.
        self.assertRaises(ValueError, float, b'0_.\xff9')

    def test_non_numeric_input_types(self):
        # Test possible non-numeric types for the argument x, including
        # subclasses of the explicitly documented accepted types.
        class CustomStr(str): pass
        class CustomBytes(bytes): pass
        class CustomByteArray(bytearray): pass

        factories = [
            bytes,
            bytearray,
            lambda b: CustomStr(b.decode()),
            CustomBytes,
            CustomByteArray,
            memoryview,
        ]
        try:
            from array import array
        except ImportError:
            pass
        else:
            factories.append(lambda b: array('B', b))

        for f in factories:
            x = f(b" 3.14  ")
            with self.subTest(type(x)):
                self.assertEqual(float(x), 3.14)
                with self.assertRaisesRegex(ValueError, "could not convert"):
                    float(f(b'A' * 0x10))

    def test_float_memoryview(self):
        self.assertEqual(float(memoryview(b'12.3')[1:4]), 2.3)
        self.assertEqual(float(memoryview(b'12.3\x00')[1:4]), 2.3)
        self.assertEqual(float(memoryview(b'12.3 ')[1:4]), 2.3)
        self.assertEqual(float(memoryview(b'12.3A')[1:4]), 2.3)
        self.assertEqual(float(memoryview(b'12.34')[1:4]), 2.3)

    def test_error_message(self):
        def check(s):
            with self.assertRaises(ValueError, msg='float(%r)' % (s,)) as cm:
                float(s)
            self.assertEqual(str(cm.exception),
                'could not convert string to float: %r' % (s,))

        check('\xbd')
        check('123\xbd')
        check('  123 456  ')
        check(b'  123 456  ')

        # non-ascii digits (error came from non-digit '!')
        check('\u0663\u0661\u0664!')
        # embedded NUL
        check('123\x00')
        check('123\x00 245')
        check('123\x00245')
        # byte string with embedded NUL
        check(b'123\x00')
        # non-UTF-8 byte string
        check(b'123\xa0')

    @support.run_with_locale('LC_NUMERIC', 'fr_FR', 'de_DE')
    def test_float_with_comma(self):
        # set locale to something that doesn't use '.' for the decimal point
        # float must not accept the locale specific decimal point but
        # it still has to accept the normal python syntax
        import locale
        if not locale.localeconv()['decimal_point'] == ',':
            self.skipTest('decimal_point is not ","')

        self.assertEqual(float("  3.14  "), 3.14)
        self.assertEqual(float("+3.14  "), 3.14)
        self.assertEqual(float("-3.14  "), -3.14)
        self.assertEqual(float(".14  "), .14)
        self.assertEqual(float("3.  "), 3.0)
        self.assertEqual(float("3.e3  "), 3000.0)
        self.assertEqual(float("3.2e3  "), 3200.0)
        self.assertEqual(float("2.5e-1  "), 0.25)
        self.assertEqual(float("5e-1"), 0.5)
        self.assertRaises(ValueError, float, "  3,14  ")
        self.assertRaises(ValueError, float, "  +3,14  ")
        self.assertRaises(ValueError, float, "  -3,14  ")
        self.assertRaises(ValueError, float, "  0x3.1  ")
        self.assertRaises(ValueError, float, "  -0x3.p-1  ")
        self.assertRaises(ValueError, float, "  +0x3.p-1  ")
        self.assertEqual(float("  25.e-1  "), 2.5)
        self.assertAlmostEqual(float("  .25e-1  "), .025)

    def test_floatconversion(self):
        # Make sure that calls to __float__() work properly
        class Foo1(object):
            def __float__(self):
                return 42.

        class Foo2(float):
            def __float__(self):
                return 42.

        class Foo3(float):
            def __new__(cls, value=0.):
                return float.__new__(cls, 2*value)

            def __float__(self):
                return self

        class Foo4(float):
            def __float__(self):
                return 42

        # Issue 5759: __float__ not called on str subclasses (though it is on
        # unicode subclasses).
        class FooStr(str):
            def __float__(self):
                return float(str(self)) + 1

        self.assertEqual(float(Foo1()), 42.)
        self.assertEqual(float(Foo2()), 42.)
        with self.assertWarns(DeprecationWarning):
            self.assertEqual(float(Foo3(21)), 42.)
        self.assertRaises(TypeError, float, Foo4(42))
        self.assertEqual(float(FooStr('8')), 9.)

        class Foo5:
            def __float__(self):
                return ""
        self.assertRaises(TypeError, time.sleep, Foo5())

        # Issue #24731
        class F:
            def __float__(self):
                return OtherFloatSubclass(42.)
        with self.assertWarns(DeprecationWarning):
            self.assertEqual(float(F()), 42.)
        with self.assertWarns(DeprecationWarning):
            self.assertIs(type(float(F())), float)
        with self.assertWarns(DeprecationWarning):
            self.assertEqual(FloatSubclass(F()), 42.)
        with self.assertWarns(DeprecationWarning):
            self.assertIs(type(FloatSubclass(F())), FloatSubclass)

    def test_keyword_args(self):
        with self.assertRaisesRegex(TypeError, 'keyword argument'):
            float(x='3.14')

    def test_is_integer(self):
        self.assertFalse((1.1).is_integer())
        self.assertTrue((1.).is_integer())
        self.assertFalse(float("nan").is_integer())
        self.assertFalse(float("inf").is_integer())

    def test_floatasratio(self):
        for f, ratio in [
                (0.875, (7, 8)),
                (-0.875, (-7, 8)),
                (0.0, (0, 1)),
                (11.5, (23, 2)),
            ]:
            self.assertEqual(f.as_integer_ratio(), ratio)

        for i in range(10000):
            f = random.random()
            f *= 10 ** random.randint(-100, 100)
            n, d = f.as_integer_ratio()
            self.assertEqual(float(n).__truediv__(d), f)

        R = fractions.Fraction
        self.assertEqual(R(0, 1),
                         R(*float(0.0).as_integer_ratio()))
        self.assertEqual(R(5, 2),
                         R(*float(2.5).as_integer_ratio()))
        self.assertEqual(R(1, 2),
                         R(*float(0.5).as_integer_ratio()))
        self.assertEqual(R(4728779608739021, 2251799813685248),
                         R(*float(2.1).as_integer_ratio()))
        self.assertEqual(R(-4728779608739021, 2251799813685248),
                         R(*float(-2.1).as_integer_ratio()))
        self.assertEqual(R(-2100, 1),
                         R(*float(-2100.0).as_integer_ratio()))

        self.assertRaises(OverflowError, float('inf').as_integer_ratio)
        self.assertRaises(OverflowError, float('-inf').as_integer_ratio)
        self.assertRaises(ValueError, float('nan').as_integer_ratio)

    def test_float_containment(self):
        floats = (INF, -INF, 0.0, 1.0, NAN)
        for f in floats:
            self.assertIn(f, [f])
            self.assertIn(f, (f,))
            self.assertIn(f, {f})
            self.assertIn(f, {f: None})
            self.assertEqual([f].count(f), 1, "[].count('%r') != 1" % f)
            self.assertIn(f, floats)

        for f in floats:
            # nonidentical containers, same type, same contents
            self.assertTrue([f] == [f], "[%r] != [%r]" % (f, f))
            self.assertTrue((f,) == (f,), "(%r,) != (%r,)" % (f, f))
            self.assertTrue({f} == {f}, "{%r} != {%r}" % (f, f))
            self.assertTrue({f : None} == {f: None}, "{%r : None} != "
                                                   "{%r : None}" % (f, f))

            # identical containers
            l, t, s, d = [f], (f,), {f}, {f: None}
            self.assertTrue(l == l, "[%r] not equal to itself" % f)
            self.assertTrue(t == t, "(%r,) not equal to itself" % f)
            self.assertTrue(s == s, "{%r} not equal to itself" % f)
            self.assertTrue(d == d, "{%r : None} not equal to itself" % f)

    def assertEqualAndEqualSign(self, a, b):
        # fail unless a == b and a and b have the same sign bit;
        # the only difference from assertEqual is that this test
        # distinguishes -0.0 and 0.0.
        self.assertEqual((a, copysign(1.0, a)), (b, copysign(1.0, b)))

    @support.requires_IEEE_754
    def test_float_mod(self):
        # Check behaviour of % operator for IEEE 754 special cases.
        # In particular, check signs of zeros.
        mod = operator.mod

        self.assertEqualAndEqualSign(mod(-1.0, 1.0), 0.0)
        self.assertEqualAndEqualSign(mod(-1e-100, 1.0), 1.0)
        self.assertEqualAndEqualSign(mod(-0.0, 1.0), 0.0)
        self.assertEqualAndEqualSign(mod(0.0, 1.0), 0.0)
        self.assertEqualAndEqualSign(mod(1e-100, 1.0), 1e-100)
        self.assertEqualAndEqualSign(mod(1.0, 1.0), 0.0)

        self.assertEqualAndEqualSign(mod(-1.0, -1.0), -0.0)
        self.assertEqualAndEqualSign(mod(-1e-100, -1.0), -1e-100)
        self.assertEqualAndEqualSign(mod(-0.0, -1.0), -0.0)
        self.assertEqualAndEqualSign(mod(0.0, -1.0), -0.0)
        self.assertEqualAndEqualSign(mod(1e-100, -1.0), -1.0)
        self.assertEqualAndEqualSign(mod(1.0, -1.0), -0.0)

    @support.requires_IEEE_754
    def test_float_pow(self):
        # test builtin pow and ** operator for IEEE 754 special cases.
        # Special cases taken from section F.9.4.4 of the C99 specification

        for pow_op in pow, operator.pow:
            # x**NAN is NAN for any x except 1
            self.assertTrue(isnan(pow_op(-INF, NAN)))
            self.assertTrue(isnan(pow_op(-2.0, NAN)))
            self.assertTrue(isnan(pow_op(-1.0, NAN)))
            self.assertTrue(isnan(pow_op(-0.5, NAN)))
            self.assertTrue(isnan(pow_op(-0.0, NAN)))
            self.assertTrue(isnan(pow_op(0.0, NAN)))
            self.assertTrue(isnan(pow_op(0.5, NAN)))
            self.assertTrue(isnan(pow_op(2.0, NAN)))
            self.assertTrue(isnan(pow_op(INF, NAN)))
            self.assertTrue(isnan(pow_op(NAN, NAN)))

            # NAN**y is NAN for any y except +-0
            self.assertTrue(isnan(pow_op(NAN, -INF)))
            self.assertTrue(isnan(pow_op(NAN, -2.0)))
            self.assertTrue(isnan(pow_op(NAN, -1.0)))
            self.assertTrue(isnan(pow_op(NAN, -0.5)))
            self.assertTrue(isnan(pow_op(NAN, 0.5)))
            self.assertTrue(isnan(pow_op(NAN, 1.0)))
            self.assertTrue(isnan(pow_op(NAN, 2.0)))
            self.assertTrue(isnan(pow_op(NAN, INF)))

            # (+-0)**y raises ZeroDivisionError for y a negative odd integer
            self.assertRaises(ZeroDivisionError, pow_op, -0.0, -1.0)
            self.assertRaises(ZeroDivisionError, pow_op, 0.0, -1.0)

            # (+-0)**y raises ZeroDivisionError for y finite and negative
            # but not an odd integer
            self.assertRaises(ZeroDivisionError, pow_op, -0.0, -2.0)
            self.assertRaises(ZeroDivisionError, pow_op, -0.0, -0.5)
            self.assertRaises(ZeroDivisionError, pow_op, 0.0, -2.0)
            self.assertRaises(ZeroDivisionError, pow_op, 0.0, -0.5)

            # (+-0)**y is +-0 for y a positive odd integer
            self.assertEqualAndEqualSign(pow_op(-0.0, 1.0), -0.0)
            self.assertEqualAndEqualSign(pow_op(0.0, 1.0), 0.0)

            # (+-0)**y is 0 for y finite and positive but not an odd integer
            self.assertEqualAndEqualSign(pow_op(-0.0, 0.5), 0.0)
            self.assertEqualAndEqualSign(pow_op(-0.0, 2.0), 0.0)
            self.assertEqualAndEqualSign(pow_op(0.0, 0.5), 0.0)
            self.assertEqualAndEqualSign(pow_op(0.0, 2.0), 0.0)

            # (-1)**+-inf is 1
            self.assertEqualAndEqualSign(pow_op(-1.0, -INF), 1.0)
            self.assertEqualAndEqualSign(pow_op(-1.0, INF), 1.0)

            # 1**y is 1 for any y, even if y is an infinity or nan
            self.assertEqualAndEqualSign(pow_op(1.0, -INF), 1.0)
            self.assertEqualAndEqualSign(pow_op(1.0, -2.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(1.0, -1.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(1.0, -0.5), 1.0)
            self.assertEqualAndEqualSign(pow_op(1.0, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(1.0, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(1.0, 0.5), 1.0)
            self.assertEqualAndEqualSign(pow_op(1.0, 1.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(1.0, 2.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(1.0, INF), 1.0)
            self.assertEqualAndEqualSign(pow_op(1.0, NAN), 1.0)

            # x**+-0 is 1 for any x, even if x is a zero, infinity, or nan
            self.assertEqualAndEqualSign(pow_op(-INF, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-2.0, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-1.0, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-0.5, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-0.0, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(0.0, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(0.5, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(1.0, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(2.0, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(INF, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(NAN, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-INF, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-2.0, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-1.0, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-0.5, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-0.0, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(0.0, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(0.5, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(1.0, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(2.0, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(INF, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(NAN, -0.0), 1.0)

            # x**y defers to complex pow for finite negative x and
            # non-integral y.
            self.assertEqual(type(pow_op(-2.0, -0.5)), complex)
            self.assertEqual(type(pow_op(-2.0, 0.5)), complex)
            self.assertEqual(type(pow_op(-1.0, -0.5)), complex)
            self.assertEqual(type(pow_op(-1.0, 0.5)), complex)
            self.assertEqual(type(pow_op(-0.5, -0.5)), complex)
            self.assertEqual(type(pow_op(-0.5, 0.5)), complex)

            # x**-INF is INF for abs(x) < 1
            self.assertEqualAndEqualSign(pow_op(-0.5, -INF), INF)
            self.assertEqualAndEqualSign(pow_op(-0.0, -INF), INF)
            self.assertEqualAndEqualSign(pow_op(0.0, -INF), INF)
            self.assertEqualAndEqualSign(pow_op(0.5, -INF), INF)

            # x**-INF is 0 for abs(x) > 1
            self.assertEqualAndEqualSign(pow_op(-INF, -INF), 0.0)
            self.assertEqualAndEqualSign(pow_op(-2.0, -INF), 0.0)
            self.assertEqualAndEqualSign(pow_op(2.0, -INF), 0.0)
            self.assertEqualAndEqualSign(pow_op(INF, -INF), 0.0)

            # x**INF is 0 for abs(x) < 1
            self.assertEqualAndEqualSign(pow_op(-0.5, INF), 0.0)
            self.assertEqualAndEqualSign(pow_op(-0.0, INF), 0.0)
            self.assertEqualAndEqualSign(pow_op(0.0, INF), 0.0)
            self.assertEqualAndEqualSign(pow_op(0.5, INF), 0.0)

            # x**INF is INF for abs(x) > 1
            self.assertEqualAndEqualSign(pow_op(-INF, INF), INF)
            self.assertEqualAndEqualSign(pow_op(-2.0, INF), INF)
            self.assertEqualAndEqualSign(pow_op(2.0, INF), INF)
            self.assertEqualAndEqualSign(pow_op(INF, INF), INF)

            # (-INF)**y is -0.0 for y a negative odd integer
            self.assertEqualAndEqualSign(pow_op(-INF, -1.0), -0.0)

            # (-INF)**y is 0.0 for y negative but not an odd integer
            self.assertEqualAndEqualSign(pow_op(-INF, -0.5), 0.0)
            self.assertEqualAndEqualSign(pow_op(-INF, -2.0), 0.0)

            # (-INF)**y is -INF for y a positive odd integer
            self.assertEqualAndEqualSign(pow_op(-INF, 1.0), -INF)

            # (-INF)**y is INF for y positive but not an odd integer
            self.assertEqualAndEqualSign(pow_op(-INF, 0.5), INF)
            self.assertEqualAndEqualSign(pow_op(-INF, 2.0), INF)

            # INF**y is INF for y positive
            self.assertEqualAndEqualSign(pow_op(INF, 0.5), INF)
            self.assertEqualAndEqualSign(pow_op(INF, 1.0), INF)
            self.assertEqualAndEqualSign(pow_op(INF, 2.0), INF)

            # INF**y is 0.0 for y negative
            self.assertEqualAndEqualSign(pow_op(INF, -2.0), 0.0)
            self.assertEqualAndEqualSign(pow_op(INF, -1.0), 0.0)
            self.assertEqualAndEqualSign(pow_op(INF, -0.5), 0.0)

            # basic checks not covered by the special cases above
            self.assertEqualAndEqualSign(pow_op(-2.0, -2.0), 0.25)
            self.assertEqualAndEqualSign(pow_op(-2.0, -1.0), -0.5)
            self.assertEqualAndEqualSign(pow_op(-2.0, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-2.0, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-2.0, 1.0), -2.0)
            self.assertEqualAndEqualSign(pow_op(-2.0, 2.0), 4.0)
            self.assertEqualAndEqualSign(pow_op(-1.0, -2.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-1.0, -1.0), -1.0)
            self.assertEqualAndEqualSign(pow_op(-1.0, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-1.0, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(-1.0, 1.0), -1.0)
            self.assertEqualAndEqualSign(pow_op(-1.0, 2.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(2.0, -2.0), 0.25)
            self.assertEqualAndEqualSign(pow_op(2.0, -1.0), 0.5)
            self.assertEqualAndEqualSign(pow_op(2.0, -0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(2.0, 0.0), 1.0)
            self.assertEqualAndEqualSign(pow_op(2.0, 1.0), 2.0)
            self.assertEqualAndEqualSign(pow_op(2.0, 2.0), 4.0)

            # 1 ** large and -1 ** large; some libms apparently
            # have problems with these
            self.assertEqualAndEqualSign(pow_op(1.0, -1e100), 1.0)
            self.assertEqualAndEqualSign(pow_op(1.0, 1e100), 1.0)
            self.assertEqualAndEqualSign(pow_op(-1.0, -1e100), 1.0)
            self.assertEqualAndEqualSign(pow_op(-1.0, 1e100), 1.0)

            # check sign for results that underflow to 0
            self.assertEqualAndEqualSign(pow_op(-2.0, -2000.0), 0.0)
            self.assertEqual(type(pow_op(-2.0, -2000.5)), complex)
            self.assertEqualAndEqualSign(pow_op(-2.0, -2001.0), -0.0)
            self.assertEqualAndEqualSign(pow_op(2.0, -2000.0), 0.0)
            self.assertEqualAndEqualSign(pow_op(2.0, -2000.5), 0.0)
            self.assertEqualAndEqualSign(pow_op(2.0, -2001.0), 0.0)
            self.assertEqualAndEqualSign(pow_op(-0.5, 2000.0), 0.0)
            self.assertEqual(type(pow_op(-0.5, 2000.5)), complex)
            self.assertEqualAndEqualSign(pow_op(-0.5, 2001.0), -0.0)
            self.assertEqualAndEqualSign(pow_op(0.5, 2000.0), 0.0)
            self.assertEqualAndEqualSign(pow_op(0.5, 2000.5), 0.0)
            self.assertEqualAndEqualSign(pow_op(0.5, 2001.0), 0.0)

            # check we don't raise an exception for subnormal results,
            # and validate signs.  Tests currently disabled, since
            # they fail on systems where a subnormal result from pow
            # is flushed to zero (e.g. Debian/ia64.)
            #self.assertTrue(0.0 < pow_op(0.5, 1048) < 1e-315)
            #self.assertTrue(0.0 < pow_op(-0.5, 1048) < 1e-315)
            #self.assertTrue(0.0 < pow_op(0.5, 1047) < 1e-315)
            #self.assertTrue(0.0 > pow_op(-0.5, 1047) > -1e-315)
            #self.assertTrue(0.0 < pow_op(2.0, -1048) < 1e-315)
            #self.assertTrue(0.0 < pow_op(-2.0, -1048) < 1e-315)
            #self.assertTrue(0.0 < pow_op(2.0, -1047) < 1e-315)
            #self.assertTrue(0.0 > pow_op(-2.0, -1047) > -1e-315)


@requires_setformat
class FormatFunctionsTestCase(unittest.TestCase):

    def setUp(self):
        self.save_formats = {'double':float.__getformat__('double'),
                             'float':float.__getformat__('float')}

    def tearDown(self):
        float.__setformat__('double', self.save_formats['double'])
        float.__setformat__('float', self.save_formats['float'])

    def test_getformat(self):
        self.assertIn(float.__getformat__('double'),
                      ['unknown', 'IEEE, big-endian', 'IEEE, little-endian'])
        self.assertIn(float.__getformat__('float'),
                      ['unknown', 'IEEE, big-endian', 'IEEE, little-endian'])
        self.assertRaises(ValueError, float.__getformat__, 'chicken')
        self.assertRaises(TypeError, float.__getformat__, 1)

    def test_setformat(self):
        for t in 'double', 'float':
            float.__setformat__(t, 'unknown')
            if self.save_formats[t] == 'IEEE, big-endian':
                self.assertRaises(ValueError, float.__setformat__,
                                  t, 'IEEE, little-endian')
            elif self.save_formats[t] == 'IEEE, little-endian':
                self.assertRaises(ValueError, float.__setformat__,
                                  t, 'IEEE, big-endian')
            else:
                self.assertRaises(ValueError, float.__setformat__,
                                  t, 'IEEE, big-endian')
                self.assertRaises(ValueError, float.__setformat__,
                                  t, 'IEEE, little-endian')
            self.assertRaises(ValueError, float.__setformat__,
                              t, 'chicken')
        self.assertRaises(ValueError, float.__setformat__,
                          'chicken', 'unknown')

BE_DOUBLE_INF = b'\x7f\xf0\x00\x00\x00\x00\x00\x00'
LE_DOUBLE_INF = bytes(reversed(BE_DOUBLE_INF))
BE_DOUBLE_NAN = b'\x7f\xf8\x00\x00\x00\x00\x00\x00'
LE_DOUBLE_NAN = bytes(reversed(BE_DOUBLE_NAN))

BE_FLOAT_INF = b'\x7f\x80\x00\x00'
LE_FLOAT_INF = bytes(reversed(BE_FLOAT_INF))
BE_FLOAT_NAN = b'\x7f\xc0\x00\x00'
LE_FLOAT_NAN = bytes(reversed(BE_FLOAT_NAN))

# on non-IEEE platforms, attempting to unpack a bit pattern
# representing an infinity or a NaN should raise an exception.

@requires_setformat
class UnknownFormatTestCase(unittest.TestCase):
    def setUp(self):
        self.save_formats = {'double':float.__getformat__('double'),
                             'float':float.__getformat__('float')}
        float.__setformat__('double', 'unknown')
        float.__setformat__('float', 'unknown')

    def tearDown(self):
        float.__setformat__('double', self.save_formats['double'])
        float.__setformat__('float', self.save_formats['float'])

    def test_double_specials_dont_unpack(self):
        for fmt, data in [('>d', BE_DOUBLE_INF),
                          ('>d', BE_DOUBLE_NAN),
                          ('<d', LE_DOUBLE_INF),
                          ('<d', LE_DOUBLE_NAN)]:
            self.assertRaises(ValueError, struct.unpack, fmt, data)

    def test_float_specials_dont_unpack(self):
        for fmt, data in [('>f', BE_FLOAT_INF),
                          ('>f', BE_FLOAT_NAN),
                          ('<f', LE_FLOAT_INF),
                          ('<f', LE_FLOAT_NAN)]:
            self.assertRaises(ValueError, struct.unpack, fmt, data)


# on an IEEE platform, all we guarantee is that bit patterns
# representing infinities or NaNs do not raise an exception; all else
# is accident (today).
# let's also try to guarantee that -0.0 and 0.0 don't get confused.

class IEEEFormatTestCase(unittest.TestCase):

    @support.requires_IEEE_754
    def test_double_specials_do_unpack(self):
        for fmt, data in [('>d', BE_DOUBLE_INF),
                          ('>d', BE_DOUBLE_NAN),
                          ('<d', LE_DOUBLE_INF),
                          ('<d', LE_DOUBLE_NAN)]:
            struct.unpack(fmt, data)

    @support.requires_IEEE_754
    def test_float_specials_do_unpack(self):
        for fmt, data in [('>f', BE_FLOAT_INF),
                          ('>f', BE_FLOAT_NAN),
                          ('<f', LE_FLOAT_INF),
                          ('<f', LE_FLOAT_NAN)]:
            struct.unpack(fmt, data)

    @support.requires_IEEE_754
    def test_serialized_float_rounding(self):
        from _testcapi import FLT_MAX
        self.assertEqual(struct.pack("<f", 3.40282356e38), struct.pack("<f", FLT_MAX))
        self.assertEqual(struct.pack("<f", -3.40282356e38), struct.pack("<f", -FLT_MAX))

class FormatTestCase(unittest.TestCase):

    def test_format(self):
        # these should be rewritten to use both format(x, spec) and
        # x.__format__(spec)

        self.assertEqual(format(0.0, 'f'), '0.000000')

        # the default is 'g', except for empty format spec
        self.assertEqual(format(0.0, ''), '0.0')
        self.assertEqual(format(0.01, ''), '0.01')
        self.assertEqual(format(0.01, 'g'), '0.01')

        # empty presentation type should format in the same way as str
        # (issue 5920)
        x = 100/7.
        self.assertEqual(format(x, ''), str(x))
        self.assertEqual(format(x, '-'), str(x))
        self.assertEqual(format(x, '>'), str(x))
        self.assertEqual(format(x, '2'), str(x))

        self.assertEqual(format(1.0, 'f'), '1.000000')

        self.assertEqual(format(-1.0, 'f'), '-1.000000')

        self.assertEqual(format( 1.0, ' f'), ' 1.000000')
        self.assertEqual(format(-1.0, ' f'), '-1.000000')
        self.assertEqual(format( 1.0, '+f'), '+1.000000')
        self.assertEqual(format(-1.0, '+f'), '-1.000000')

        # % formatting
        self.assertEqual(format(-1.0, '%'), '-100.000000%')

        # conversion to string should fail
        self.assertRaises(ValueError, format, 3.0, "s")

        # other format specifiers shouldn't work on floats,
        #  in particular int specifiers
        for format_spec in ([chr(x) for x in range(ord('a'), ord('z')+1)] +
                            [chr(x) for x in range(ord('A'), ord('Z')+1)]):
            if not format_spec in 'eEfFgGn%':
                self.assertRaises(ValueError, format, 0.0, format_spec)
                self.assertRaises(ValueError, format, 1.0, format_spec)
                self.assertRaises(ValueError, format, -1.0, format_spec)
                self.assertRaises(ValueError, format, 1e100, format_spec)
                self.assertRaises(ValueError, format, -1e100, format_spec)
                self.assertRaises(ValueError, format, 1e-100, format_spec)
                self.assertRaises(ValueError, format, -1e-100, format_spec)

        # issue 3382
        self.assertEqual(format(NAN, 'f'), 'nan')
        self.assertEqual(format(NAN, 'F'), 'NAN')
        self.assertEqual(format(INF, 'f'), 'inf')
        self.assertEqual(format(INF, 'F'), 'INF')

    @support.requires_IEEE_754
    def test_format_testfile(self):
        with open(format_testfile) as testfile:
            for line in testfile:
                if line.startswith('--'):
                    continue
                line = line.strip()
                if not line:
                    continue

                lhs, rhs = map(str.strip, line.split('->'))
                fmt, arg = lhs.split()
                self.assertEqual(fmt % float(arg), rhs)
                self.assertEqual(fmt % -float(arg), '-' + rhs)

    def test_issue5864(self):
        self.assertEqual(format(123.456, '.4'), '123.5')
        self.assertEqual(format(1234.56, '.4'), '1.235e+03')
        self.assertEqual(format(12345.6, '.4'), '1.235e+04')

    def test_issue35560(self):
        self.assertEqual(format(123.0, '00'), '123.0')
        self.assertEqual(format(123.34, '00f'), '123.340000')
        self.assertEqual(format(123.34, '00e'), '1.233400e+02')
        self.assertEqual(format(123.34, '00g'), '123.34')
        self.assertEqual(format(123.34, '00.10f'), '123.3400000000')
        self.assertEqual(format(123.34, '00.10e'), '1.2334000000e+02')
        self.assertEqual(format(123.34, '00.10g'), '123.34')
        self.assertEqual(format(123.34, '01f'), '123.340000')

        self.assertEqual(format(-123.0, '00'), '-123.0')
        self.assertEqual(format(-123.34, '00f'), '-123.340000')
        self.assertEqual(format(-123.34, '00e'), '-1.233400e+02')
        self.assertEqual(format(-123.34, '00g'), '-123.34')
        self.assertEqual(format(-123.34, '00.10f'), '-123.3400000000')
        self.assertEqual(format(-123.34, '00.10f'), '-123.3400000000')
        self.assertEqual(format(-123.34, '00.10e'), '-1.2334000000e+02')
        self.assertEqual(format(-123.34, '00.10g'), '-123.34')

class ReprTestCase(unittest.TestCase):
    def test_repr(self):
        floats_file = open(os.path.join(os.path.split(__file__)[0],
                           'floating_points.txt'))
        for line in floats_file:
            line = line.strip()
            if not line or line.startswith('#'):
                continue
            v = eval(line)
            self.assertEqual(v, eval(repr(v)))
        floats_file.close()

    @unittest.skipUnless(getattr(sys, 'float_repr_style', '') == 'short',
                         "applies only when using short float repr style")
    def test_short_repr(self):
        # test short float repr introduced in Python 3.1.  One aspect
        # of this repr is that we get some degree of str -> float ->
        # str roundtripping.  In particular, for any numeric string
        # containing 15 or fewer significant digits, those exact same
        # digits (modulo trailing zeros) should appear in the output.
        # No more repr(0.03) -> "0.029999999999999999"!

        test_strings = [
            # output always includes *either* a decimal point and at
            # least one digit after that point, or an exponent.
            '0.0',
            '1.0',
            '0.01',
            '0.02',
            '0.03',
            '0.04',
            '0.05',
            '1.23456789',
            '10.0',
            '100.0',
            # values >= 1e16 get an exponent...
            '1000000000000000.0',
            '9999999999999990.0',
            '1e+16',
            '1e+17',
            # ... and so do values < 1e-4
            '0.001',
            '0.001001',
            '0.00010000000000001',
            '0.0001',
            '9.999999999999e-05',
            '1e-05',
            # values designed to provoke failure if the FPU rounding
            # precision isn't set correctly
            '8.72293771110361e+25',
            '7.47005307342313e+26',
            '2.86438000439698e+28',
            '8.89142905246179e+28',
            '3.08578087079232e+35',
            ]

        for s in test_strings:
            negs = '-'+s
            self.assertEqual(s, repr(float(s)))
            self.assertEqual(negs, repr(float(negs)))
            # Since Python 3.2, repr and str are identical
            self.assertEqual(repr(float(s)), str(float(s)))
            self.assertEqual(repr(float(negs)), str(float(negs)))

@support.requires_IEEE_754
class RoundTestCase(unittest.TestCase):

    def test_inf_nan(self):
        self.assertRaises(OverflowError, round, INF)
        self.assertRaises(OverflowError, round, -INF)
        self.assertRaises(ValueError, round, NAN)
        self.assertRaises(TypeError, round, INF, 0.0)
        self.assertRaises(TypeError, round, -INF, 1.0)
        self.assertRaises(TypeError, round, NAN, "ceci n'est pas un integer")
        self.assertRaises(TypeError, round, -0.0, 1j)

    def test_large_n(self):
        for n in [324, 325, 400, 2**31-1, 2**31, 2**32, 2**100]:
            self.assertEqual(round(123.456, n), 123.456)
            self.assertEqual(round(-123.456, n), -123.456)
            self.assertEqual(round(1e300, n), 1e300)
            self.assertEqual(round(1e-320, n), 1e-320)
        self.assertEqual(round(1e150, 300), 1e150)
        self.assertEqual(round(1e300, 307), 1e300)
        self.assertEqual(round(-3.1415, 308), -3.1415)
        self.assertEqual(round(1e150, 309), 1e150)
        self.assertEqual(round(1.4e-315, 315), 1e-315)

    def test_small_n(self):
        for n in [-308, -309, -400, 1-2**31, -2**31, -2**31-1, -2**100]:
            self.assertEqual(round(123.456, n), 0.0)
            self.assertEqual(round(-123.456, n), -0.0)
            self.assertEqual(round(1e300, n), 0.0)
            self.assertEqual(round(1e-320, n), 0.0)

    def test_overflow(self):
        self.assertRaises(OverflowError, round, 1.6e308, -308)
        self.assertRaises(OverflowError, round, -1.7e308, -308)

    @unittest.skipUnless(getattr(sys, 'float_repr_style', '') == 'short',
                         "applies only when using short float repr style")
    def test_previous_round_bugs(self):
        # particular cases that have occurred in bug reports
        self.assertEqual(round(562949953421312.5, 1),
                          562949953421312.5)
        self.assertEqual(round(56294995342131.5, 3),
                         56294995342131.5)
        # round-half-even
        self.assertEqual(round(25.0, -1), 20.0)
        self.assertEqual(round(35.0, -1), 40.0)
        self.assertEqual(round(45.0, -1), 40.0)
        self.assertEqual(round(55.0, -1), 60.0)
        self.assertEqual(round(65.0, -1), 60.0)
        self.assertEqual(round(75.0, -1), 80.0)
        self.assertEqual(round(85.0, -1), 80.0)
        self.assertEqual(round(95.0, -1), 100.0)

    @unittest.skipUnless(getattr(sys, 'float_repr_style', '') == 'short',
                         "applies only when using short float repr style")
    def test_matches_float_format(self):
        # round should give the same results as float formatting
        for i in range(500):
            x = i/1000.
            self.assertEqual(float(format(x, '.0f')), round(x, 0))
            self.assertEqual(float(format(x, '.1f')), round(x, 1))
            self.assertEqual(float(format(x, '.2f')), round(x, 2))
            self.assertEqual(float(format(x, '.3f')), round(x, 3))

        for i in range(5, 5000, 10):
            x = i/1000.
            self.assertEqual(float(format(x, '.0f')), round(x, 0))
            self.assertEqual(float(format(x, '.1f')), round(x, 1))
            self.assertEqual(float(format(x, '.2f')), round(x, 2))
            self.assertEqual(float(format(x, '.3f')), round(x, 3))

        for i in range(500):
            x = random.random()
            self.assertEqual(float(format(x, '.0f')), round(x, 0))
            self.assertEqual(float(format(x, '.1f')), round(x, 1))
            self.assertEqual(float(format(x, '.2f')), round(x, 2))
            self.assertEqual(float(format(x, '.3f')), round(x, 3))

    def test_format_specials(self):
        # Test formatting of nans and infs.

        def test(fmt, value, expected):
            # Test with both % and format().
            self.assertEqual(fmt % value, expected, fmt)
            fmt = fmt[1:] # strip off the %
            self.assertEqual(format(value, fmt), expected, fmt)

        for fmt in ['%e', '%f', '%g', '%.0e', '%.6f', '%.20g',
                    '%#e', '%#f', '%#g', '%#.20e', '%#.15f', '%#.3g']:
            pfmt = '%+' + fmt[1:]
            sfmt = '% ' + fmt[1:]
            test(fmt, INF, 'inf')
            test(fmt, -INF, '-inf')
            test(fmt, NAN, 'nan')
            test(fmt, -NAN, 'nan')
            # When asking for a sign, it's always provided. nans are
            #  always positive.
            test(pfmt, INF, '+inf')
            test(pfmt, -INF, '-inf')
            test(pfmt, NAN, '+nan')
            test(pfmt, -NAN, '+nan')
            # When using ' ' for a sign code, only infs can be negative.
            #  Others have a space.
            test(sfmt, INF, ' inf')
            test(sfmt, -INF, '-inf')
            test(sfmt, NAN, ' nan')
            test(sfmt, -NAN, ' nan')

    def test_None_ndigits(self):
        for x in round(1.23), round(1.23, None), round(1.23, ndigits=None):
            self.assertEqual(x, 1)
            self.assertIsInstance(x, int)
        for x in round(1.78), round(1.78, None), round(1.78, ndigits=None):
            self.assertEqual(x, 2)
            self.assertIsInstance(x, int)


# Beginning with Python 2.6 float has cross platform compatible
# ways to create and represent inf and nan
class InfNanTest(unittest.TestCase):
    def test_inf_from_str(self):
        self.assertTrue(isinf(float("inf")))
        self.assertTrue(isinf(float("+inf")))
        self.assertTrue(isinf(float("-inf")))
        self.assertTrue(isinf(float("infinity")))
        self.assertTrue(isinf(float("+infinity")))
        self.assertTrue(isinf(float("-infinity")))

        self.assertEqual(repr(float("inf")), "inf")
        self.assertEqual(repr(float("+inf")), "inf")
        self.assertEqual(repr(float("-inf")), "-inf")
        self.assertEqual(repr(float("infinity")), "inf")
        self.assertEqual(repr(float("+infinity")), "inf")
        self.assertEqual(repr(float("-infinity")), "-inf")

        self.assertEqual(repr(float("INF")), "inf")
        self.assertEqual(repr(float("+Inf")), "inf")
        self.assertEqual(repr(float("-iNF")), "-inf")
        self.assertEqual(repr(float("Infinity")), "inf")
        self.assertEqual(repr(float("+iNfInItY")), "inf")
        self.assertEqual(repr(float("-INFINITY")), "-inf")

        self.assertEqual(str(float("inf")), "inf")
        self.assertEqual(str(float("+inf")), "inf")
        self.assertEqual(str(float("-inf")), "-inf")
        self.assertEqual(str(float("infinity")), "inf")
        self.assertEqual(str(float("+infinity")), "inf")
        self.assertEqual(str(float("-infinity")), "-inf")

        self.assertRaises(ValueError, float, "info")
        self.assertRaises(ValueError, float, "+info")
        self.assertRaises(ValueError, float, "-info")
        self.assertRaises(ValueError, float, "in")
        self.assertRaises(ValueError, float, "+in")
        self.assertRaises(ValueError, float, "-in")
        self.assertRaises(ValueError, float, "infinit")
        self.assertRaises(ValueError, float, "+Infin")
        self.assertRaises(ValueError, float, "-INFI")
        self.assertRaises(ValueError, float, "infinitys")

        self.assertRaises(ValueError, float, "++Inf")
        self.assertRaises(ValueError, float, "-+inf")
        self.assertRaises(ValueError, float, "+-infinity")
        self.assertRaises(ValueError, float, "--Infinity")

    def test_inf_as_str(self):
        self.assertEqual(repr(1e300 * 1e300), "inf")
        self.assertEqual(repr(-1e300 * 1e300), "-inf")

        self.assertEqual(str(1e300 * 1e300), "inf")
        self.assertEqual(str(-1e300 * 1e300), "-inf")

    def test_nan_from_str(self):
        self.assertTrue(isnan(float("nan")))
        self.assertTrue(isnan(float("+nan")))
        self.assertTrue(isnan(float("-nan")))

        self.assertEqual(repr(float("nan")), "nan")
        self.assertEqual(repr(float("+nan")), "nan")
        self.assertEqual(repr(float("-nan")), "nan")

        self.assertEqual(repr(float("NAN")), "nan")
        self.assertEqual(repr(float("+NAn")), "nan")
        self.assertEqual(repr(float("-NaN")), "nan")

        self.assertEqual(str(float("nan")), "nan")
        self.assertEqual(str(float("+nan")), "nan")
        self.assertEqual(str(float("-nan")), "nan")

        self.assertRaises(ValueError, float, "nana")
        self.assertRaises(ValueError, float, "+nana")
        self.assertRaises(ValueError, float, "-nana")
        self.assertRaises(ValueError, float, "na")
        self.assertRaises(ValueError, float, "+na")
        self.assertRaises(ValueError, float, "-na")

        self.assertRaises(ValueError, float, "++nan")
        self.assertRaises(ValueError, float, "-+NAN")
        self.assertRaises(ValueError, float, "+-NaN")
        self.assertRaises(ValueError, float, "--nAn")

    def test_nan_as_str(self):
        self.assertEqual(repr(1e300 * 1e300 * 0), "nan")
        self.assertEqual(repr(-1e300 * 1e300 * 0), "nan")

        self.assertEqual(str(1e300 * 1e300 * 0), "nan")
        self.assertEqual(str(-1e300 * 1e300 * 0), "nan")

    def test_inf_signs(self):
        self.assertEqual(copysign(1.0, float('inf')), 1.0)
        self.assertEqual(copysign(1.0, float('-inf')), -1.0)

    @unittest.skipUnless(getattr(sys, 'float_repr_style', '') == 'short',
                         "applies only when using short float repr style")
    def test_nan_signs(self):
        # When using the dtoa.c code, the sign of float('nan') should
        # be predictable.
        self.assertEqual(copysign(1.0, float('nan')), 1.0)
        self.assertEqual(copysign(1.0, float('-nan')), -1.0)


fromHex = float.fromhex
toHex = float.hex
class HexFloatTestCase(unittest.TestCase):
    MAX = fromHex('0x.fffffffffffff8p+1024')  # max normal
    MIN = fromHex('0x1p-1022')                # min normal
    TINY = fromHex('0x0.0000000000001p-1022') # min subnormal
    EPS = fromHex('0x0.0000000000001p0') # diff between 1.0 and next float up

    def identical(self, x, y):
        # check that floats x and y are identical, or that both
        # are NaNs
        if isnan(x) or isnan(y):
            if isnan(x) == isnan(y):
                return
        elif x == y and (x != 0.0 or copysign(1.0, x) == copysign(1.0, y)):
            return
        self.fail('%r not identical to %r' % (x, y))

    def test_ends(self):
        self.identical(self.MIN, ldexp(1.0, -1022))
        self.identical(self.TINY, ldexp(1.0, -1074))
        self.identical(self.EPS, ldexp(1.0, -52))
        self.identical(self.MAX, 2.*(ldexp(1.0, 1023) - ldexp(1.0, 970)))

    def test_invalid_inputs(self):
        invalid_inputs = [
            'infi',   # misspelt infinities and nans
            '-Infinit',
            '++inf',
            '-+Inf',
            '--nan',
            '+-NaN',
            'snan',
            'NaNs',
            'nna',
            'an',
            'nf',
            'nfinity',
            'inity',
            'iinity',
            '0xnan',
            '',
            ' ',
            'x1.0p0',
            '0xX1.0p0',
            '+ 0x1.0p0', # internal whitespace
            '- 0x1.0p0',
            '0 x1.0p0',
            '0x 1.0p0',
            '0x1 2.0p0',
            '+0x1 .0p0',
            '0x1. 0p0',
            '-0x1.0 1p0',
            '-0x1.0 p0',
            '+0x1.0p +0',
            '0x1.0p -0',
            '0x1.0p 0',
            '+0x1.0p+ 0',
            '-0x1.0p- 0',
            '++0x1.0p-0', # double signs
            '--0x1.0p0',
            '+-0x1.0p+0',
            '-+0x1.0p0',
            '0x1.0p++0',
            '+0x1.0p+-0',
            '-0x1.0p-+0',
            '0x1.0p--0',
            '0x1.0.p0',
            '0x.p0', # no hex digits before or after point
            '0x1,p0', # wrong decimal point character
            '0x1pa',
            '0x1p\uff10',  # fullwidth Unicode digits
            '\uff10x1p0',
            '0x\uff11p0',
            '0x1.\uff10p0',
            '0x1p0 \n 0x2p0',
            '0x1p0\0 0x1p0',  # embedded null byte is not end of string
            ]
        for x in invalid_inputs:
            try:
                result = fromHex(x)
            except ValueError:
                pass
            else:
                self.fail('Expected float.fromhex(%r) to raise ValueError; '
                          'got %r instead' % (x, result))


    def test_whitespace(self):
        value_pairs = [
            ('inf', INF),
            ('-Infinity', -INF),
            ('nan', NAN),
            ('1.0', 1.0),
            ('-0x.2', -0.125),
            ('-0.0', -0.0)
            ]
        whitespace = [
            '',
            ' ',
            '\t',
            '\n',
            '\n \t',
            '\f',
            '\v',
            '\r'
            ]
        for inp, expected in value_pairs:
            for lead in whitespace:
                for trail in whitespace:
                    got = fromHex(lead + inp + trail)
                    self.identical(got, expected)


    def test_from_hex(self):
        MIN = self.MIN;
        MAX = self.MAX;
        TINY = self.TINY;
        EPS = self.EPS;

        # two spellings of infinity, with optional signs; case-insensitive
        self.identical(fromHex('inf'), INF)
        self.identical(fromHex('+Inf'), INF)
        self.identical(fromHex('-INF'), -INF)
        self.identical(fromHex('iNf'), INF)
        self.identical(fromHex('Infinity'), INF)
        self.identical(fromHex('+INFINITY'), INF)
        self.identical(fromHex('-infinity'), -INF)
        self.identical(fromHex('-iNFiNitY'), -INF)

        # nans with optional sign; case insensitive
        self.identical(fromHex('nan'), NAN)
        self.identical(fromHex('+NaN'), NAN)
        self.identical(fromHex('-NaN'), NAN)
        self.identical(fromHex('-nAN'), NAN)

        # variations in input format
        self.identical(fromHex('1'), 1.0)
        self.identical(fromHex('+1'), 1.0)
        self.identical(fromHex('1.'), 1.0)
        self.identical(fromHex('1.0'), 1.0)
        self.identical(fromHex('1.0p0'), 1.0)
        self.identical(fromHex('01'), 1.0)
        self.identical(fromHex('01.'), 1.0)
        self.identical(fromHex('0x1'), 1.0)
        self.identical(fromHex('0x1.'), 1.0)
        self.identical(fromHex('0x1.0'), 1.0)
        self.identical(fromHex('+0x1.0'), 1.0)
        self.identical(fromHex('0x1p0'), 1.0)
        self.identical(fromHex('0X1p0'), 1.0)
        self.identical(fromHex('0X1P0'), 1.0)
        self.identical(fromHex('0x1P0'), 1.0)
        self.identical(fromHex('0x1.p0'), 1.0)
        self.identical(fromHex('0x1.0p0'), 1.0)
        self.identical(fromHex('0x.1p4'), 1.0)
        self.identical(fromHex('0x.1p04'), 1.0)
        self.identical(fromHex('0x.1p004'), 1.0)
        self.identical(fromHex('0x1p+0'), 1.0)
        self.identical(fromHex('0x1P-0'), 1.0)
        self.identical(fromHex('+0x1p0'), 1.0)
        self.identical(fromHex('0x01p0'), 1.0)
        self.identical(fromHex('0x1p00'), 1.0)
        self.identical(fromHex(' 0x1p0 '), 1.0)
        self.identical(fromHex('\n 0x1p0'), 1.0)
        self.identical(fromHex('0x1p0 \t'), 1.0)
        self.identical(fromHex('0xap0'), 10.0)
        self.identical(fromHex('0xAp0'), 10.0)
        self.identical(fromHex('0xaP0'), 10.0)
        self.identical(fromHex('0xAP0'), 10.0)
        self.identical(fromHex('0xbep0'), 190.0)
        self.identical(fromHex('0xBep0'), 190.0)
        self.identical(fromHex('0xbEp0'), 190.0)
        self.identical(fromHex('0XBE0P-4'), 190.0)
        self.identical(fromHex('0xBEp0'), 190.0)
        self.identical(fromHex('0xB.Ep4'), 190.0)
        self.identical(fromHex('0x.BEp8'), 190.0)
        self.identical(fromHex('0x.0BEp12'), 190.0)

        # moving the point around
        pi = fromHex('0x1.921fb54442d18p1')
        self.identical(fromHex('0x.006487ed5110b46p11'), pi)
        self.identical(fromHex('0x.00c90fdaa22168cp10'), pi)
        self.identical(fromHex('0x.01921fb54442d18p9'), pi)
        self.identical(fromHex('0x.03243f6a8885a3p8'), pi)
        self.identical(fromHex('0x.06487ed5110b46p7'), pi)
        self.identical(fromHex('0x.0c90fdaa22168cp6'), pi)
        self.identical(fromHex('0x.1921fb54442d18p5'), pi)
        self.identical(fromHex('0x.3243f6a8885a3p4'), pi)
        self.identical(fromHex('0x.6487ed5110b46p3'), pi)
        self.identical(fromHex('0x.c90fdaa22168cp2'), pi)
        self.identical(fromHex('0x1.921fb54442d18p1'), pi)
        self.identical(fromHex('0x3.243f6a8885a3p0'), pi)
        self.identical(fromHex('0x6.487ed5110b46p-1'), pi)
        self.identical(fromHex('0xc.90fdaa22168cp-2'), pi)
        self.identical(fromHex('0x19.21fb54442d18p-3'), pi)
        self.identical(fromHex('0x32.43f6a8885a3p-4'), pi)
        self.identical(fromHex('0x64.87ed5110b46p-5'), pi)
        self.identical(fromHex('0xc9.0fdaa22168cp-6'), pi)
        self.identical(fromHex('0x192.1fb54442d18p-7'), pi)
        self.identical(fromHex('0x324.3f6a8885a3p-8'), pi)
        self.identical(fromHex('0x648.7ed5110b46p-9'), pi)
        self.identical(fromHex('0xc90.fdaa22168cp-10'), pi)
        self.identical(fromHex('0x1921.fb54442d18p-11'), pi)
        # ...
        self.identical(fromHex('0x1921fb54442d1.8p-47'), pi)
        self.identical(fromHex('0x3243f6a8885a3p-48'), pi)
        self.identical(fromHex('0x6487ed5110b46p-49'), pi)
        self.identical(fromHex('0xc90fdaa22168cp-50'), pi)
        self.identical(fromHex('0x1921fb54442d18p-51'), pi)
        self.identical(fromHex('0x3243f6a8885a30p-52'), pi)
        self.identical(fromHex('0x6487ed5110b460p-53'), pi)
        self.identical(fromHex('0xc90fdaa22168c0p-54'), pi)
        self.identical(fromHex('0x1921fb54442d180p-55'), pi)


        # results that should overflow...
        self.assertRaises(OverflowError, fromHex, '-0x1p1024')
        self.assertRaises(OverflowError, fromHex, '0x1p+1025')
        self.assertRaises(OverflowError, fromHex, '+0X1p1030')
        self.assertRaises(OverflowError, fromHex, '-0x1p+1100')
        self.assertRaises(OverflowError, fromHex, '0X1p123456789123456789')
        self.assertRaises(OverflowError, fromHex, '+0X.8p+1025')
        self.assertRaises(OverflowError, fromHex, '+0x0.8p1025')
        self.assertRaises(OverflowError, fromHex, '-0x0.4p1026')
        self.assertRaises(OverflowError, fromHex, '0X2p+1023')
        self.assertRaises(OverflowError, fromHex, '0x2.p1023')
        self.assertRaises(OverflowError, fromHex, '-0x2.0p+1023')
        self.assertRaises(OverflowError, fromHex, '+0X4p+1022')
        self.assertRaises(OverflowError, fromHex, '0x1.ffffffffffffffp+1023')
        self.assertRaises(OverflowError, fromHex, '-0X1.fffffffffffff9p1023')
        self.assertRaises(OverflowError, fromHex, '0X1.fffffffffffff8p1023')
        self.assertRaises(OverflowError, fromHex, '+0x3.fffffffffffffp1022')
        self.assertRaises(OverflowError, fromHex, '0x3fffffffffffffp+970')
        self.assertRaises(OverflowError, fromHex, '0x10000000000000000p960')
        self.assertRaises(OverflowError, fromHex, '-0Xffffffffffffffffp960')

        # ...and those that round to +-max float
        self.identical(fromHex('+0x1.fffffffffffffp+1023'), MAX)
        self.identical(fromHex('-0X1.fffffffffffff7p1023'), -MAX)
        self.identical(fromHex('0X1.fffffffffffff7fffffffffffffp1023'), MAX)

        # zeros
        self.identical(fromHex('0x0p0'), 0.0)
        self.identical(fromHex('0x0p1000'), 0.0)
        self.identical(fromHex('-0x0p1023'), -0.0)
        self.identical(fromHex('0X0p1024'), 0.0)
        self.identical(fromHex('-0x0p1025'), -0.0)
        self.identical(fromHex('0X0p2000'), 0.0)
        self.identical(fromHex('0x0p123456789123456789'), 0.0)
        self.identical(fromHex('-0X0p-0'), -0.0)
        self.identical(fromHex('-0X0p-1000'), -0.0)
        self.identical(fromHex('0x0p-1023'), 0.0)
        self.identical(fromHex('-0X0p-1024'), -0.0)
        self.identical(fromHex('-0x0p-1025'), -0.0)
        self.identical(fromHex('-0x0p-1072'), -0.0)
        self.identical(fromHex('0X0p-1073'), 0.0)
        self.identical(fromHex('-0x0p-1074'), -0.0)
        self.identical(fromHex('0x0p-1075'), 0.0)
        self.identical(fromHex('0X0p-1076'), 0.0)
        self.identical(fromHex('-0X0p-2000'), -0.0)
        self.identical(fromHex('-0x0p-123456789123456789'), -0.0)

        # values that should underflow to 0
        self.identical(fromHex('0X1p-1075'), 0.0)
        self.identical(fromHex('-0X1p-1075'), -0.0)
        self.identical(fromHex('-0x1p-123456789123456789'), -0.0)
        self.identical(fromHex('0x1.00000000000000001p-1075'), TINY)
        self.identical(fromHex('-0x1.1p-1075'), -TINY)
        self.identical(fromHex('0x1.fffffffffffffffffp-1075'), TINY)

        # check round-half-even is working correctly near 0 ...
        self.identical(fromHex('0x1p-1076'), 0.0)
        self.identical(fromHex('0X2p-1076'), 0.0)
        self.identical(fromHex('0X3p-1076'), TINY)
        self.identical(fromHex('0x4p-1076'), TINY)
        self.identical(fromHex('0X5p-1076'), TINY)
        self.identical(fromHex('0X6p-1076'), 2*TINY)
        self.identical(fromHex('0x7p-1076'), 2*TINY)
        self.identical(fromHex('0X8p-1076'), 2*TINY)
        self.identical(fromHex('0X9p-1076'), 2*TINY)
        self.identical(fromHex('0xap-1076'), 2*TINY)
        self.identical(fromHex('0Xbp-1076'), 3*TINY)
        self.identical(fromHex('0xcp-1076'), 3*TINY)
        self.identical(fromHex('0Xdp-1076'), 3*TINY)
        self.identical(fromHex('0Xep-1076'), 4*TINY)
        self.identical(fromHex('0xfp-1076'), 4*TINY)
        self.identical(fromHex('0x10p-1076'), 4*TINY)
        self.identical(fromHex('-0x1p-1076'), -0.0)
        self.identical(fromHex('-0X2p-1076'), -0.0)
        self.identical(fromHex('-0x3p-1076'), -TINY)
        self.identical(fromHex('-0X4p-1076'), -TINY)
        self.identical(fromHex('-0x5p-1076'), -TINY)
        self.identical(fromHex('-0x6p-1076'), -2*TINY)
        self.identical(fromHex('-0X7p-1076'), -2*TINY)
        self.identical(fromHex('-0X8p-1076'), -2*TINY)
        self.identical(fromHex('-0X9p-1076'), -2*TINY)
        self.identical(fromHex('-0Xap-1076'), -2*TINY)
        self.identical(fromHex('-0xbp-1076'), -3*TINY)
        self.identical(fromHex('-0xcp-1076'), -3*TINY)
        self.identical(fromHex('-0Xdp-1076'), -3*TINY)
        self.identical(fromHex('-0xep-1076'), -4*TINY)
        self.identical(fromHex('-0Xfp-1076'), -4*TINY)
        self.identical(fromHex('-0X10p-1076'), -4*TINY)

        # ... and near MIN ...
        self.identical(fromHex('0x0.ffffffffffffd6p-1022'), MIN-3*TINY)
        self.identical(fromHex('0x0.ffffffffffffd8p-1022'), MIN-2*TINY)
        self.identical(fromHex('0x0.ffffffffffffdap-1022'), MIN-2*TINY)
        self.identical(fromHex('0x0.ffffffffffffdcp-1022'), MIN-2*TINY)
        self.identical(fromHex('0x0.ffffffffffffdep-1022'), MIN-2*TINY)
        self.identical(fromHex('0x0.ffffffffffffe0p-1022'), MIN-2*TINY)
        self.identical(fromHex('0x0.ffffffffffffe2p-1022'), MIN-2*TINY)
        self.identical(fromHex('0x0.ffffffffffffe4p-1022'), MIN-2*TINY)
        self.identical(fromHex('0x0.ffffffffffffe6p-1022'), MIN-2*TINY)
        self.identical(fromHex('0x0.ffffffffffffe8p-1022'), MIN-2*TINY)
        self.identical(fromHex('0x0.ffffffffffffeap-1022'), MIN-TINY)
        self.identical(fromHex('0x0.ffffffffffffecp-1022'), MIN-TINY)
        self.identical(fromHex('0x0.ffffffffffffeep-1022'), MIN-TINY)
        self.identical(fromHex('0x0.fffffffffffff0p-1022'), MIN-TINY)
        self.identical(fromHex('0x0.fffffffffffff2p-1022'), MIN-TINY)
        self.identical(fromHex('0x0.fffffffffffff4p-1022'), MIN-TINY)
        self.identical(fromHex('0x0.fffffffffffff6p-1022'), MIN-TINY)
        self.identical(fromHex('0x0.fffffffffffff8p-1022'), MIN)
        self.identical(fromHex('0x0.fffffffffffffap-1022'), MIN)
        self.identical(fromHex('0x0.fffffffffffffcp-1022'), MIN)
        self.identical(fromHex('0x0.fffffffffffffep-1022'), MIN)
        self.identical(fromHex('0x1.00000000000000p-1022'), MIN)
        self.identical(fromHex('0x1.00000000000002p-1022'), MIN)
        self.identical(fromHex('0x1.00000000000004p-1022'), MIN)
        self.identical(fromHex('0x1.00000000000006p-1022'), MIN)
        self.identical(fromHex('0x1.00000000000008p-1022'), MIN)
        self.identical(fromHex('0x1.0000000000000ap-1022'), MIN+TINY)
        self.identical(fromHex('0x1.0000000000000cp-1022'), MIN+TINY)
        self.identical(fromHex('0x1.0000000000000ep-1022'), MIN+TINY)
        self.identical(fromHex('0x1.00000000000010p-1022'), MIN+TINY)
        self.identical(fromHex('0x1.00000000000012p-1022'), MIN+TINY)
        self.identical(fromHex('0x1.00000000000014p-1022'), MIN+TINY)
        self.identical(fromHex('0x1.00000000000016p-1022'), MIN+TINY)
        self.identical(fromHex('0x1.00000000000018p-1022'), MIN+2*TINY)

        # ... and near 1.0.
        self.identical(fromHex('0x0.fffffffffffff0p0'), 1.0-EPS)
        self.identical(fromHex('0x0.fffffffffffff1p0'), 1.0-EPS)
        self.identical(fromHex('0X0.fffffffffffff2p0'), 1.0-EPS)
        self.identical(fromHex('0x0.fffffffffffff3p0'), 1.0-EPS)
        self.identical(fromHex('0X0.fffffffffffff4p0'), 1.0-EPS)
        self.identical(fromHex('0X0.fffffffffffff5p0'), 1.0-EPS/2)
        self.identical(fromHex('0X0.fffffffffffff6p0'), 1.0-EPS/2)
        self.identical(fromHex('0x0.fffffffffffff7p0'), 1.0-EPS/2)
        self.identical(fromHex('0x0.fffffffffffff8p0'), 1.0-EPS/2)
        self.identical(fromHex('0X0.fffffffffffff9p0'), 1.0-EPS/2)
        self.identical(fromHex('0X0.fffffffffffffap0'), 1.0-EPS/2)
        self.identical(fromHex('0x0.fffffffffffffbp0'), 1.0-EPS/2)
        self.identical(fromHex('0X0.fffffffffffffcp0'), 1.0)
        self.identical(fromHex('0x0.fffffffffffffdp0'), 1.0)
        self.identical(fromHex('0X0.fffffffffffffep0'), 1.0)
        self.identical(fromHex('0x0.ffffffffffffffp0'), 1.0)
        self.identical(fromHex('0X1.00000000000000p0'), 1.0)
        self.identical(fromHex('0X1.00000000000001p0'), 1.0)
        self.identical(fromHex('0x1.00000000000002p0'), 1.0)
        self.identical(fromHex('0X1.00000000000003p0'), 1.0)
        self.identical(fromHex('0x1.00000000000004p0'), 1.0)
        self.identical(fromHex('0X1.00000000000005p0'), 1.0)
        self.identical(fromHex('0X1.00000000000006p0'), 1.0)
        self.identical(fromHex('0X1.00000000000007p0'), 1.0)
        self.identical(fromHex('0x1.00000000000007ffffffffffffffffffffp0'),
                       1.0)
        self.identical(fromHex('0x1.00000000000008p0'), 1.0)
        self.identical(fromHex('0x1.00000000000008000000000000000001p0'),
                       1+EPS)
        self.identical(fromHex('0X1.00000000000009p0'), 1.0+EPS)
        self.identical(fromHex('0x1.0000000000000ap0'), 1.0+EPS)
        self.identical(fromHex('0x1.0000000000000bp0'), 1.0+EPS)
        self.identical(fromHex('0X1.0000000000000cp0'), 1.0+EPS)
        self.identical(fromHex('0x1.0000000000000dp0'), 1.0+EPS)
        self.identical(fromHex('0x1.0000000000000ep0'), 1.0+EPS)
        self.identical(fromHex('0X1.0000000000000fp0'), 1.0+EPS)
        self.identical(fromHex('0x1.00000000000010p0'), 1.0+EPS)
        self.identical(fromHex('0X1.00000000000011p0'), 1.0+EPS)
        self.identical(fromHex('0x1.00000000000012p0'), 1.0+EPS)
        self.identical(fromHex('0X1.00000000000013p0'), 1.0+EPS)
        self.identical(fromHex('0X1.00000000000014p0'), 1.0+EPS)
        self.identical(fromHex('0x1.00000000000015p0'), 1.0+EPS)
        self.identical(fromHex('0x1.00000000000016p0'), 1.0+EPS)
        self.identical(fromHex('0X1.00000000000017p0'), 1.0+EPS)
        self.identical(fromHex('0x1.00000000000017ffffffffffffffffffffp0'),
                       1.0+EPS)
        self.identical(fromHex('0x1.00000000000018p0'), 1.0+2*EPS)
        self.identical(fromHex('0X1.00000000000018000000000000000001p0'),
                       1.0+2*EPS)
        self.identical(fromHex('0x1.00000000000019p0'), 1.0+2*EPS)
        self.identical(fromHex('0X1.0000000000001ap0'), 1.0+2*EPS)
        self.identical(fromHex('0X1.0000000000001bp0'), 1.0+2*EPS)
        self.identical(fromHex('0x1.0000000000001cp0'), 1.0+2*EPS)
        self.identical(fromHex('0x1.0000000000001dp0'), 1.0+2*EPS)
        self.identical(fromHex('0x1.0000000000001ep0'), 1.0+2*EPS)
        self.identical(fromHex('0X1.0000000000001fp0'), 1.0+2*EPS)
        self.identical(fromHex('0x1.00000000000020p0'), 1.0+2*EPS)

    def test_roundtrip(self):
        def roundtrip(x):
            return fromHex(toHex(x))

        for x in [NAN, INF, self.MAX, self.MIN, self.MIN-self.TINY, self.TINY, 0.0]:
            self.identical(x, roundtrip(x))
            self.identical(-x, roundtrip(-x))

        # fromHex(toHex(x)) should exactly recover x, for any non-NaN float x.
        import random
        for i in range(10000):
            e = random.randrange(-1200, 1200)
            m = random.random()
            s = random.choice([1.0, -1.0])
            try:
                x = s*ldexp(m, e)
            except OverflowError:
                pass
            else:
                self.identical(x, fromHex(toHex(x)))

    def test_subclass(self):
        class F(float):
            def __new__(cls, value):
                return float.__new__(cls, value + 1)

        f = F.fromhex((1.5).hex())
        self.assertIs(type(f), F)
        self.assertEqual(f, 2.5)

        class F2(float):
            def __init__(self, value):
                self.foo = 'bar'

        f = F2.fromhex((1.5).hex())
        self.assertIs(type(f), F2)
        self.assertEqual(f, 1.5)
        self.assertEqual(getattr(f, 'foo', 'none'), 'bar')


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.42 AM
root / linksafe
0755
audiodata
--
25 Jul 2024 8.42 AM
root / linksafe
0755
capath
--
25 Jul 2024 8.42 AM
root / linksafe
0755
cjkencodings
--
25 Jul 2024 8.42 AM
root / linksafe
0755
data
--
25 Jul 2024 8.42 AM
root / linksafe
0755
decimaltestdata
--
25 Jul 2024 8.42 AM
root / linksafe
0755
dtracedata
--
25 Jul 2024 8.42 AM
root / linksafe
0755
eintrdata
--
25 Jul 2024 8.42 AM
root / linksafe
0755
encoded_modules
--
25 Jul 2024 8.42 AM
root / linksafe
0755
imghdrdata
--
25 Jul 2024 8.42 AM
root / linksafe
0755
libregrtest
--
25 Jul 2024 8.42 AM
root / linksafe
0755
sndhdrdata
--
25 Jul 2024 8.42 AM
root / linksafe
0755
subprocessdata
--
25 Jul 2024 8.42 AM
root / linksafe
0755
support
--
25 Jul 2024 8.42 AM
root / linksafe
0755
test_asyncio
--
25 Jul 2024 8.42 AM
root / linksafe
0755
test_email
--
25 Jul 2024 8.42 AM
root / linksafe
0755
test_import
--
25 Jul 2024 8.42 AM
root / linksafe
0755
test_importlib
--
25 Jul 2024 8.42 AM
root / linksafe
0755
test_json
--
25 Jul 2024 8.42 AM
root / linksafe
0755
test_tools
--
25 Jul 2024 8.42 AM
root / linksafe
0755
test_warnings
--
25 Jul 2024 8.42 AM
root / linksafe
0755
tracedmodules
--
25 Jul 2024 8.42 AM
root / linksafe
0755
xmltestdata
--
25 Jul 2024 8.42 AM
root / linksafe
0755
Sine-1000Hz-300ms.aif
60.25 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
__init__.py
0.046 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
__main__.py
0.04 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
_test_multiprocessing.py
157.176 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
allsans.pem
4.919 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
ann_module.py
1.078 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
ann_module2.py
0.507 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
ann_module3.py
0.438 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
audiotests.py
12.462 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
autotest.py
0.204 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
bad_coding.py
0.023 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
bad_coding2.py
0.029 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
bad_getattr.py
0.06 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
bad_getattr2.py
0.075 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
bad_getattr3.py
0.136 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
badcert.pem
1.883 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
badkey.pem
2.111 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
badsyntax_3131.py
0.031 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
badsyntax_future10.py
0.093 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
badsyntax_future3.py
0.168 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
badsyntax_future4.py
0.149 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
badsyntax_future5.py
0.18 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
badsyntax_future6.py
0.157 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
badsyntax_future7.py
0.191 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
badsyntax_future8.py
0.119 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
badsyntax_future9.py
0.139 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
badsyntax_pep3120.py
0.014 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
bisect_cmd.py
4.862 KB
17 Apr 2024 5.36 PM
root / linksafe
0755
bytecode_helper.py
1.563 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
cfgparser.1
0.065 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
cfgparser.2
19.016 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
cfgparser.3
1.55 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
clinic.test
36.313 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
cmath_testcases.txt
141.047 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
coding20731.py
0.018 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
curses_tests.py
1.225 KB
17 Apr 2024 5.36 PM
root / linksafe
0755
dataclass_module_1.py
0.817 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
dataclass_module_1_str.py
0.815 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
dataclass_module_2.py
0.738 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
dataclass_module_2_str.py
0.736 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
dataclass_textanno.py
0.123 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
datetimetester.py
230.635 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
dis_module.py
0.074 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
doctest_aliases.py
0.234 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
double_const.py
1.184 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
empty.vbs
0.068 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
exception_hierarchy.txt
1.779 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
ffdh3072.pem
2.16 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
final_a.py
0.401 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
final_b.py
0.401 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
floating_points.txt
15.92 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
fork_wait.py
2.53 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
formatfloat_testcases.txt
7.451 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
future_test1.py
0.224 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
future_test2.py
0.146 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
gdb_sample.py
0.149 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
good_getattr.py
0.193 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
idnsans.pem
9.709 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
ieee754.txt
3.206 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
imp_dummy.py
0.062 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
inspect_fodder.py
1.238 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
inspect_fodder2.py
1.773 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
keycert.passwd.pem
4.126 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
keycert.pem
3.963 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
keycert2.pem
3.971 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
keycert3.pem
9.219 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
keycert4.pem
9.232 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
keycertecc.pem
5.501 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
list_tests.py
16.539 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
lock_tests.py
28.265 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
mailcap.txt
1.24 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
make_ssl_certs.py
8.523 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
mapping_tests.py
21.746 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
math_testcases.txt
23.186 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
memory_watchdog.py
0.839 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
mime.types
47.372 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
mock_socket.py
3.526 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
mod_generics_cache.py
1.133 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
mp_fork_bomb.py
0.438 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
mp_preload.py
0.343 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
multibytecodec_support.py
14.169 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
nokia.pem
1.878 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
nullbytecert.pem
5.308 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
nullcert.pem
0 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
outstanding_bugs.py
0.361 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
pickletester.py
108.893 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
profilee.py
2.97 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
pstats.pck
65.046 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
pycacert.pem
5.523 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
pycakey.pem
2.426 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
pyclbr_input.py
0.633 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
pydoc_mod.py
0.696 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
pydocfodder.py
6.184 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
pythoninfo.py
18.748 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
randv2_32.pck
7.341 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
randv2_64.pck
7.192 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
randv3.pck
7.816 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
re_tests.py
31.058 KB
17 Apr 2024 5.36 PM
root / linksafe
0755
recursion.tar
0.504 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
regrtest.py
1.345 KB
17 Apr 2024 5.36 PM
root / linksafe
0755
relimport.py
0.026 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
reperf.py
0.525 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
revocation.crl
0.781 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
sample_doctest.py
1.017 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
sample_doctest_no_docstrings.py
0.222 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
sample_doctest_no_doctests.py
0.263 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
secp384r1.pem
0.25 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
selfsigned_pythontestdotnet.pem
2.08 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
seq_tests.py
14.183 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
sgml_input.html
8.1 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
signalinterproctester.py
2.696 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
sortperf.py
4.693 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
ssl_cert.pem
1.533 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
ssl_key.passwd.pem
2.592 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
ssl_key.pem
2.43 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
ssl_servers.py
7.042 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
ssltests.py
1.026 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
string_tests.py
64.655 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
talos-2019-0758.pem
1.299 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
test___all__.py
3.809 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test___future__.py
2.364 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test__locale.py
7.71 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test__opcode.py
0.83 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test__osx_support.py
13.655 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_abc.py
18.001 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_abstract_numbers.py
1.492 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_aifc.py
17.7 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_argparse.py
169.132 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_array.py
47.38 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_asdl_parser.py
3.924 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_ast.py
56.941 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_asyncgen.py
33.206 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_asynchat.py
9.309 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_asyncore.py
25.812 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_atexit.py
5.812 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_audioop.py
28.236 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_augassign.py
7.684 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_base64.py
30.169 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_baseexception.py
6.864 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_bdb.py
41.21 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_bigaddrspace.py
2.92 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_bigmem.py
44.883 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_binascii.py
16.938 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_binhex.py
1.463 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_binop.py
14.14 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_bisect.py
13.633 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_bool.py
12.519 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_buffer.py
159.076 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_bufio.py
2.536 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_builtin.py
71.426 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_bytes.py
68.752 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_bz2.py
36.694 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_c_locale_coercion.py
18.344 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_calendar.py
48.715 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_call.py
14.591 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_capi.py
22.542 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_cgi.py
23.439 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_cgitb.py
2.505 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_charmapcodec.py
1.678 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_class.py
16.935 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_clinic.py
21.24 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_cmath.py
24.275 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_cmd.py
6.103 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_cmd_line.py
31.752 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_cmd_line_script.py
29.146 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_code.py
10.402 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_code_module.py
5.514 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codeccallbacks.py
42.796 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codecencodings_cn.py
3.857 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codecencodings_hk.py
0.685 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codecencodings_iso2022.py
1.357 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codecencodings_jp.py
4.792 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codecencodings_kr.py
2.957 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codecencodings_tw.py
0.665 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codecmaps_cn.py
0.729 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codecmaps_hk.py
0.377 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codecmaps_jp.py
1.703 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codecmaps_kr.py
1.16 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codecmaps_tw.py
0.688 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codecs.py
130.731 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_codeop.py
7.626 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_collections.py
79.609 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_colorsys.py
3.835 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_compare.py
3.822 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_compile.py
34.987 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_compileall.py
26.775 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_complex.py
29.677 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_concurrent_futures.py
43.15 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_configparser.py
84.69 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_contains.py
3.485 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_context.py
30.744 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_contextlib.py
32.498 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_contextlib_async.py
14.695 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_copy.py
25.813 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_copyreg.py
4.393 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_coroutines.py
62.272 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_cprofile.py
6.154 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_crashers.py
1.156 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_crypt.py
3.505 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_csv.py
47.06 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_ctypes.py
0.18 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_curses.py
18.85 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dataclasses.py
107.41 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_datetime.py
2.149 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dbm.py
6.436 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dbm_dumb.py
10.772 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dbm_gnu.py
5.219 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dbm_ndbm.py
4.306 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_decimal.py
207.145 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_decorators.py
9.477 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_defaultdict.py
5.876 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_deque.py
33.839 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_descr.py
185.702 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_descrtut.py
11.527 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_devpoll.py
4.51 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dict.py
40.024 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dict_version.py
5.869 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dictcomps.py
3.668 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dictviews.py
11.684 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_difflib.py
19.358 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_difflib_expect.html
100.846 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
test_dis.py
48.528 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_distutils.py
0.366 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_doctest.py
98.512 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_doctest.txt
0.293 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
test_doctest2.py
2.304 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_doctest2.txt
0.383 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
test_doctest3.txt
0.08 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
test_doctest4.txt
0.238 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
test_docxmlrpc.py
8.697 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dtrace.py
5.23 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dummy_thread.py
9.694 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dummy_threading.py
1.702 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dynamic.py
4.291 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_dynamicclassattribute.py
9.565 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_eintr.py
1.321 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_embed.py
20.383 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_ensurepip.py
9.828 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_enum.py
106.033 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_enumerate.py
7.897 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_eof.py
0.784 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_epoll.py
8.993 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_errno.py
1.044 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_exception_hierarchy.py
7.229 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_exception_variations.py
3.855 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_exceptions.py
47.483 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_extcall.py
12.09 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_faulthandler.py
27.983 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_fcntl.py
6.23 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_file.py
10.613 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_file_eintr.py
10.6 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_filecmp.py
8.686 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_fileinput.py
37.294 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_fileio.py
19.188 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_finalization.py
14.162 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_float.py
63.005 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_flufl.py
1.315 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_fnmatch.py
5.065 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_fork1.py
3.715 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_format.py
22.473 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_fractions.py
27.029 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_frame.py
5.67 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_frozen.py
0.947 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_fstring.py
40.232 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_ftplib.py
39.749 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_funcattrs.py
13.252 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_functools.py
82.598 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_future.py
9.983 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_future3.py
0.479 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_future4.py
0.217 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_future5.py
0.498 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_gc.py
36.082 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_gdb.py
40.089 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_generator_stop.py
0.921 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_generators.py
58.475 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_genericclass.py
9.282 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_genericpath.py
20.54 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_genexps.py
7.115 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_getargs2.py
45.504 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_getopt.py
6.748 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_getpass.py
6.286 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_gettext.py
33.118 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_glob.py
12.391 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_global.py
1.309 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_grammar.py
48.456 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_grp.py
3.543 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_gzip.py
27.717 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_hash.py
11.447 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_hashlib.py
39.089 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_heapq.py
15.657 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_hmac.py
21.513 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_html.py
4.234 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_htmlparser.py
31.932 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_http_cookiejar.py
75.636 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_http_cookies.py
18.126 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_httplib.py
76.63 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_httpservers.py
47.562 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_idle.py
0.803 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_imaplib.py
38.823 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_imghdr.py
4.655 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_imp.py
17.316 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_index.py
8.366 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_inspect.py
145.165 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_int.py
26.926 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_int_literal.py
6.888 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_io.py
160.77 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_ioctl.py
3.194 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_ipaddress.py
91.434 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_isinstance.py
9.913 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_iter.py
31.508 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_iterlen.py
7.096 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_itertools.py
99.188 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_keyword.py
5.703 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_keywordonlyarg.py
6.853 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_kqueue.py
8.806 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_largefile.py
6.831 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_lib2to3.py
0.099 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_linecache.py
7.793 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_list.py
7.688 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_listcomps.py
3.763 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_locale.py
23.556 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_logging.py
166.707 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_long.py
52.805 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_longexp.py
0.228 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_lzma.py
87.864 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_macpath.py
6.199 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_mailbox.py
90.645 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_mailcap.py
10.03 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_marshal.py
19.622 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_math.py
63.88 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_memoryio.py
31.483 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_memoryview.py
17.438 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_metaclass.py
6.201 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_mimetypes.py
8.615 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_minidom.py
65.824 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_mmap.py
27.792 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_module.py
10.302 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_modulefinder.py
9.055 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_msilib.py
4.371 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_multibytecodec.py
10.064 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_multiprocessing_fork.py
0.466 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_multiprocessing_forkserver.py
0.383 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_multiprocessing_main_handling.py
11.446 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_multiprocessing_spawn.py
0.271 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_netrc.py
5.935 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_nis.py
1.129 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_nntplib.py
61.695 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_normalization.py
3.323 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_ntpath.py
23.954 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_numeric_tower.py
7.18 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_opcodes.py
3.605 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_openpty.py
0.586 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_operator.py
22.744 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_optparse.py
60.994 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_ordered_dict.py
29.375 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_os.py
139.152 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_ossaudiodev.py
7.057 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_osx_env.py
1.297 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_parser.py
33.129 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pathlib.py
91.461 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pdb.py
49.149 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_peepholer.py
12.809 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pickle.py
18.572 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pickletools.py
4.231 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pipes.py
6.593 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pkg.py
9.594 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pkgimport.py
2.665 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pkgutil.py
17.612 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_platform.py
17.387 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_plistlib.py
37.006 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_poll.py
7.231 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_popen.py
1.978 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_poplib.py
16.885 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_posix.py
61.465 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_posixpath.py
28.659 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pow.py
4.366 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pprint.py
43.489 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_print.py
7.37 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_profile.py
7.707 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_property.py
8.77 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pstats.py
2.889 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pty.py
11.968 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pulldom.py
12.332 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pwd.py
4.165 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_py_compile.py
8.137 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pyclbr.py
9.45 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pydoc.py
46.614 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_pyexpat.py
26.522 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_queue.py
19.069 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_quopri.py
7.775 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_raise.py
12.778 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_random.py
41.092 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_range.py
23.351 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_re.py
104.304 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_readline.py
12.946 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_regrtest.py
44.921 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_repl.py
2.249 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_reprlib.py
15.115 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_resource.py
6.796 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_richcmp.py
11.91 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_rlcompleter.py
6.298 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_robotparser.py
10.015 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_runpy.py
31.047 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_sax.py
45.459 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_sched.py
6.407 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_scope.py
19.704 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_script_helper.py
5.777 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_secrets.py
4.278 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_select.py
2.646 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_selectors.py
17.788 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_set.py
64.411 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_setcomps.py
3.703 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_shelve.py
6.239 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_shlex.py
11.244 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_shutil.py
78.63 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_signal.py
40.195 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_site.py
27.055 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_slice.py
8.247 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_smtpd.py
40.145 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_smtplib.py
52.911 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_smtpnet.py
2.868 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_sndhdr.py
1.426 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_socket.py
223.554 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_socketserver.py
16.872 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_sort.py
13.425 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_source_encoding.py
7.891 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_spwd.py
2.709 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_sqlite.py
0.926 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_ssl.py
195.891 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_startfile.py
1.165 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_stat.py
7.963 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_statistics.py
74.347 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_strftime.py
7.542 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_string.py
19.797 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_string_literals.py
9.827 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_stringprep.py
3.04 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_strptime.py
34.205 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_strtod.py
20.056 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_struct.py
33.4 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_structmembers.py
4.703 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_structseq.py
3.871 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_subclassinit.py
8.118 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_subprocess.py
139.503 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_sunau.py
6.068 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_sundry.py
2.038 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_super.py
10.652 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_support.py
23.45 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_symbol.py
1.855 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_symtable.py
6.931 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_syntax.py
22.135 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_sys.py
49.65 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_sys_setprofile.py
11.421 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_sys_settrace.py
39.976 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_sysconfig.py
18.339 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_syslog.py
1.15 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_tarfile.py
97.462 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_tcl.py
29.202 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_telnetlib.py
12.698 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_tempfile.py
51.009 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_textwrap.py
38.838 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_thread.py
8.419 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_threaded_import.py
8.913 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_threadedtempfile.py
1.865 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_threading.py
44.214 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_threading_local.py
6.088 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_threadsignals.py
10.092 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_time.py
38.884 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_timeit.py
14.799 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_timeout.py
11.189 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_tix.py
0.738 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_tk.py
0.354 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_tokenize.py
62.677 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_trace.py
17.454 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_traceback.py
43.482 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_tracemalloc.py
36.438 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_ttk_guionly.py
0.729 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_ttk_textonly.py
0.292 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_tuple.py
7.578 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_turtle.py
12.36 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_typechecks.py
2.554 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_types.py
57.998 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_typing.py
92.67 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_ucn.py
9.352 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_unary.py
1.626 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_unicode.py
130.275 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_unicode_file.py
5.729 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_unicode_file_functions.py
6.84 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_unicode_identifiers.py
0.87 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_unicodedata.py
12.6 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_unittest.py
0.279 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_univnewlines.py
3.83 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_unpack.py
3.014 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_unpack_ex.py
8.731 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_urllib.py
68.913 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_urllib2.py
77.008 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_urllib2_localnet.py
24.258 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_urllib2net.py
12.394 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_urllib_response.py
1.688 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_urllibnet.py
8.901 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_urlparse.py
63.231 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_userdict.py
7.638 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_userlist.py
1.969 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_userstring.py
1.435 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_utf8_mode.py
9.168 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_utf8source.py
1.147 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_uu.py
8.834 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_uuid.py
34.146 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_venv.py
19.97 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_wait3.py
1.155 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_wait4.py
1.154 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_wave.py
6.573 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_weakref.py
68.941 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_weakset.py
14.952 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_webbrowser.py
10.471 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_winconsoleio.py
6.146 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_winreg.py
21.246 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_winsound.py
4.567 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_with.py
25.779 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_wsgiref.py
29.722 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_xdrlib.py
2.174 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_xml_dom_minicompat.py
4.182 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_xml_etree.py
116.47 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_xml_etree_c.py
8.114 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_xmlrpc.py
54.092 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_xmlrpc_net.py
0.991 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_xxtestfuzz.py
0.583 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_yield_from.py
29.964 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_zipapp.py
15.92 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_zipfile.py
104.497 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_zipfile64.py
5.723 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_zipimport.py
30.342 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_zipimport_support.py
10.463 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
test_zlib.py
34.032 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
testcodec.py
1.021 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
testtar.tar
425 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
tf_inherit_check.py
0.697 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
threaded_import_hangers.py
1.449 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
time_hashlib.py
2.874 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
0.433 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
0.295 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
0.411 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
0.318 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
tokenize_tests.txt
2.653 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
win_console_handler.py
1.383 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
xmltests.py
0.487 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
zip_cp437_header.zip
0.264 KB
5 Jun 2023 8.45 PM
root / linksafe
0644
zipdir.zip
0.365 KB
5 Jun 2023 8.45 PM
root / linksafe
0644

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