✘✘ 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.84
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python312/lib64/python3.12/test//test_tempfile.py
# tempfile.py unit tests.
import tempfile
import errno
import io
import os
import pathlib
import sys
import re
import warnings
import contextlib
import stat
import types
import weakref
import gc
import shutil
import subprocess
from unittest import mock

import unittest
from test import support
from test.support import os_helper
from test.support import script_helper
from test.support import warnings_helper


has_textmode = (tempfile._text_openflags != tempfile._bin_openflags)
has_spawnl = hasattr(os, 'spawnl')

# TEST_FILES may need to be tweaked for systems depending on the maximum
# number of files that can be opened at one time (see ulimit -n)
if sys.platform.startswith('openbsd'):
    TEST_FILES = 48
else:
    TEST_FILES = 100

# This is organized as one test for each chunk of code in tempfile.py,
# in order of their appearance in the file.  Testing which requires
# threads is not done here.

class TestLowLevelInternals(unittest.TestCase):
    def test_infer_return_type_singles(self):
        self.assertIs(str, tempfile._infer_return_type(''))
        self.assertIs(bytes, tempfile._infer_return_type(b''))
        self.assertIs(str, tempfile._infer_return_type(None))

    def test_infer_return_type_multiples(self):
        self.assertIs(str, tempfile._infer_return_type('', ''))
        self.assertIs(bytes, tempfile._infer_return_type(b'', b''))
        with self.assertRaises(TypeError):
            tempfile._infer_return_type('', b'')
        with self.assertRaises(TypeError):
            tempfile._infer_return_type(b'', '')

    def test_infer_return_type_multiples_and_none(self):
        self.assertIs(str, tempfile._infer_return_type(None, ''))
        self.assertIs(str, tempfile._infer_return_type('', None))
        self.assertIs(str, tempfile._infer_return_type(None, None))
        self.assertIs(bytes, tempfile._infer_return_type(b'', None))
        self.assertIs(bytes, tempfile._infer_return_type(None, b''))
        with self.assertRaises(TypeError):
            tempfile._infer_return_type('', None, b'')
        with self.assertRaises(TypeError):
            tempfile._infer_return_type(b'', None, '')

    def test_infer_return_type_pathlib(self):
        self.assertIs(str, tempfile._infer_return_type(os_helper.FakePath('/')))

    def test_infer_return_type_pathlike(self):
        Path = os_helper.FakePath
        self.assertIs(str, tempfile._infer_return_type(Path('/')))
        self.assertIs(bytes, tempfile._infer_return_type(Path(b'/')))
        self.assertIs(str, tempfile._infer_return_type('', Path('')))
        self.assertIs(bytes, tempfile._infer_return_type(b'', Path(b'')))
        self.assertIs(bytes, tempfile._infer_return_type(None, Path(b'')))
        self.assertIs(str, tempfile._infer_return_type(None, Path('')))

        with self.assertRaises(TypeError):
            tempfile._infer_return_type('', Path(b''))
        with self.assertRaises(TypeError):
            tempfile._infer_return_type(b'', Path(''))

# Common functionality.

class BaseTestCase(unittest.TestCase):

    str_check = re.compile(r"^[a-z0-9_-]{8}$")
    b_check = re.compile(br"^[a-z0-9_-]{8}$")

    def setUp(self):
        self.enterContext(warnings_helper.check_warnings())
        warnings.filterwarnings("ignore", category=RuntimeWarning,
                                message="mktemp", module=__name__)

    def nameCheck(self, name, dir, pre, suf):
        (ndir, nbase) = os.path.split(name)
        npre  = nbase[:len(pre)]
        nsuf  = nbase[len(nbase)-len(suf):]

        if dir is not None:
            self.assertIs(
                type(name),
                str
                if type(dir) is str or isinstance(dir, os.PathLike) else
                bytes,
                "unexpected return type",
            )
        if pre is not None:
            self.assertIs(type(name), str if type(pre) is str else bytes,
                          "unexpected return type")
        if suf is not None:
            self.assertIs(type(name), str if type(suf) is str else bytes,
                          "unexpected return type")
        if (dir, pre, suf) == (None, None, None):
            self.assertIs(type(name), str, "default return type must be str")

        # check for equality of the absolute paths!
        self.assertEqual(os.path.abspath(ndir), os.path.abspath(dir),
                         "file %r not in directory %r" % (name, dir))
        self.assertEqual(npre, pre,
                         "file %r does not begin with %r" % (nbase, pre))
        self.assertEqual(nsuf, suf,
                         "file %r does not end with %r" % (nbase, suf))

        nbase = nbase[len(pre):len(nbase)-len(suf)]
        check = self.str_check if isinstance(nbase, str) else self.b_check
        self.assertTrue(check.match(nbase),
                        "random characters %r do not match %r"
                        % (nbase, check.pattern))


class TestExports(BaseTestCase):
    def test_exports(self):
        # There are no surprising symbols in the tempfile module
        dict = tempfile.__dict__

        expected = {
            "NamedTemporaryFile" : 1,
            "TemporaryFile" : 1,
            "mkstemp" : 1,
            "mkdtemp" : 1,
            "mktemp" : 1,
            "TMP_MAX" : 1,
            "gettempprefix" : 1,
            "gettempprefixb" : 1,
            "gettempdir" : 1,
            "gettempdirb" : 1,
            "tempdir" : 1,
            "template" : 1,
            "SpooledTemporaryFile" : 1,
            "TemporaryDirectory" : 1,
        }

        unexp = []
        for key in dict:
            if key[0] != '_' and key not in expected:
                unexp.append(key)
        self.assertTrue(len(unexp) == 0,
                        "unexpected keys: %s" % unexp)


class TestRandomNameSequence(BaseTestCase):
    """Test the internal iterator object _RandomNameSequence."""

    def setUp(self):
        self.r = tempfile._RandomNameSequence()
        super().setUp()

    def test_get_eight_char_str(self):
        # _RandomNameSequence returns a eight-character string
        s = next(self.r)
        self.nameCheck(s, '', '', '')

    def test_many(self):
        # _RandomNameSequence returns no duplicate strings (stochastic)

        dict = {}
        r = self.r
        for i in range(TEST_FILES):
            s = next(r)
            self.nameCheck(s, '', '', '')
            self.assertNotIn(s, dict)
            dict[s] = 1

    def supports_iter(self):
        # _RandomNameSequence supports the iterator protocol

        i = 0
        r = self.r
        for s in r:
            i += 1
            if i == 20:
                break

    @support.requires_fork()
    def test_process_awareness(self):
        # ensure that the random source differs between
        # child and parent.
        read_fd, write_fd = os.pipe()
        pid = None
        try:
            pid = os.fork()
            if not pid:
                # child process
                os.close(read_fd)
                os.write(write_fd, next(self.r).encode("ascii"))
                os.close(write_fd)
                # bypass the normal exit handlers- leave those to
                # the parent.
                os._exit(0)

            # parent process
            parent_value = next(self.r)
            child_value = os.read(read_fd, len(parent_value)).decode("ascii")
        finally:
            if pid:
                support.wait_process(pid, exitcode=0)

            os.close(read_fd)
            os.close(write_fd)
        self.assertNotEqual(child_value, parent_value)



class TestCandidateTempdirList(BaseTestCase):
    """Test the internal function _candidate_tempdir_list."""

    def test_nonempty_list(self):
        # _candidate_tempdir_list returns a nonempty list of strings

        cand = tempfile._candidate_tempdir_list()

        self.assertFalse(len(cand) == 0)
        for c in cand:
            self.assertIsInstance(c, str)

    def test_wanted_dirs(self):
        # _candidate_tempdir_list contains the expected directories

        # Make sure the interesting environment variables are all set.
        with os_helper.EnvironmentVarGuard() as env:
            for envname in 'TMPDIR', 'TEMP', 'TMP':
                dirname = os.getenv(envname)
                if not dirname:
                    env[envname] = os.path.abspath(envname)

            cand = tempfile._candidate_tempdir_list()

            for envname in 'TMPDIR', 'TEMP', 'TMP':
                dirname = os.getenv(envname)
                if not dirname: raise ValueError
                self.assertIn(dirname, cand)

            try:
                dirname = os.getcwd()
            except (AttributeError, OSError):
                dirname = os.curdir

            self.assertIn(dirname, cand)

            # Not practical to try to verify the presence of OS-specific
            # paths in this list.


# We test _get_default_tempdir some more by testing gettempdir.

class TestGetDefaultTempdir(BaseTestCase):
    """Test _get_default_tempdir()."""

    def test_no_files_left_behind(self):
        # use a private empty directory
        with tempfile.TemporaryDirectory() as our_temp_directory:
            # force _get_default_tempdir() to consider our empty directory
            def our_candidate_list():
                return [our_temp_directory]

            with support.swap_attr(tempfile, "_candidate_tempdir_list",
                                   our_candidate_list):
                # verify our directory is empty after _get_default_tempdir()
                tempfile._get_default_tempdir()
                self.assertEqual(os.listdir(our_temp_directory), [])

                def raise_OSError(*args, **kwargs):
                    raise OSError()

                with support.swap_attr(os, "open", raise_OSError):
                    # test again with failing os.open()
                    with self.assertRaises(FileNotFoundError):
                        tempfile._get_default_tempdir()
                    self.assertEqual(os.listdir(our_temp_directory), [])

                with support.swap_attr(os, "write", raise_OSError):
                    # test again with failing os.write()
                    with self.assertRaises(FileNotFoundError):
                        tempfile._get_default_tempdir()
                    self.assertEqual(os.listdir(our_temp_directory), [])


class TestGetCandidateNames(BaseTestCase):
    """Test the internal function _get_candidate_names."""

    def test_retval(self):
        # _get_candidate_names returns a _RandomNameSequence object
        obj = tempfile._get_candidate_names()
        self.assertIsInstance(obj, tempfile._RandomNameSequence)

    def test_same_thing(self):
        # _get_candidate_names always returns the same object
        a = tempfile._get_candidate_names()
        b = tempfile._get_candidate_names()

        self.assertTrue(a is b)


@contextlib.contextmanager
def _inside_empty_temp_dir():
    dir = tempfile.mkdtemp()
    try:
        with support.swap_attr(tempfile, 'tempdir', dir):
            yield
    finally:
        os_helper.rmtree(dir)


def _mock_candidate_names(*names):
    return support.swap_attr(tempfile,
                             '_get_candidate_names',
                             lambda: iter(names))


class TestBadTempdir:

    @unittest.skipIf(
        support.is_emscripten, "Emscripten cannot remove write bits."
    )
    def test_read_only_directory(self):
        with _inside_empty_temp_dir():
            oldmode = mode = os.stat(tempfile.tempdir).st_mode
            mode &= ~(stat.S_IWUSR | stat.S_IWGRP | stat.S_IWOTH)
            os.chmod(tempfile.tempdir, mode)
            try:
                if os.access(tempfile.tempdir, os.W_OK):
                    self.skipTest("can't set the directory read-only")
                with self.assertRaises(PermissionError):
                    self.make_temp()
                self.assertEqual(os.listdir(tempfile.tempdir), [])
            finally:
                os.chmod(tempfile.tempdir, oldmode)

    def test_nonexisting_directory(self):
        with _inside_empty_temp_dir():
            tempdir = os.path.join(tempfile.tempdir, 'nonexistent')
            with support.swap_attr(tempfile, 'tempdir', tempdir):
                with self.assertRaises(FileNotFoundError):
                    self.make_temp()

    def test_non_directory(self):
        with _inside_empty_temp_dir():
            tempdir = os.path.join(tempfile.tempdir, 'file')
            open(tempdir, 'wb').close()
            with support.swap_attr(tempfile, 'tempdir', tempdir):
                with self.assertRaises((NotADirectoryError, FileNotFoundError)):
                    self.make_temp()


class TestMkstempInner(TestBadTempdir, BaseTestCase):
    """Test the internal function _mkstemp_inner."""

    class mkstemped:
        _bflags = tempfile._bin_openflags
        _tflags = tempfile._text_openflags
        _close = os.close
        _unlink = os.unlink

        def __init__(self, dir, pre, suf, bin):
            if bin: flags = self._bflags
            else:   flags = self._tflags

            output_type = tempfile._infer_return_type(dir, pre, suf)
            (self.fd, self.name) = tempfile._mkstemp_inner(dir, pre, suf, flags, output_type)

        def write(self, str):
            os.write(self.fd, str)

        def __del__(self):
            self._close(self.fd)
            self._unlink(self.name)

    def do_create(self, dir=None, pre=None, suf=None, bin=1):
        output_type = tempfile._infer_return_type(dir, pre, suf)
        if dir is None:
            if output_type is str:
                dir = tempfile.gettempdir()
            else:
                dir = tempfile.gettempdirb()
        if pre is None:
            pre = output_type()
        if suf is None:
            suf = output_type()
        file = self.mkstemped(dir, pre, suf, bin)

        self.nameCheck(file.name, dir, pre, suf)
        return file

    def test_basic(self):
        # _mkstemp_inner can create files
        self.do_create().write(b"blat")
        self.do_create(pre="a").write(b"blat")
        self.do_create(suf="b").write(b"blat")
        self.do_create(pre="a", suf="b").write(b"blat")
        self.do_create(pre="aa", suf=".txt").write(b"blat")

    def test_basic_with_bytes_names(self):
        # _mkstemp_inner can create files when given name parts all
        # specified as bytes.
        dir_b = tempfile.gettempdirb()
        self.do_create(dir=dir_b, suf=b"").write(b"blat")
        self.do_create(dir=dir_b, pre=b"a").write(b"blat")
        self.do_create(dir=dir_b, suf=b"b").write(b"blat")
        self.do_create(dir=dir_b, pre=b"a", suf=b"b").write(b"blat")
        self.do_create(dir=dir_b, pre=b"aa", suf=b".txt").write(b"blat")
        # Can't mix str & binary types in the args.
        with self.assertRaises(TypeError):
            self.do_create(dir="", suf=b"").write(b"blat")
        with self.assertRaises(TypeError):
            self.do_create(dir=dir_b, pre="").write(b"blat")
        with self.assertRaises(TypeError):
            self.do_create(dir=dir_b, pre=b"", suf="").write(b"blat")

    def test_basic_many(self):
        # _mkstemp_inner can create many files (stochastic)
        extant = list(range(TEST_FILES))
        for i in extant:
            extant[i] = self.do_create(pre="aa")

    def test_choose_directory(self):
        # _mkstemp_inner can create files in a user-selected directory
        dir = tempfile.mkdtemp()
        try:
            self.do_create(dir=dir).write(b"blat")
            self.do_create(dir=os_helper.FakePath(dir)).write(b"blat")
        finally:
            support.gc_collect()  # For PyPy or other GCs.
            os.rmdir(dir)

    @os_helper.skip_unless_working_chmod
    def test_file_mode(self):
        # _mkstemp_inner creates files with the proper mode

        file = self.do_create()
        mode = stat.S_IMODE(os.stat(file.name).st_mode)
        expected = 0o600
        if sys.platform == 'win32':
            # There's no distinction among 'user', 'group' and 'world';
            # replicate the 'user' bits.
            user = expected >> 6
            expected = user * (1 + 8 + 64)
        self.assertEqual(mode, expected)

    @unittest.skipUnless(has_spawnl, 'os.spawnl not available')
    @support.requires_subprocess()
    def test_noinherit(self):
        # _mkstemp_inner file handles are not inherited by child processes

        if support.verbose:
            v="v"
        else:
            v="q"

        file = self.do_create()
        self.assertEqual(os.get_inheritable(file.fd), False)
        fd = "%d" % file.fd

        try:
            me = __file__
        except NameError:
            me = sys.argv[0]

        # We have to exec something, so that FD_CLOEXEC will take
        # effect.  The core of this test is therefore in
        # tf_inherit_check.py, which see.
        tester = os.path.join(os.path.dirname(os.path.abspath(me)),
                              "tf_inherit_check.py")

        # On Windows a spawn* /path/ with embedded spaces shouldn't be quoted,
        # but an arg with embedded spaces should be decorated with double
        # quotes on each end
        if sys.platform == 'win32':
            decorated = '"%s"' % sys.executable
            tester = '"%s"' % tester
        else:
            decorated = sys.executable

        retval = os.spawnl(os.P_WAIT, sys.executable, decorated, tester, v, fd)
        self.assertFalse(retval < 0,
                    "child process caught fatal signal %d" % -retval)
        self.assertFalse(retval > 0, "child process reports failure %d"%retval)

    @unittest.skipUnless(has_textmode, "text mode not available")
    def test_textmode(self):
        # _mkstemp_inner can create files in text mode

        # A text file is truncated at the first Ctrl+Z byte
        f = self.do_create(bin=0)
        f.write(b"blat\x1a")
        f.write(b"extra\n")
        os.lseek(f.fd, 0, os.SEEK_SET)
        self.assertEqual(os.read(f.fd, 20), b"blat")

    def make_temp(self):
        return tempfile._mkstemp_inner(tempfile.gettempdir(),
                                       tempfile.gettempprefix(),
                                       '',
                                       tempfile._bin_openflags,
                                       str)

    def test_collision_with_existing_file(self):
        # _mkstemp_inner tries another name when a file with
        # the chosen name already exists
        with _inside_empty_temp_dir(), \
             _mock_candidate_names('aaa', 'aaa', 'bbb'):
            (fd1, name1) = self.make_temp()
            os.close(fd1)
            self.assertTrue(name1.endswith('aaa'))

            (fd2, name2) = self.make_temp()
            os.close(fd2)
            self.assertTrue(name2.endswith('bbb'))

    def test_collision_with_existing_directory(self):
        # _mkstemp_inner tries another name when a directory with
        # the chosen name already exists
        with _inside_empty_temp_dir(), \
             _mock_candidate_names('aaa', 'aaa', 'bbb'):
            dir = tempfile.mkdtemp()
            self.assertTrue(dir.endswith('aaa'))

            (fd, name) = self.make_temp()
            os.close(fd)
            self.assertTrue(name.endswith('bbb'))


class TestGetTempPrefix(BaseTestCase):
    """Test gettempprefix()."""

    def test_sane_template(self):
        # gettempprefix returns a nonempty prefix string
        p = tempfile.gettempprefix()

        self.assertIsInstance(p, str)
        self.assertGreater(len(p), 0)

        pb = tempfile.gettempprefixb()

        self.assertIsInstance(pb, bytes)
        self.assertGreater(len(pb), 0)

    def test_usable_template(self):
        # gettempprefix returns a usable prefix string

        # Create a temp directory, avoiding use of the prefix.
        # Then attempt to create a file whose name is
        # prefix + 'xxxxxx.xxx' in that directory.
        p = tempfile.gettempprefix() + "xxxxxx.xxx"
        d = tempfile.mkdtemp(prefix="")
        try:
            p = os.path.join(d, p)
            fd = os.open(p, os.O_RDWR | os.O_CREAT)
            os.close(fd)
            os.unlink(p)
        finally:
            os.rmdir(d)


class TestGetTempDir(BaseTestCase):
    """Test gettempdir()."""

    def test_directory_exists(self):
        # gettempdir returns a directory which exists

        for d in (tempfile.gettempdir(), tempfile.gettempdirb()):
            self.assertTrue(os.path.isabs(d) or d == os.curdir,
                            "%r is not an absolute path" % d)
            self.assertTrue(os.path.isdir(d),
                            "%r is not a directory" % d)

    def test_directory_writable(self):
        # gettempdir returns a directory writable by the user

        # sneaky: just instantiate a NamedTemporaryFile, which
        # defaults to writing into the directory returned by
        # gettempdir.
        with tempfile.NamedTemporaryFile() as file:
            file.write(b"blat")

    def test_same_thing(self):
        # gettempdir always returns the same object
        a = tempfile.gettempdir()
        b = tempfile.gettempdir()
        c = tempfile.gettempdirb()

        self.assertTrue(a is b)
        self.assertNotEqual(type(a), type(c))
        self.assertEqual(a, os.fsdecode(c))

    def test_case_sensitive(self):
        # gettempdir should not flatten its case
        # even on a case-insensitive file system
        case_sensitive_tempdir = tempfile.mkdtemp("-Temp")
        _tempdir, tempfile.tempdir = tempfile.tempdir, None
        try:
            with os_helper.EnvironmentVarGuard() as env:
                # Fake the first env var which is checked as a candidate
                env["TMPDIR"] = case_sensitive_tempdir
                self.assertEqual(tempfile.gettempdir(), case_sensitive_tempdir)
        finally:
            tempfile.tempdir = _tempdir
            os_helper.rmdir(case_sensitive_tempdir)


class TestMkstemp(BaseTestCase):
    """Test mkstemp()."""

    def do_create(self, dir=None, pre=None, suf=None):
        output_type = tempfile._infer_return_type(dir, pre, suf)
        if dir is None:
            if output_type is str:
                dir = tempfile.gettempdir()
            else:
                dir = tempfile.gettempdirb()
        if pre is None:
            pre = output_type()
        if suf is None:
            suf = output_type()
        (fd, name) = tempfile.mkstemp(dir=dir, prefix=pre, suffix=suf)
        (ndir, nbase) = os.path.split(name)
        adir = os.path.abspath(dir)
        self.assertEqual(adir, ndir,
            "Directory '%s' incorrectly returned as '%s'" % (adir, ndir))

        try:
            self.nameCheck(name, dir, pre, suf)
        finally:
            os.close(fd)
            os.unlink(name)

    def test_basic(self):
        # mkstemp can create files
        self.do_create()
        self.do_create(pre="a")
        self.do_create(suf="b")
        self.do_create(pre="a", suf="b")
        self.do_create(pre="aa", suf=".txt")
        self.do_create(dir=".")

    def test_basic_with_bytes_names(self):
        # mkstemp can create files when given name parts all
        # specified as bytes.
        d = tempfile.gettempdirb()
        self.do_create(dir=d, suf=b"")
        self.do_create(dir=d, pre=b"a")
        self.do_create(dir=d, suf=b"b")
        self.do_create(dir=d, pre=b"a", suf=b"b")
        self.do_create(dir=d, pre=b"aa", suf=b".txt")
        self.do_create(dir=b".")
        with self.assertRaises(TypeError):
            self.do_create(dir=".", pre=b"aa", suf=b".txt")
        with self.assertRaises(TypeError):
            self.do_create(dir=b".", pre="aa", suf=b".txt")
        with self.assertRaises(TypeError):
            self.do_create(dir=b".", pre=b"aa", suf=".txt")


    def test_choose_directory(self):
        # mkstemp can create directories in a user-selected directory
        dir = tempfile.mkdtemp()
        try:
            self.do_create(dir=dir)
            self.do_create(dir=os_helper.FakePath(dir))
        finally:
            os.rmdir(dir)

    def test_for_tempdir_is_bytes_issue40701_api_warts(self):
        orig_tempdir = tempfile.tempdir
        self.assertIsInstance(tempfile.tempdir, (str, type(None)))
        try:
            fd, path = tempfile.mkstemp()
            os.close(fd)
            os.unlink(path)
            self.assertIsInstance(path, str)
            tempfile.tempdir = tempfile.gettempdirb()
            self.assertIsInstance(tempfile.tempdir, bytes)
            self.assertIsInstance(tempfile.gettempdir(), str)
            self.assertIsInstance(tempfile.gettempdirb(), bytes)
            fd, path = tempfile.mkstemp()
            os.close(fd)
            os.unlink(path)
            self.assertIsInstance(path, bytes)
            fd, path = tempfile.mkstemp(suffix='.txt')
            os.close(fd)
            os.unlink(path)
            self.assertIsInstance(path, str)
            fd, path = tempfile.mkstemp(prefix='test-temp-')
            os.close(fd)
            os.unlink(path)
            self.assertIsInstance(path, str)
            fd, path = tempfile.mkstemp(dir=tempfile.gettempdir())
            os.close(fd)
            os.unlink(path)
            self.assertIsInstance(path, str)
        finally:
            tempfile.tempdir = orig_tempdir


class TestMkdtemp(TestBadTempdir, BaseTestCase):
    """Test mkdtemp()."""

    def make_temp(self):
        return tempfile.mkdtemp()

    def do_create(self, dir=None, pre=None, suf=None):
        output_type = tempfile._infer_return_type(dir, pre, suf)
        if dir is None:
            if output_type is str:
                dir = tempfile.gettempdir()
            else:
                dir = tempfile.gettempdirb()
        if pre is None:
            pre = output_type()
        if suf is None:
            suf = output_type()
        name = tempfile.mkdtemp(dir=dir, prefix=pre, suffix=suf)

        try:
            self.nameCheck(name, dir, pre, suf)
            return name
        except:
            os.rmdir(name)
            raise

    def test_basic(self):
        # mkdtemp can create directories
        os.rmdir(self.do_create())
        os.rmdir(self.do_create(pre="a"))
        os.rmdir(self.do_create(suf="b"))
        os.rmdir(self.do_create(pre="a", suf="b"))
        os.rmdir(self.do_create(pre="aa", suf=".txt"))

    def test_basic_with_bytes_names(self):
        # mkdtemp can create directories when given all binary parts
        d = tempfile.gettempdirb()
        os.rmdir(self.do_create(dir=d))
        os.rmdir(self.do_create(dir=d, pre=b"a"))
        os.rmdir(self.do_create(dir=d, suf=b"b"))
        os.rmdir(self.do_create(dir=d, pre=b"a", suf=b"b"))
        os.rmdir(self.do_create(dir=d, pre=b"aa", suf=b".txt"))
        with self.assertRaises(TypeError):
            os.rmdir(self.do_create(dir=d, pre="aa", suf=b".txt"))
        with self.assertRaises(TypeError):
            os.rmdir(self.do_create(dir=d, pre=b"aa", suf=".txt"))
        with self.assertRaises(TypeError):
            os.rmdir(self.do_create(dir="", pre=b"aa", suf=b".txt"))

    def test_basic_many(self):
        # mkdtemp can create many directories (stochastic)
        extant = list(range(TEST_FILES))
        try:
            for i in extant:
                extant[i] = self.do_create(pre="aa")
        finally:
            for i in extant:
                if(isinstance(i, str)):
                    os.rmdir(i)

    def test_choose_directory(self):
        # mkdtemp can create directories in a user-selected directory
        dir = tempfile.mkdtemp()
        try:
            os.rmdir(self.do_create(dir=dir))
            os.rmdir(self.do_create(dir=os_helper.FakePath(dir)))
        finally:
            os.rmdir(dir)

    @os_helper.skip_unless_working_chmod
    def test_mode(self):
        # mkdtemp creates directories with the proper mode

        dir = self.do_create()
        try:
            mode = stat.S_IMODE(os.stat(dir).st_mode)
            mode &= 0o777 # Mask off sticky bits inherited from /tmp
            expected = 0o700
            if sys.platform == 'win32':
                # There's no distinction among 'user', 'group' and 'world';
                # replicate the 'user' bits.
                user = expected >> 6
                expected = user * (1 + 8 + 64)
            self.assertEqual(mode, expected)
        finally:
            os.rmdir(dir)

    @unittest.skipUnless(os.name == "nt", "Only on Windows.")
    def test_mode_win32(self):
        # Use icacls.exe to extract the users with some level of access
        # Main thing we are testing is that the BUILTIN\Users group has
        # no access. The exact ACL is going to vary based on which user
        # is running the test.
        dir = self.do_create()
        try:
            out = subprocess.check_output(["icacls.exe", dir], encoding="oem").casefold()
        finally:
            os.rmdir(dir)

        dir = dir.casefold()
        users = set()
        found_user = False
        for line in out.strip().splitlines():
            acl = None
            # First line of result includes our directory
            if line.startswith(dir):
                acl = line.removeprefix(dir).strip()
            elif line and line[:1].isspace():
                acl = line.strip()
            if acl:
                users.add(acl.partition(":")[0])

        self.assertNotIn(r"BUILTIN\Users".casefold(), users)

    def test_collision_with_existing_file(self):
        # mkdtemp tries another name when a file with
        # the chosen name already exists
        with _inside_empty_temp_dir(), \
             _mock_candidate_names('aaa', 'aaa', 'bbb'):
            file = tempfile.NamedTemporaryFile(delete=False)
            file.close()
            self.assertTrue(file.name.endswith('aaa'))
            dir = tempfile.mkdtemp()
            self.assertTrue(dir.endswith('bbb'))

    def test_collision_with_existing_directory(self):
        # mkdtemp tries another name when a directory with
        # the chosen name already exists
        with _inside_empty_temp_dir(), \
             _mock_candidate_names('aaa', 'aaa', 'bbb'):
            dir1 = tempfile.mkdtemp()
            self.assertTrue(dir1.endswith('aaa'))
            dir2 = tempfile.mkdtemp()
            self.assertTrue(dir2.endswith('bbb'))

    def test_for_tempdir_is_bytes_issue40701_api_warts(self):
        orig_tempdir = tempfile.tempdir
        self.assertIsInstance(tempfile.tempdir, (str, type(None)))
        try:
            path = tempfile.mkdtemp()
            os.rmdir(path)
            self.assertIsInstance(path, str)
            tempfile.tempdir = tempfile.gettempdirb()
            self.assertIsInstance(tempfile.tempdir, bytes)
            self.assertIsInstance(tempfile.gettempdir(), str)
            self.assertIsInstance(tempfile.gettempdirb(), bytes)
            path = tempfile.mkdtemp()
            os.rmdir(path)
            self.assertIsInstance(path, bytes)
            path = tempfile.mkdtemp(suffix='-dir')
            os.rmdir(path)
            self.assertIsInstance(path, str)
            path = tempfile.mkdtemp(prefix='test-mkdtemp-')
            os.rmdir(path)
            self.assertIsInstance(path, str)
            path = tempfile.mkdtemp(dir=tempfile.gettempdir())
            os.rmdir(path)
            self.assertIsInstance(path, str)
        finally:
            tempfile.tempdir = orig_tempdir

    def test_path_is_absolute(self):
        # Test that the path returned by mkdtemp with a relative `dir`
        # argument is absolute
        try:
            path = tempfile.mkdtemp(dir=".")
            self.assertTrue(os.path.isabs(path))
        finally:
            os.rmdir(path)


class TestMktemp(BaseTestCase):
    """Test mktemp()."""

    # For safety, all use of mktemp must occur in a private directory.
    # We must also suppress the RuntimeWarning it generates.
    def setUp(self):
        self.dir = tempfile.mkdtemp()
        super().setUp()

    def tearDown(self):
        if self.dir:
            os.rmdir(self.dir)
            self.dir = None
        super().tearDown()

    class mktemped:
        _unlink = os.unlink
        _bflags = tempfile._bin_openflags

        def __init__(self, dir, pre, suf):
            self.name = tempfile.mktemp(dir=dir, prefix=pre, suffix=suf)
            # Create the file.  This will raise an exception if it's
            # mysteriously appeared in the meanwhile.
            os.close(os.open(self.name, self._bflags, 0o600))

        def __del__(self):
            self._unlink(self.name)

    def do_create(self, pre="", suf=""):
        file = self.mktemped(self.dir, pre, suf)

        self.nameCheck(file.name, self.dir, pre, suf)
        return file

    def test_basic(self):
        # mktemp can choose usable file names
        self.do_create()
        self.do_create(pre="a")
        self.do_create(suf="b")
        self.do_create(pre="a", suf="b")
        self.do_create(pre="aa", suf=".txt")

    def test_many(self):
        # mktemp can choose many usable file names (stochastic)
        extant = list(range(TEST_FILES))
        for i in extant:
            extant[i] = self.do_create(pre="aa")
        del extant
        support.gc_collect()  # For PyPy or other GCs.

##     def test_warning(self):
##         # mktemp issues a warning when used
##         warnings.filterwarnings("error",
##                                 category=RuntimeWarning,
##                                 message="mktemp")
##         self.assertRaises(RuntimeWarning,
##                           tempfile.mktemp, dir=self.dir)


# We test _TemporaryFileWrapper by testing NamedTemporaryFile.


class TestNamedTemporaryFile(BaseTestCase):
    """Test NamedTemporaryFile()."""

    def do_create(self, dir=None, pre="", suf="", delete=True):
        if dir is None:
            dir = tempfile.gettempdir()
        file = tempfile.NamedTemporaryFile(dir=dir, prefix=pre, suffix=suf,
                                           delete=delete)

        self.nameCheck(file.name, dir, pre, suf)
        return file


    def test_basic(self):
        # NamedTemporaryFile can create files
        self.do_create()
        self.do_create(pre="a")
        self.do_create(suf="b")
        self.do_create(pre="a", suf="b")
        self.do_create(pre="aa", suf=".txt")

    def test_method_lookup(self):
        # Issue #18879: Looking up a temporary file method should keep it
        # alive long enough.
        f = self.do_create()
        wr = weakref.ref(f)
        write = f.write
        write2 = f.write
        del f
        write(b'foo')
        del write
        write2(b'bar')
        del write2
        if support.check_impl_detail(cpython=True):
            # No reference cycle was created.
            self.assertIsNone(wr())

    def test_iter(self):
        # Issue #23700: getting iterator from a temporary file should keep
        # it alive as long as it's being iterated over
        lines = [b'spam\n', b'eggs\n', b'beans\n']
        def make_file():
            f = tempfile.NamedTemporaryFile(mode='w+b')
            f.write(b''.join(lines))
            f.seek(0)
            return f
        for i, l in enumerate(make_file()):
            self.assertEqual(l, lines[i])
        self.assertEqual(i, len(lines) - 1)

    def test_creates_named(self):
        # NamedTemporaryFile creates files with names
        f = tempfile.NamedTemporaryFile()
        self.assertTrue(os.path.exists(f.name),
                        "NamedTemporaryFile %s does not exist" % f.name)

    def test_del_on_close(self):
        # A NamedTemporaryFile is deleted when closed
        dir = tempfile.mkdtemp()
        try:
            with tempfile.NamedTemporaryFile(dir=dir) as f:
                f.write(b'blat')
            self.assertEqual(os.listdir(dir), [])
            self.assertFalse(os.path.exists(f.name),
                        "NamedTemporaryFile %s exists after close" % f.name)
        finally:
            os.rmdir(dir)

    def test_dis_del_on_close(self):
        # Tests that delete-on-close can be disabled
        dir = tempfile.mkdtemp()
        tmp = None
        try:
            f = tempfile.NamedTemporaryFile(dir=dir, delete=False)
            tmp = f.name
            f.write(b'blat')
            f.close()
            self.assertTrue(os.path.exists(f.name),
                        "NamedTemporaryFile %s missing after close" % f.name)
        finally:
            if tmp is not None:
                os.unlink(tmp)
            os.rmdir(dir)

    def test_multiple_close(self):
        # A NamedTemporaryFile can be closed many times without error
        f = tempfile.NamedTemporaryFile()
        f.write(b'abc\n')
        f.close()
        f.close()
        f.close()

    def test_context_manager(self):
        # A NamedTemporaryFile can be used as a context manager
        with tempfile.NamedTemporaryFile() as f:
            self.assertTrue(os.path.exists(f.name))
        self.assertFalse(os.path.exists(f.name))
        def use_closed():
            with f:
                pass
        self.assertRaises(ValueError, use_closed)

    def test_context_man_not_del_on_close_if_delete_on_close_false(self):
        # Issue gh-58451: tempfile.NamedTemporaryFile is not particularly useful
        # on Windows
        # A NamedTemporaryFile is NOT deleted when closed if
        # delete_on_close=False, but is deleted on context manager exit
        dir = tempfile.mkdtemp()
        try:
            with tempfile.NamedTemporaryFile(dir=dir,
                                             delete=True,
                                             delete_on_close=False) as f:
                f.write(b'blat')
                f_name = f.name
                f.close()
                with self.subTest():
                    # Testing that file is not deleted on close
                    self.assertTrue(os.path.exists(f.name),
                            f"NamedTemporaryFile {f.name!r} is incorrectly "
                            f"deleted on closure when delete_on_close=False")

            with self.subTest():
                # Testing that file is deleted on context manager exit
                self.assertFalse(os.path.exists(f.name),
                                 f"NamedTemporaryFile {f.name!r} exists "
                                 f"after context manager exit")

        finally:
            os.rmdir(dir)

    def test_context_man_ok_to_delete_manually(self):
        # In the case of delete=True, a NamedTemporaryFile can be manually
        # deleted in a with-statement context without causing an error.
        dir = tempfile.mkdtemp()
        try:
            with tempfile.NamedTemporaryFile(dir=dir,
                                             delete=True,
                                             delete_on_close=False) as f:
                f.write(b'blat')
                f.close()
                os.unlink(f.name)

        finally:
            os.rmdir(dir)

    def test_context_man_not_del_if_delete_false(self):
        # A NamedTemporaryFile is not deleted if delete = False
        dir = tempfile.mkdtemp()
        f_name = ""
        try:
            # Test that delete_on_close=True has no effect if delete=False.
            with tempfile.NamedTemporaryFile(dir=dir, delete=False,
                                             delete_on_close=True) as f:
                f.write(b'blat')
                f_name = f.name
            self.assertTrue(os.path.exists(f.name),
                        f"NamedTemporaryFile {f.name!r} exists after close")
        finally:
            os.unlink(f_name)
            os.rmdir(dir)

    def test_del_by_finalizer(self):
        # A NamedTemporaryFile is deleted when finalized in the case of
        # delete=True, delete_on_close=False, and no with-statement is used.
        def my_func(dir):
            f = tempfile.NamedTemporaryFile(dir=dir, delete=True,
                                            delete_on_close=False)
            tmp_name = f.name
            f.write(b'blat')
            # Testing extreme case, where the file is not explicitly closed
            # f.close()
            return tmp_name
        # Make sure that the garbage collector has finalized the file object.
        gc.collect()
        dir = tempfile.mkdtemp()
        try:
            tmp_name = my_func(dir)
            self.assertFalse(os.path.exists(tmp_name),
                        f"NamedTemporaryFile {tmp_name!r} "
                        f"exists after finalizer ")
        finally:
            os.rmdir(dir)

    def test_correct_finalizer_work_if_already_deleted(self):
        # There should be no error in the case of delete=True,
        # delete_on_close=False, no with-statement is used, and the file is
        # deleted manually.
        def my_func(dir)->str:
            f = tempfile.NamedTemporaryFile(dir=dir, delete=True,
                                            delete_on_close=False)
            tmp_name = f.name
            f.write(b'blat')
            f.close()
            os.unlink(tmp_name)
            return tmp_name
        # Make sure that the garbage collector has finalized the file object.
        gc.collect()

    def test_bad_mode(self):
        dir = tempfile.mkdtemp()
        self.addCleanup(os_helper.rmtree, dir)
        with self.assertRaises(ValueError):
            tempfile.NamedTemporaryFile(mode='wr', dir=dir)
        with self.assertRaises(TypeError):
            tempfile.NamedTemporaryFile(mode=2, dir=dir)
        self.assertEqual(os.listdir(dir), [])

    def test_bad_encoding(self):
        dir = tempfile.mkdtemp()
        self.addCleanup(os_helper.rmtree, dir)
        with self.assertRaises(LookupError):
            tempfile.NamedTemporaryFile('w', encoding='bad-encoding', dir=dir)
        self.assertEqual(os.listdir(dir), [])

    def test_unexpected_error(self):
        dir = tempfile.mkdtemp()
        self.addCleanup(os_helper.rmtree, dir)
        with mock.patch('tempfile._TemporaryFileWrapper') as mock_ntf, \
             mock.patch('io.open', mock.mock_open()) as mock_open:
            mock_ntf.side_effect = KeyboardInterrupt()
            with self.assertRaises(KeyboardInterrupt):
                tempfile.NamedTemporaryFile(dir=dir)
        mock_open().close.assert_called()
        self.assertEqual(os.listdir(dir), [])

    # How to test the mode and bufsize parameters?

class TestSpooledTemporaryFile(BaseTestCase):
    """Test SpooledTemporaryFile()."""

    def do_create(self, max_size=0, dir=None, pre="", suf=""):
        if dir is None:
            dir = tempfile.gettempdir()
        file = tempfile.SpooledTemporaryFile(max_size=max_size, dir=dir, prefix=pre, suffix=suf)

        return file


    def test_basic(self):
        # SpooledTemporaryFile can create files
        f = self.do_create()
        self.assertFalse(f._rolled)
        f = self.do_create(max_size=100, pre="a", suf=".txt")
        self.assertFalse(f._rolled)

    def test_is_iobase(self):
        # SpooledTemporaryFile should implement io.IOBase
        self.assertIsInstance(self.do_create(), io.IOBase)

    def test_iobase_interface(self):
        # SpooledTemporaryFile should implement the io.IOBase interface.
        # Ensure it has all the required methods and properties.
        iobase_attrs = {
            # From IOBase
            'fileno', 'seek', 'truncate', 'close', 'closed', '__enter__',
            '__exit__', 'flush', 'isatty', '__iter__', '__next__', 'readable',
            'readline', 'readlines', 'seekable', 'tell', 'writable',
            'writelines',
            # From BufferedIOBase (binary mode) and TextIOBase (text mode)
            'detach', 'read', 'read1', 'write', 'readinto', 'readinto1',
            'encoding', 'errors', 'newlines',
        }
        spooledtempfile_attrs = set(dir(tempfile.SpooledTemporaryFile))
        missing_attrs = iobase_attrs - spooledtempfile_attrs
        self.assertFalse(
            missing_attrs,
            'SpooledTemporaryFile missing attributes from '
            'IOBase/BufferedIOBase/TextIOBase'
        )

    def test_del_on_close(self):
        # A SpooledTemporaryFile is deleted when closed
        dir = tempfile.mkdtemp()
        try:
            f = tempfile.SpooledTemporaryFile(max_size=10, dir=dir)
            self.assertFalse(f._rolled)
            f.write(b'blat ' * 5)
            self.assertTrue(f._rolled)
            filename = f.name
            f.close()
            self.assertEqual(os.listdir(dir), [])
            if not isinstance(filename, int):
                self.assertFalse(os.path.exists(filename),
                    "SpooledTemporaryFile %s exists after close" % filename)
        finally:
            os.rmdir(dir)

    def test_del_unrolled_file(self):
        # The unrolled SpooledTemporaryFile should raise a ResourceWarning
        # when deleted since the file was not explicitly closed.
        f = self.do_create(max_size=10)
        f.write(b'foo')
        self.assertEqual(f.name, None)  # Unrolled so no filename/fd
        with self.assertWarns(ResourceWarning):
            f.__del__()

    @unittest.skipIf(
        support.is_emscripten, "Emscripten cannot fstat renamed files."
    )
    def test_del_rolled_file(self):
        # The rolled file should be deleted when the SpooledTemporaryFile
        # object is deleted. This should raise a ResourceWarning since the file
        # was not explicitly closed.
        f = self.do_create(max_size=2)
        f.write(b'foo')
        name = f.name  # This is a fd on posix+cygwin, a filename everywhere else
        self.assertTrue(os.path.exists(name))
        with self.assertWarns(ResourceWarning):
            f.__del__()
        self.assertFalse(
            os.path.exists(name),
            "Rolled SpooledTemporaryFile (name=%s) exists after delete" % name
        )

    def test_rewrite_small(self):
        # A SpooledTemporaryFile can be written to multiple within the max_size
        f = self.do_create(max_size=30)
        self.assertFalse(f._rolled)
        for i in range(5):
            f.seek(0, 0)
            f.write(b'x' * 20)
        self.assertFalse(f._rolled)

    def test_write_sequential(self):
        # A SpooledTemporaryFile should hold exactly max_size bytes, and roll
        # over afterward
        f = self.do_create(max_size=30)
        self.assertFalse(f._rolled)
        f.write(b'x' * 20)
        self.assertFalse(f._rolled)
        f.write(b'x' * 10)
        self.assertFalse(f._rolled)
        f.write(b'x')
        self.assertTrue(f._rolled)

    def test_writelines(self):
        # Verify writelines with a SpooledTemporaryFile
        f = self.do_create()
        f.writelines((b'x', b'y', b'z'))
        pos = f.seek(0)
        self.assertEqual(pos, 0)
        buf = f.read()
        self.assertEqual(buf, b'xyz')

    def test_writelines_rollover(self):
        # Verify writelines rolls over before exhausting the iterator
        f = self.do_create(max_size=2)

        def it():
            yield b'xy'
            self.assertFalse(f._rolled)
            yield b'z'
            self.assertTrue(f._rolled)

        f.writelines(it())
        pos = f.seek(0)
        self.assertEqual(pos, 0)
        buf = f.read()
        self.assertEqual(buf, b'xyz')

    def test_writelines_fast_path(self):
        f = self.do_create(max_size=2)
        f.write(b'abc')
        self.assertTrue(f._rolled)

        f.writelines([b'd', b'e', b'f'])
        pos = f.seek(0)
        self.assertEqual(pos, 0)
        buf = f.read()
        self.assertEqual(buf, b'abcdef')


    def test_writelines_sequential(self):
        # A SpooledTemporaryFile should hold exactly max_size bytes, and roll
        # over afterward
        f = self.do_create(max_size=35)
        f.writelines((b'x' * 20, b'x' * 10, b'x' * 5))
        self.assertFalse(f._rolled)
        f.write(b'x')
        self.assertTrue(f._rolled)

    def test_sparse(self):
        # A SpooledTemporaryFile that is written late in the file will extend
        # when that occurs
        f = self.do_create(max_size=30)
        self.assertFalse(f._rolled)
        pos = f.seek(100, 0)
        self.assertEqual(pos, 100)
        self.assertFalse(f._rolled)
        f.write(b'x')
        self.assertTrue(f._rolled)

    def test_fileno(self):
        # A SpooledTemporaryFile should roll over to a real file on fileno()
        f = self.do_create(max_size=30)
        self.assertFalse(f._rolled)
        self.assertTrue(f.fileno() > 0)
        self.assertTrue(f._rolled)

    def test_multiple_close_before_rollover(self):
        # A SpooledTemporaryFile can be closed many times without error
        f = tempfile.SpooledTemporaryFile()
        f.write(b'abc\n')
        self.assertFalse(f._rolled)
        f.close()
        f.close()
        f.close()

    def test_multiple_close_after_rollover(self):
        # A SpooledTemporaryFile can be closed many times without error
        f = tempfile.SpooledTemporaryFile(max_size=1)
        f.write(b'abc\n')
        self.assertTrue(f._rolled)
        f.close()
        f.close()
        f.close()

    def test_bound_methods(self):
        # It should be OK to steal a bound method from a SpooledTemporaryFile
        # and use it independently; when the file rolls over, those bound
        # methods should continue to function
        f = self.do_create(max_size=30)
        read = f.read
        write = f.write
        seek = f.seek

        write(b"a" * 35)
        write(b"b" * 35)
        seek(0, 0)
        self.assertEqual(read(70), b'a'*35 + b'b'*35)

    def test_properties(self):
        f = tempfile.SpooledTemporaryFile(max_size=10)
        f.write(b'x' * 10)
        self.assertFalse(f._rolled)
        self.assertEqual(f.mode, 'w+b')
        self.assertIsNone(f.name)
        with self.assertRaises(AttributeError):
            f.newlines
        with self.assertRaises(AttributeError):
            f.encoding
        with self.assertRaises(AttributeError):
            f.errors

        f.write(b'x')
        self.assertTrue(f._rolled)
        self.assertEqual(f.mode, 'rb+')
        self.assertIsNotNone(f.name)
        with self.assertRaises(AttributeError):
            f.newlines
        with self.assertRaises(AttributeError):
            f.encoding
        with self.assertRaises(AttributeError):
            f.errors

    def test_text_mode(self):
        # Creating a SpooledTemporaryFile with a text mode should produce
        # a file object reading and writing (Unicode) text strings.
        f = tempfile.SpooledTemporaryFile(mode='w+', max_size=10,
                                          encoding="utf-8")
        f.write("abc\n")
        f.seek(0)
        self.assertEqual(f.read(), "abc\n")
        f.write("def\n")
        f.seek(0)
        self.assertEqual(f.read(), "abc\ndef\n")
        self.assertFalse(f._rolled)
        self.assertEqual(f.mode, 'w+')
        self.assertIsNone(f.name)
        self.assertEqual(f.newlines, os.linesep)
        self.assertEqual(f.encoding, "utf-8")
        self.assertEqual(f.errors, "strict")

        f.write("xyzzy\n")
        f.seek(0)
        self.assertEqual(f.read(), "abc\ndef\nxyzzy\n")
        # Check that Ctrl+Z doesn't truncate the file
        f.write("foo\x1abar\n")
        f.seek(0)
        self.assertEqual(f.read(), "abc\ndef\nxyzzy\nfoo\x1abar\n")
        self.assertTrue(f._rolled)
        self.assertEqual(f.mode, 'w+')
        self.assertIsNotNone(f.name)
        self.assertEqual(f.newlines, os.linesep)
        self.assertEqual(f.encoding, "utf-8")
        self.assertEqual(f.errors, "strict")

    def test_text_newline_and_encoding(self):
        f = tempfile.SpooledTemporaryFile(mode='w+', max_size=10,
                                          newline='', encoding='utf-8',
                                          errors='ignore')
        f.write("\u039B\r\n")
        f.seek(0)
        self.assertEqual(f.read(), "\u039B\r\n")
        self.assertFalse(f._rolled)
        self.assertEqual(f.mode, 'w+')
        self.assertIsNone(f.name)
        self.assertIsNotNone(f.newlines)
        self.assertEqual(f.encoding, "utf-8")
        self.assertEqual(f.errors, "ignore")

        f.write("\u039C" * 10 + "\r\n")
        f.write("\u039D" * 20)
        f.seek(0)
        self.assertEqual(f.read(),
                "\u039B\r\n" + ("\u039C" * 10) + "\r\n" + ("\u039D" * 20))
        self.assertTrue(f._rolled)
        self.assertEqual(f.mode, 'w+')
        self.assertIsNotNone(f.name)
        self.assertIsNotNone(f.newlines)
        self.assertEqual(f.encoding, 'utf-8')
        self.assertEqual(f.errors, 'ignore')

    def test_context_manager_before_rollover(self):
        # A SpooledTemporaryFile can be used as a context manager
        with tempfile.SpooledTemporaryFile(max_size=1) as f:
            self.assertFalse(f._rolled)
            self.assertFalse(f.closed)
        self.assertTrue(f.closed)
        def use_closed():
            with f:
                pass
        self.assertRaises(ValueError, use_closed)

    def test_context_manager_during_rollover(self):
        # A SpooledTemporaryFile can be used as a context manager
        with tempfile.SpooledTemporaryFile(max_size=1) as f:
            self.assertFalse(f._rolled)
            f.write(b'abc\n')
            f.flush()
            self.assertTrue(f._rolled)
            self.assertFalse(f.closed)
        self.assertTrue(f.closed)
        def use_closed():
            with f:
                pass
        self.assertRaises(ValueError, use_closed)

    def test_context_manager_after_rollover(self):
        # A SpooledTemporaryFile can be used as a context manager
        f = tempfile.SpooledTemporaryFile(max_size=1)
        f.write(b'abc\n')
        f.flush()
        self.assertTrue(f._rolled)
        with f:
            self.assertFalse(f.closed)
        self.assertTrue(f.closed)
        def use_closed():
            with f:
                pass
        self.assertRaises(ValueError, use_closed)

    @unittest.skipIf(
        support.is_emscripten, "Emscripten cannot fstat renamed files."
    )
    def test_truncate_with_size_parameter(self):
        # A SpooledTemporaryFile can be truncated to zero size
        f = tempfile.SpooledTemporaryFile(max_size=10)
        f.write(b'abcdefg\n')
        f.seek(0)
        f.truncate()
        self.assertFalse(f._rolled)
        self.assertEqual(f._file.getvalue(), b'')
        # A SpooledTemporaryFile can be truncated to a specific size
        f = tempfile.SpooledTemporaryFile(max_size=10)
        f.write(b'abcdefg\n')
        f.truncate(4)
        self.assertFalse(f._rolled)
        self.assertEqual(f._file.getvalue(), b'abcd')
        # A SpooledTemporaryFile rolls over if truncated to large size
        f = tempfile.SpooledTemporaryFile(max_size=10)
        f.write(b'abcdefg\n')
        f.truncate(20)
        self.assertTrue(f._rolled)
        self.assertEqual(os.fstat(f.fileno()).st_size, 20)

    def test_class_getitem(self):
        self.assertIsInstance(tempfile.SpooledTemporaryFile[bytes],
                      types.GenericAlias)

if tempfile.NamedTemporaryFile is not tempfile.TemporaryFile:

    class TestTemporaryFile(BaseTestCase):
        """Test TemporaryFile()."""

        def test_basic(self):
            # TemporaryFile can create files
            # No point in testing the name params - the file has no name.
            tempfile.TemporaryFile()

        def test_has_no_name(self):
            # TemporaryFile creates files with no names (on this system)
            dir = tempfile.mkdtemp()
            f = tempfile.TemporaryFile(dir=dir)
            f.write(b'blat')

            # Sneaky: because this file has no name, it should not prevent
            # us from removing the directory it was created in.
            try:
                os.rmdir(dir)
            except:
                # cleanup
                f.close()
                os.rmdir(dir)
                raise

        def test_multiple_close(self):
            # A TemporaryFile can be closed many times without error
            f = tempfile.TemporaryFile()
            f.write(b'abc\n')
            f.close()
            f.close()
            f.close()

        # How to test the mode and bufsize parameters?
        def test_mode_and_encoding(self):

            def roundtrip(input, *args, **kwargs):
                with tempfile.TemporaryFile(*args, **kwargs) as fileobj:
                    fileobj.write(input)
                    fileobj.seek(0)
                    self.assertEqual(input, fileobj.read())

            roundtrip(b"1234", "w+b")
            roundtrip("abdc\n", "w+")
            roundtrip("\u039B", "w+", encoding="utf-16")
            roundtrip("foo\r\n", "w+", newline="")

        def test_bad_mode(self):
            dir = tempfile.mkdtemp()
            self.addCleanup(os_helper.rmtree, dir)
            with self.assertRaises(ValueError):
                tempfile.TemporaryFile(mode='wr', dir=dir)
            with self.assertRaises(TypeError):
                tempfile.TemporaryFile(mode=2, dir=dir)
            self.assertEqual(os.listdir(dir), [])

        def test_bad_encoding(self):
            dir = tempfile.mkdtemp()
            self.addCleanup(os_helper.rmtree, dir)
            with self.assertRaises(LookupError):
                tempfile.TemporaryFile('w', encoding='bad-encoding', dir=dir)
            self.assertEqual(os.listdir(dir), [])

        def test_unexpected_error(self):
            dir = tempfile.mkdtemp()
            self.addCleanup(os_helper.rmtree, dir)
            with mock.patch('tempfile._O_TMPFILE_WORKS', False), \
                 mock.patch('os.unlink') as mock_unlink, \
                 mock.patch('os.open') as mock_open, \
                 mock.patch('os.close') as mock_close:
                mock_unlink.side_effect = KeyboardInterrupt()
                with self.assertRaises(KeyboardInterrupt):
                    tempfile.TemporaryFile(dir=dir)
            mock_close.assert_called()
            self.assertEqual(os.listdir(dir), [])


# Helper for test_del_on_shutdown
class NulledModules:
    def __init__(self, *modules):
        self.refs = [mod.__dict__ for mod in modules]
        self.contents = [ref.copy() for ref in self.refs]

    def __enter__(self):
        for d in self.refs:
            for key in d:
                d[key] = None

    def __exit__(self, *exc_info):
        for d, c in zip(self.refs, self.contents):
            d.clear()
            d.update(c)


class TestTemporaryDirectory(BaseTestCase):
    """Test TemporaryDirectory()."""

    def do_create(self, dir=None, pre="", suf="", recurse=1, dirs=1, files=1,
                  ignore_cleanup_errors=False):
        if dir is None:
            dir = tempfile.gettempdir()
        tmp = tempfile.TemporaryDirectory(
            dir=dir, prefix=pre, suffix=suf,
            ignore_cleanup_errors=ignore_cleanup_errors)
        self.nameCheck(tmp.name, dir, pre, suf)
        self.do_create2(tmp.name, recurse, dirs, files)
        return tmp

    def do_create2(self, path, recurse=1, dirs=1, files=1):
        # Create subdirectories and some files
        if recurse:
            for i in range(dirs):
                name = os.path.join(path, "dir%d" % i)
                os.mkdir(name)
                self.do_create2(name, recurse-1, dirs, files)
        for i in range(files):
            with open(os.path.join(path, "test%d.txt" % i), "wb") as f:
                f.write(b"Hello world!")

    def test_mkdtemp_failure(self):
        # Check no additional exception if mkdtemp fails
        # Previously would raise AttributeError instead
        # (noted as part of Issue #10188)
        with tempfile.TemporaryDirectory() as nonexistent:
            pass
        with self.assertRaises(FileNotFoundError) as cm:
            tempfile.TemporaryDirectory(dir=nonexistent)
        self.assertEqual(cm.exception.errno, errno.ENOENT)

    def test_explicit_cleanup(self):
        # A TemporaryDirectory is deleted when cleaned up
        dir = tempfile.mkdtemp()
        try:
            d = self.do_create(dir=dir)
            self.assertTrue(os.path.exists(d.name),
                            "TemporaryDirectory %s does not exist" % d.name)
            d.cleanup()
            self.assertFalse(os.path.exists(d.name),
                        "TemporaryDirectory %s exists after cleanup" % d.name)
        finally:
            os.rmdir(dir)

    def test_explicit_cleanup_ignore_errors(self):
        """Test that cleanup doesn't return an error when ignoring them."""
        with tempfile.TemporaryDirectory() as working_dir:
            temp_dir = self.do_create(
                dir=working_dir, ignore_cleanup_errors=True)
            temp_path = pathlib.Path(temp_dir.name)
            self.assertTrue(temp_path.exists(),
                            f"TemporaryDirectory {temp_path!s} does not exist")
            with open(temp_path / "a_file.txt", "w+t") as open_file:
                open_file.write("Hello world!\n")
                temp_dir.cleanup()
            self.assertEqual(len(list(temp_path.glob("*"))),
                             int(sys.platform.startswith("win")),
                             "Unexpected number of files in "
                             f"TemporaryDirectory {temp_path!s}")
            self.assertEqual(
                temp_path.exists(),
                sys.platform.startswith("win"),
                f"TemporaryDirectory {temp_path!s} existence state unexpected")
            temp_dir.cleanup()
            self.assertFalse(
                temp_path.exists(),
                f"TemporaryDirectory {temp_path!s} exists after cleanup")

    @unittest.skipUnless(os.name == "nt", "Only on Windows.")
    def test_explicit_cleanup_correct_error(self):
        with tempfile.TemporaryDirectory() as working_dir:
            temp_dir = self.do_create(dir=working_dir)
            with open(os.path.join(temp_dir.name, "example.txt"), 'wb'):
                # Previously raised NotADirectoryError on some OSes
                # (e.g. Windows). See bpo-43153.
                with self.assertRaises(PermissionError):
                    temp_dir.cleanup()

    @unittest.skipUnless(os.name == "nt", "Only on Windows.")
    def test_cleanup_with_used_directory(self):
        with tempfile.TemporaryDirectory() as working_dir:
            temp_dir = self.do_create(dir=working_dir)
            subdir = os.path.join(temp_dir.name, "subdir")
            os.mkdir(subdir)
            with os_helper.change_cwd(subdir):
                # Previously raised RecursionError on some OSes
                # (e.g. Windows). See bpo-35144.
                with self.assertRaises(PermissionError):
                    temp_dir.cleanup()

    @os_helper.skip_unless_symlink
    def test_cleanup_with_symlink_to_a_directory(self):
        # cleanup() should not follow symlinks to directories (issue #12464)
        d1 = self.do_create()
        d2 = self.do_create(recurse=0)

        # Symlink d1/foo -> d2
        os.symlink(d2.name, os.path.join(d1.name, "foo"))

        # This call to cleanup() should not follow the "foo" symlink
        d1.cleanup()

        self.assertFalse(os.path.exists(d1.name),
                         "TemporaryDirectory %s exists after cleanup" % d1.name)
        self.assertTrue(os.path.exists(d2.name),
                        "Directory pointed to by a symlink was deleted")
        self.assertEqual(os.listdir(d2.name), ['test0.txt'],
                         "Contents of the directory pointed to by a symlink "
                         "were deleted")
        d2.cleanup()

    @os_helper.skip_unless_symlink
    def test_cleanup_with_symlink_modes(self):
        # cleanup() should not follow symlinks when fixing mode bits (#91133)
        with self.do_create(recurse=0) as d2:
            file1 = os.path.join(d2, 'file1')
            open(file1, 'wb').close()
            dir1 = os.path.join(d2, 'dir1')
            os.mkdir(dir1)
            for mode in range(8):
                mode <<= 6
                with self.subTest(mode=format(mode, '03o')):
                    def test(target, target_is_directory):
                        d1 = self.do_create(recurse=0)
                        symlink = os.path.join(d1.name, 'symlink')
                        os.symlink(target, symlink,
                                target_is_directory=target_is_directory)
                        try:
                            os.chmod(symlink, mode, follow_symlinks=False)
                        except NotImplementedError:
                            pass
                        try:
                            os.chmod(symlink, mode)
                        except FileNotFoundError:
                            pass
                        os.chmod(d1.name, mode)
                        d1.cleanup()
                        self.assertFalse(os.path.exists(d1.name))

                    with self.subTest('nonexisting file'):
                        test('nonexisting', target_is_directory=False)
                    with self.subTest('nonexisting dir'):
                        test('nonexisting', target_is_directory=True)

                    with self.subTest('existing file'):
                        os.chmod(file1, mode)
                        old_mode = os.stat(file1).st_mode
                        test(file1, target_is_directory=False)
                        new_mode = os.stat(file1).st_mode
                        self.assertEqual(new_mode, old_mode,
                                         '%03o != %03o' % (new_mode, old_mode))

                    with self.subTest('existing dir'):
                        os.chmod(dir1, mode)
                        old_mode = os.stat(dir1).st_mode
                        test(dir1, target_is_directory=True)
                        new_mode = os.stat(dir1).st_mode
                        self.assertEqual(new_mode, old_mode,
                                         '%03o != %03o' % (new_mode, old_mode))

    @unittest.skipUnless(hasattr(os, 'chflags'), 'requires os.chflags')
    @os_helper.skip_unless_symlink
    def test_cleanup_with_symlink_flags(self):
        # cleanup() should not follow symlinks when fixing flags (#91133)
        flags = stat.UF_IMMUTABLE | stat.UF_NOUNLINK
        self.check_flags(flags)

        with self.do_create(recurse=0) as d2:
            file1 = os.path.join(d2, 'file1')
            open(file1, 'wb').close()
            dir1 = os.path.join(d2, 'dir1')
            os.mkdir(dir1)
            def test(target, target_is_directory):
                d1 = self.do_create(recurse=0)
                symlink = os.path.join(d1.name, 'symlink')
                os.symlink(target, symlink,
                           target_is_directory=target_is_directory)
                try:
                    os.chflags(symlink, flags, follow_symlinks=False)
                except NotImplementedError:
                    pass
                try:
                    os.chflags(symlink, flags)
                except FileNotFoundError:
                    pass
                os.chflags(d1.name, flags)
                d1.cleanup()
                self.assertFalse(os.path.exists(d1.name))

            with self.subTest('nonexisting file'):
                test('nonexisting', target_is_directory=False)
            with self.subTest('nonexisting dir'):
                test('nonexisting', target_is_directory=True)

            with self.subTest('existing file'):
                os.chflags(file1, flags)
                old_flags = os.stat(file1).st_flags
                test(file1, target_is_directory=False)
                new_flags = os.stat(file1).st_flags
                self.assertEqual(new_flags, old_flags)

            with self.subTest('existing dir'):
                os.chflags(dir1, flags)
                old_flags = os.stat(dir1).st_flags
                test(dir1, target_is_directory=True)
                new_flags = os.stat(dir1).st_flags
                self.assertEqual(new_flags, old_flags)

    @support.cpython_only
    def test_del_on_collection(self):
        # A TemporaryDirectory is deleted when garbage collected
        dir = tempfile.mkdtemp()
        try:
            d = self.do_create(dir=dir)
            name = d.name
            del d # Rely on refcounting to invoke __del__
            self.assertFalse(os.path.exists(name),
                        "TemporaryDirectory %s exists after __del__" % name)
        finally:
            os.rmdir(dir)

    @support.cpython_only
    def test_del_on_collection_ignore_errors(self):
        """Test that ignoring errors works when TemporaryDirectory is gced."""
        with tempfile.TemporaryDirectory() as working_dir:
            temp_dir = self.do_create(
                dir=working_dir, ignore_cleanup_errors=True)
            temp_path = pathlib.Path(temp_dir.name)
            self.assertTrue(temp_path.exists(),
                            f"TemporaryDirectory {temp_path!s} does not exist")
            with open(temp_path / "a_file.txt", "w+t") as open_file:
                open_file.write("Hello world!\n")
                del temp_dir
            self.assertEqual(len(list(temp_path.glob("*"))),
                             int(sys.platform.startswith("win")),
                             "Unexpected number of files in "
                             f"TemporaryDirectory {temp_path!s}")
            self.assertEqual(
                temp_path.exists(),
                sys.platform.startswith("win"),
                f"TemporaryDirectory {temp_path!s} existence state unexpected")

    def test_del_on_shutdown(self):
        # A TemporaryDirectory may be cleaned up during shutdown
        with self.do_create() as dir:
            for mod in ('builtins', 'os', 'shutil', 'sys', 'tempfile', 'warnings'):
                code = """if True:
                    import builtins
                    import os
                    import shutil
                    import sys
                    import tempfile
                    import warnings

                    tmp = tempfile.TemporaryDirectory(dir={dir!r})
                    sys.stdout.buffer.write(tmp.name.encode())

                    tmp2 = os.path.join(tmp.name, 'test_dir')
                    os.mkdir(tmp2)
                    with open(os.path.join(tmp2, "test0.txt"), "w") as f:
                        f.write("Hello world!")

                    {mod}.tmp = tmp

                    warnings.filterwarnings("always", category=ResourceWarning)
                    """.format(dir=dir, mod=mod)
                rc, out, err = script_helper.assert_python_ok("-c", code)
                tmp_name = out.decode().strip()
                self.assertFalse(os.path.exists(tmp_name),
                            "TemporaryDirectory %s exists after cleanup" % tmp_name)
                err = err.decode('utf-8', 'backslashreplace')
                self.assertNotIn("Exception ", err)
                self.assertIn("ResourceWarning: Implicitly cleaning up", err)

    def test_del_on_shutdown_ignore_errors(self):
        """Test ignoring errors works when a tempdir is gc'ed on shutdown."""
        with tempfile.TemporaryDirectory() as working_dir:
            code = """if True:
                import pathlib
                import sys
                import tempfile
                import warnings

                temp_dir = tempfile.TemporaryDirectory(
                    dir={working_dir!r}, ignore_cleanup_errors=True)
                sys.stdout.buffer.write(temp_dir.name.encode())

                temp_dir_2 = pathlib.Path(temp_dir.name) / "test_dir"
                temp_dir_2.mkdir()
                with open(temp_dir_2 / "test0.txt", "w") as test_file:
                    test_file.write("Hello world!")
                open_file = open(temp_dir_2 / "open_file.txt", "w")
                open_file.write("Hello world!")

                warnings.filterwarnings("always", category=ResourceWarning)
                """.format(working_dir=working_dir)
            __, out, err = script_helper.assert_python_ok("-c", code)
            temp_path = pathlib.Path(out.decode().strip())
            self.assertEqual(len(list(temp_path.glob("*"))),
                             int(sys.platform.startswith("win")),
                             "Unexpected number of files in "
                             f"TemporaryDirectory {temp_path!s}")
            self.assertEqual(
                temp_path.exists(),
                sys.platform.startswith("win"),
                f"TemporaryDirectory {temp_path!s} existence state unexpected")
            err = err.decode('utf-8', 'backslashreplace')
            self.assertNotIn("Exception", err)
            self.assertNotIn("Error", err)
            self.assertIn("ResourceWarning: Implicitly cleaning up", err)

    def test_exit_on_shutdown(self):
        # Issue #22427
        with self.do_create() as dir:
            code = """if True:
                import sys
                import tempfile
                import warnings

                def generator():
                    with tempfile.TemporaryDirectory(dir={dir!r}) as tmp:
                        yield tmp
                g = generator()
                sys.stdout.buffer.write(next(g).encode())

                warnings.filterwarnings("always", category=ResourceWarning)
                """.format(dir=dir)
            rc, out, err = script_helper.assert_python_ok("-c", code)
            tmp_name = out.decode().strip()
            self.assertFalse(os.path.exists(tmp_name),
                        "TemporaryDirectory %s exists after cleanup" % tmp_name)
            err = err.decode('utf-8', 'backslashreplace')
            self.assertNotIn("Exception ", err)
            self.assertIn("ResourceWarning: Implicitly cleaning up", err)

    def test_warnings_on_cleanup(self):
        # ResourceWarning will be triggered by __del__
        with self.do_create() as dir:
            d = self.do_create(dir=dir, recurse=3)
            name = d.name

            # Check for the resource warning
            with warnings_helper.check_warnings(('Implicitly',
                                                 ResourceWarning),
                                                quiet=False):
                warnings.filterwarnings("always", category=ResourceWarning)
                del d
                support.gc_collect()
            self.assertFalse(os.path.exists(name),
                        "TemporaryDirectory %s exists after __del__" % name)

    def test_multiple_close(self):
        # Can be cleaned-up many times without error
        d = self.do_create()
        d.cleanup()
        d.cleanup()
        d.cleanup()

    def test_context_manager(self):
        # Can be used as a context manager
        d = self.do_create()
        with d as name:
            self.assertTrue(os.path.exists(name))
            self.assertEqual(name, d.name)
        self.assertFalse(os.path.exists(name))

    def test_modes(self):
        for mode in range(8):
            mode <<= 6
            with self.subTest(mode=format(mode, '03o')):
                d = self.do_create(recurse=3, dirs=2, files=2)
                with d:
                    # Change files and directories mode recursively.
                    for root, dirs, files in os.walk(d.name, topdown=False):
                        for name in files:
                            os.chmod(os.path.join(root, name), mode)
                        os.chmod(root, mode)
                    d.cleanup()
                self.assertFalse(os.path.exists(d.name))

    def check_flags(self, flags):
        # skip the test if these flags are not supported (ex: FreeBSD 13)
        filename = os_helper.TESTFN
        try:
            open(filename, "w").close()
            try:
                os.chflags(filename, flags)
            except OSError as exc:
                # "OSError: [Errno 45] Operation not supported"
                self.skipTest(f"chflags() doesn't support flags "
                              f"{flags:#b}: {exc}")
            else:
                os.chflags(filename, 0)
        finally:
            os_helper.unlink(filename)

    @unittest.skipUnless(hasattr(os, 'chflags'), 'requires os.chflags')
    def test_flags(self):
        flags = stat.UF_IMMUTABLE | stat.UF_NOUNLINK
        self.check_flags(flags)

        d = self.do_create(recurse=3, dirs=2, files=2)
        with d:
            # Change files and directories flags recursively.
            for root, dirs, files in os.walk(d.name, topdown=False):
                for name in files:
                    os.chflags(os.path.join(root, name), flags)
                os.chflags(root, flags)
            d.cleanup()
        self.assertFalse(os.path.exists(d.name))

    def test_delete_false(self):
        with tempfile.TemporaryDirectory(delete=False) as working_dir:
            pass
        self.assertTrue(os.path.exists(working_dir))
        shutil.rmtree(working_dir)

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


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


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
21 Aug 2026 4.01 AM
root / linksafe
0755
__pycache__
--
21 Aug 2026 4.01 AM
root / linksafe
0755
audiodata
--
21 Aug 2026 4.01 AM
root / linksafe
0755
certdata
--
21 Aug 2026 4.01 AM
root / linksafe
0755
cjkencodings
--
21 Aug 2026 4.01 AM
root / linksafe
0755
configdata
--
21 Aug 2026 4.01 AM
root / linksafe
0755
crashers
--
21 Aug 2026 4.01 AM
root / linksafe
0755
data
--
21 Aug 2026 4.01 AM
root / linksafe
0755
decimaltestdata
--
21 Aug 2026 4.01 AM
root / linksafe
0755
dtracedata
--
21 Aug 2026 4.01 AM
root / linksafe
0755
encoded_modules
--
21 Aug 2026 4.01 AM
root / linksafe
0755
imghdrdata
--
21 Aug 2026 4.01 AM
root / linksafe
0755
leakers
--
21 Aug 2026 4.01 AM
root / linksafe
0755
libregrtest
--
21 Aug 2026 4.01 AM
root / linksafe
0755
regrtestdata
--
17 Aug 2026 3.13 PM
root / linksafe
0755
sndhdrdata
--
21 Aug 2026 4.01 AM
root / linksafe
0755
subprocessdata
--
21 Aug 2026 4.01 AM
root / linksafe
0755
support
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_ast
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_asyncio
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_capi
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_cext
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_concurrent_futures
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_cppext
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_ctypes
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_dataclasses
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_doctest
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_email
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_future_stmt
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_gdb
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_import
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_importlib
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_inspect
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_json
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_lib2to3
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_module
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_multiprocessing_fork
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_multiprocessing_forkserver
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_multiprocessing_spawn
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_peg_generator
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_pydoc
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_sqlite3
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_tkinter
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_tomllib
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_tools
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_ttk
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_unittest
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_warnings
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_zipfile
--
21 Aug 2026 4.01 AM
root / linksafe
0755
test_zoneinfo
--
21 Aug 2026 4.01 AM
root / linksafe
0755
tokenizedata
--
21 Aug 2026 4.01 AM
root / linksafe
0755
tracedmodules
--
21 Aug 2026 4.01 AM
root / linksafe
0755
translationdata
--
17 Aug 2026 3.13 PM
root / linksafe
0755
typinganndata
--
21 Aug 2026 4.01 AM
root / linksafe
0755
wheeldata
--
21 Aug 2026 4.01 AM
root / linksafe
0755
xmltestdata
--
21 Aug 2026 4.01 AM
root / linksafe
0755
ziptestdata
--
21 Aug 2026 4.01 AM
root / linksafe
0755
Sine-1000Hz-300ms.aif
60.25 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
__init__.py
0.046 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
__main__.py
0.065 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
_test_atexit.py
3.614 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
_test_eintr.py
17.72 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
_test_embed_set_config.py
8.64 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
_test_embed_structseq.py
1.988 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
_test_multiprocessing.py
216.264 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
_test_venv_multiprocessing.py
0.777 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
archiver_tests.py
6.104 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
audiotest.au
27.484 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
audiotests.py
12.134 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
audit-tests.py
13.758 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
autotest.py
0.209 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
bisect_cmd.py
5.355 KB
17 Aug 2026 3.08 PM
root / linksafe
0755
clinic.test.c
139.104 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
cmath_testcases.txt
141.197 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
curses_tests.py
1.227 KB
17 Aug 2026 3.08 PM
root / linksafe
0755
datetimetester.py
265.734 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
dis_module.py
0.074 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
empty.vbs
0.068 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
exception_hierarchy.txt
2.331 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
floating_points.txt
15.92 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
fork_wait.py
2.294 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
formatfloat_testcases.txt
7.451 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
ieee754.txt
3.15 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
levenshtein_examples.json
406.437 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
list_tests.py
16.899 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
lock_tests.py
35.642 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
mailcap.txt
1.24 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
mapping_tests.py
21.869 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
math_testcases.txt
23.186 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
memory_watchdog.py
0.694 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
mime.types
47.372 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
mock_socket.py
3.687 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
mp_fork_bomb.py
0.438 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
mp_preload.py
0.343 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
multibytecodec_support.py
14.187 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
pickletester.py
172.369 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
profilee.py
2.97 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
pstats.pck
65.046 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
pyclbr_input.py
1.63 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
pythoninfo.py
28.477 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
randv2_32.pck
7.341 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
randv2_64.pck
7.192 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
randv3.pck
7.816 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
re_tests.py
25.943 KB
17 Aug 2026 3.08 PM
root / linksafe
0755
recursion.tar
0.504 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
regrtest.py
1.282 KB
17 Aug 2026 3.08 PM
root / linksafe
0755
relimport.py
0.026 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
reperf.py
0.525 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
seq_tests.py
14.958 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
signalinterproctester.py
3.122 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
ssl_servers.py
7.12 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
ssltests.py
1.026 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
string_tests.py
71.244 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test___all__.py
5.042 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test__locale.py
12.521 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test__opcode.py
4.141 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test__osx_support.py
13.534 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test__xxinterpchannels.py
52.186 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test__xxsubinterpreters.py
27.497 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_abc.py
23.814 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_abstract_numbers.py
5.813 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_aifc.py
17.838 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_argparse.py
218.49 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_array.py
55.438 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_asdl_parser.py
4.442 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_asyncgen.py
53.944 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_atexit.py
3.2 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_audioop.py
28.317 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_audit.py
9.217 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_augassign.py
7.684 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_base64.py
35.055 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_baseexception.py
7.773 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_bdb.py
44.168 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_bigaddrspace.py
2.83 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_bigmem.py
45.008 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_binascii.py
20.095 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_binop.py
14.14 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_bisect.py
16.625 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_bool.py
14.247 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_buffer.py
171.878 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_bufio.py
2.558 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_builtin.py
96.658 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_bytes.py
82.015 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_bz2.py
43.288 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_c_locale_coercion.py
20.992 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_calendar.py
51.782 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_call.py
35.212 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_cgi.py
22.271 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_cgitb.py
2.62 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_charmapcodec.py
1.771 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_class.py
22.016 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_clinic.py
85.406 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_cmath.py
22.47 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_cmd.py
6.491 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_cmd_line.py
39.512 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_cmd_line_script.py
34.928 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_code.py
25.695 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_code_module.py
12.728 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codeccallbacks.py
49.229 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codecencodings_cn.py
3.857 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codecencodings_hk.py
0.685 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codecencodings_iso2022.py
3.654 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codecencodings_jp.py
4.792 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codecencodings_kr.py
2.957 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codecencodings_tw.py
0.665 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codecmaps_cn.py
0.729 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codecmaps_hk.py
0.377 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codecmaps_jp.py
1.703 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codecmaps_kr.py
1.16 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codecmaps_tw.py
0.688 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codecs.py
137.42 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_codeop.py
8.676 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_collections.py
93.466 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_colorsys.py
4.268 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_compare.py
17.459 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_compile.py
81.241 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_compileall.py
48.528 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_compiler_assemble.py
2.458 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_compiler_codegen.py
1.725 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_complex.py
35.211 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_configparser.py
86.702 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_contains.py
3.352 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_context.py
31.099 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_contextlib.py
43.077 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_contextlib_async.py
23.988 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_copy.py
26.522 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_copyreg.py
4.363 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_coroutines.py
67.469 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_cprofile.py
9.442 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_crashers.py
1.169 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_crypt.py
4.191 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_csv.py
63.761 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_curses.py
50.14 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_datetime.py
2.671 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_dbm.py
6.828 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_dbm_dumb.py
11.076 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_dbm_gnu.py
7.643 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_dbm_ndbm.py
5.907 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_decimal.py
217.939 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_decorators.py
14.626 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_defaultdict.py
6.102 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_deque.py
33.163 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_descr.py
196.202 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_descrtut.py
10.982 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_devpoll.py
4.442 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_dict.py
51.329 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_dict_version.py
6.096 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_dictcomps.py
6.548 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_dictviews.py
14.821 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_difflib.py
21.475 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_difflib_expect.html
100.904 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
test_dis.py
83.447 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_docxmlrpc.py
9.099 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_dtrace.py
7.979 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_dynamic.py
5.995 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_dynamicclassattribute.py
9.565 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_eintr.py
0.612 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_embed.py
69.878 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_ensurepip.py
11.494 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_enum.py
188.151 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_enumerate.py
9.137 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_eof.py
7.94 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_epoll.py
9.404 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_errno.py
1.044 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_except_star.py
39.702 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_exception_group.py
34.026 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_exception_hierarchy.py
7.54 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_exception_variations.py
13.738 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_exceptions.py
83.625 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_extcall.py
14.689 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_faulthandler.py
30.311 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_fcntl.py
7.762 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_file.py
11.782 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_file_eintr.py
10.735 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_filecmp.py
11.979 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_fileinput.py
37.858 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_fileio.py
19.976 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_fileutils.py
0.929 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_finalization.py
14.657 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_float.py
64.649 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_flufl.py
2.807 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_fnmatch.py
10.683 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_fork1.py
3.305 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_format.py
28.442 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_fractions.py
65.65 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_frame.py
14.044 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_frozen.py
2.198 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_fstring.py
64.739 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_ftplib.py
43.549 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_funcattrs.py
15.711 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_functools.py
114.021 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_gc.py
47.711 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_generator_stop.py
0.921 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_generators.py
66.484 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_genericalias.py
17.775 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_genericclass.py
9.439 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_genericpath.py
23.254 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_genexps.py
7.305 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_getopt.py
6.938 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_getpass.py
6.37 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_getpath.py
44.361 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_gettext.py
41.958 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_glob.py
18.21 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_global.py
1.196 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_grammar.py
66.311 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_graphlib.py
8.313 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_grp.py
3.67 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_gzip.py
41.479 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_hash.py
12.113 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_hashlib.py
46.708 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_heapq.py
16.422 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_hmac.py
26.063 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_html.py
4.234 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_htmlparser.py
46.474 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_http_cookiejar.py
81.548 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_http_cookies.py
25.245 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_httplib.py
102.987 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_httpservers.py
57.947 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_idle.py
0.812 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_imaplib.py
42.111 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_imghdr.py
4.813 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_index.py
8.371 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_int.py
33.975 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_int_literal.py
6.888 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_interpreters.py
32.11 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_io.py
183.891 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_ioctl.py
3.24 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_ipaddress.py
126.692 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_isinstance.py
12.949 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_iter.py
38.229 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_iterlen.py
7.096 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_itertools.py
113.531 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_keyword.py
2.002 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_keywordonlyarg.py
6.893 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_kqueue.py
9.364 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_largefile.py
11.054 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_launcher.py
28.752 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_linecache.py
12.56 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_list.py
9.599 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_listcomps.py
24.017 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_lltrace.py
3.706 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_locale.py
24.691 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_logging.py
251.698 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_long.py
63.403 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_longexp.py
0.228 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_lzma.py
93.004 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_mailbox.py
93.909 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_mailcap.py
11.476 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_marshal.py
23.148 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_math.py
108.303 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_math_property.py
1.153 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_memoryio.py
32.651 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_memoryview.py
22.229 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_metaclass.py
6.193 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_mimetypes.py
15.741 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_minidom.py
69.564 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_mmap.py
38.563 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_modulefinder.py
12.21 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_monitoring.py
55.757 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_msilib.py
5.516 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_multibytecodec.py
15.793 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_multiprocessing_main_handling.py
11.482 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_named_expressions.py
29.622 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_netrc.py
11.857 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_nis.py
1.255 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_nntplib.py
62.697 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_ntpath.py
64.113 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_numeric_tower.py
7.996 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_opcache.py
10.893 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_opcodes.py
3.62 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_openpty.py
0.586 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_operator.py
26.716 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_optparse.py
61.393 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_ordered_dict.py
39.957 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_os.py
181.055 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_ossaudiodev.py
7.271 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_osx_env.py
1.307 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pathlib.py
138.013 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_patma.py
86.602 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pdb.py
92.917 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_peepholer.py
40.604 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pep646_syntax.py
7.795 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_perf_profiler.py
11.411 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_perfmaps.py
0.669 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pickle.py
21.243 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_picklebuffer.py
4.989 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pickletools.py
16.78 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pipes.py
6.787 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pkg.py
9.594 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pkgutil.py
26.221 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_platform.py
21.531 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_plistlib.py
42.615 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_poll.py
7.394 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_popen.py
2.363 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_poplib.py
18.016 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_positional_only_arg.py
18.444 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_posix.py
96.253 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_posixpath.py
44.923 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pow.py
6.385 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pprint.py
50.586 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_print.py
8.053 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_profile.py
8.692 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_property.py
19.325 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pstats.py
4.312 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pty.py
16.18 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pulldom.py
12.332 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pwd.py
4.324 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_py_compile.py
11.933 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pyclbr.py
10.246 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_pyexpat.py
42.823 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_queue.py
20.614 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_quopri.py
7.868 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_raise.py
13.442 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_random.py
57.006 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_range.py
26.53 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_re.py
144.786 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_readline.py
15.721 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_regrtest.py
92.506 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_repl.py
6.344 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_reprlib.py
29.071 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_resource.py
7.115 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_richcmp.py
11.945 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_rlcompleter.py
7.398 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_robotparser.py
11.017 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_runpy.py
33.989 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_sax.py
54.633 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_sched.py
7.378 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_scope.py
21.941 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_script_helper.py
5.82 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_secrets.py
4.278 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_select.py
3.422 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_selectors.py
19.638 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_set.py
71.309 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_setcomps.py
5.244 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_shelve.py
6.419 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_shlex.py
13.392 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_shutil.py
140.348 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_signal.py
52.581 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_site.py
29.771 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_slice.py
9.46 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_smtplib.py
60.02 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_smtpnet.py
3.027 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_sndhdr.py
1.506 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_socket.py
261.133 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_socketserver.py
17.395 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_sort.py
13.591 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_source_encoding.py
12.653 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_spwd.py
2.835 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_ssl.py
216.517 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_stable_abi_ctypes.py
24.748 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_startfile.py
1.695 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_stat.py
8.922 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_statistics.py
120.024 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_strftime.py
7.404 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_string.py
21.858 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_string_literals.py
14.101 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_stringprep.py
3.04 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_strptime.py
41.948 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_strtod.py
20.056 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_struct.py
39.18 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_structseq.py
7.722 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_subclassinit.py
8.043 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_subprocess.py
161.374 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_sunau.py
6.093 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_sundry.py
1.022 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_super.py
14.787 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_support.py
27.052 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_symtable.py
17.559 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_syntax.py
73.954 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_sys.py
67.373 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_sys_setprofile.py
14.534 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_sys_settrace.py
84.558 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_sysconfig.py
26.078 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_syslog.py
4.704 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_tabnanny.py
13.899 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_tarfile.py
190.533 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_tcl.py
30.301 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_telnetlib.py
12.848 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_tempfile.py
75.505 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_termios.py
10.96 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_textwrap.py
41.886 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_thread.py
8.866 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_threadedtempfile.py
1.929 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_threading.py
74.212 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_threading_local.py
7.011 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_threadsignals.py
9.871 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_time.py
44.651 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_timeit.py
15.195 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_timeout.py
10.74 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_tix.py
1.049 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_tokenize.py
118.005 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_trace.py
21.521 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_traceback.py
144.404 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_tracemalloc.py
40.971 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_ttk_textonly.py
16.693 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_tty.py
3.63 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_tuple.py
19.801 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_turtle.py
14.038 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_type_aliases.py
12.743 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_type_annotations.py
6.233 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_type_cache.py
6.596 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_type_comments.py
10.501 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_type_params.py
38.866 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_typechecks.py
2.554 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_types.py
82.379 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_typing.py
343.332 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_ucn.py
9.712 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_unary.py
1.524 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_unicode.py
125.435 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_unicode_file.py
5.719 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_unicode_file_functions.py
6.908 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_unicode_identifiers.py
0.974 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_unicodedata.py
18.564 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_univnewlines.py
3.854 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_unpack.py
3.507 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_unpack_ex.py
9.977 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_unparse.py
27.962 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_urllib.py
73.042 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_urllib2.py
80.817 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_urllib2_localnet.py
25.64 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_urllib2net.py
13.958 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_urllib_response.py
2.04 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_urllibnet.py
9.407 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_urlparse.py
81.411 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_userdict.py
7.563 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_userlist.py
1.969 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_userstring.py
2.519 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_utf8_mode.py
10.312 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_utf8source.py
1.081 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_uu.py
9.195 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_uuid.py
44.279 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_venv.py
37.424 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_wait3.py
1.739 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_wait4.py
1.14 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_wave.py
7.641 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_weakref.py
74.318 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_weakset.py
16.304 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_webbrowser.py
13.363 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_winapi.py
2.627 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_winconsoleio.py
7.6 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_winreg.py
22.479 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_winsound.py
5.172 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_with.py
27.778 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_wmi.py
3.311 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_wsgiref.py
31.005 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_xdrlib.py
2.253 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_xml_dom_minicompat.py
4.182 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_xml_dom_xmlbuilder.py
3.098 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_xml_etree.py
170.074 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_xml_etree_c.py
9.337 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_xmlrpc.py
58.079 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_xmlrpc_net.py
0.932 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_xxlimited.py
2.462 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_xxtestfuzz.py
0.674 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_yield_from.py
50.227 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_zipapp.py
16.702 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_zipfile64.py
5.784 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_zipimport.py
31.879 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_zipimport_support.py
10.567 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
test_zlib.py
41.657 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
testcodec.py
1.021 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
testtar.tar
425 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
testtar.tar.xz
0.168 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
tf_inherit_check.py
0.697 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
time_hashlib.py
2.874 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
win_console_handler.py
1.383 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
xmltests.py
0.487 KB
17 Aug 2026 3.08 PM
root / linksafe
0644
zip_cp437_header.zip
0.264 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
zipdir.zip
0.365 KB
12 Aug 2026 1.57 PM
root / linksafe
0644
zipdir_backslash.zip
0.188 KB
12 Aug 2026 1.57 PM
root / linksafe
0644

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