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

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python310/lib64/python3.10/test//test_urllib.py
"""Regression tests for what was in Python 2's "urllib" module"""

import urllib.parse
import urllib.request
import urllib.error
import http.client
import email.message
import io
import unittest
from unittest.mock import patch
from test import support
from test.support import os_helper
from test.support import warnings_helper
from test.support import control_characters_c0
import os
try:
    import ssl
except ImportError:
    ssl = None
import sys
import tempfile
from nturl2path import url2pathname, pathname2url

from base64 import b64encode
import collections


def hexescape(char):
    """Escape char as RFC 2396 specifies"""
    hex_repr = hex(ord(char))[2:].upper()
    if len(hex_repr) == 1:
        hex_repr = "0%s" % hex_repr
    return "%" + hex_repr

# Shortcut for testing FancyURLopener
_urlopener = None


def urlopen(url, data=None, proxies=None):
    """urlopen(url [, data]) -> open file-like object"""
    global _urlopener
    if proxies is not None:
        opener = urllib.request.FancyURLopener(proxies=proxies)
    elif not _urlopener:
        opener = FancyURLopener()
        _urlopener = opener
    else:
        opener = _urlopener
    if data is None:
        return opener.open(url)
    else:
        return opener.open(url, data)


def FancyURLopener():
    with warnings_helper.check_warnings(
            ('FancyURLopener style of invoking requests is deprecated.',
            DeprecationWarning)):
        return urllib.request.FancyURLopener()


def fakehttp(fakedata, mock_close=False):
    class FakeSocket(io.BytesIO):
        io_refs = 1

        def sendall(self, data):
            FakeHTTPConnection.buf = data

        def makefile(self, *args, **kwds):
            self.io_refs += 1
            return self

        def read(self, amt=None):
            if self.closed:
                return b""
            return io.BytesIO.read(self, amt)

        def readline(self, length=None):
            if self.closed:
                return b""
            return io.BytesIO.readline(self, length)

        def close(self):
            self.io_refs -= 1
            if self.io_refs == 0:
                io.BytesIO.close(self)

    class FakeHTTPConnection(http.client.HTTPConnection):

        # buffer to store data for verification in urlopen tests.
        buf = None

        def connect(self):
            self.sock = FakeSocket(self.fakedata)
            type(self).fakesock = self.sock

        if mock_close:
            # bpo-36918: HTTPConnection destructor calls close() which calls
            # flush(). Problem: flush() calls self.fp.flush() which raises
            # "ValueError: I/O operation on closed file" which is logged as an
            # "Exception ignored in". Override close() to silence this error.
            def close(self):
                pass
    FakeHTTPConnection.fakedata = fakedata

    return FakeHTTPConnection


class FakeHTTPMixin(object):
    def fakehttp(self, fakedata, mock_close=False):
        fake_http_class = fakehttp(fakedata, mock_close=mock_close)
        self._connection_class = http.client.HTTPConnection
        http.client.HTTPConnection = fake_http_class

    def unfakehttp(self):
        http.client.HTTPConnection = self._connection_class


class FakeFTPMixin(object):
    def fakeftp(self):
        class FakeFtpWrapper(object):
            def __init__(self,  user, passwd, host, port, dirs, timeout=None,
                     persistent=True):
                pass

            def retrfile(self, file, type):
                return io.BytesIO(), 0

            def close(self):
                pass

        self._ftpwrapper_class = urllib.request.ftpwrapper
        urllib.request.ftpwrapper = FakeFtpWrapper

    def unfakeftp(self):
        urllib.request.ftpwrapper = self._ftpwrapper_class


class urlopen_FileTests(unittest.TestCase):
    """Test urlopen() opening a temporary file.

    Try to test as much functionality as possible so as to cut down on reliance
    on connecting to the Net for testing.

    """

    def setUp(self):
        # Create a temp file to use for testing
        self.text = bytes("test_urllib: %s\n" % self.__class__.__name__,
                          "ascii")
        f = open(os_helper.TESTFN, 'wb')
        try:
            f.write(self.text)
        finally:
            f.close()
        self.pathname = os_helper.TESTFN
        self.quoted_pathname = urllib.parse.quote(self.pathname)
        self.returned_obj = urlopen("file:%s" % self.quoted_pathname)

    def tearDown(self):
        """Shut down the open object"""
        self.returned_obj.close()
        os.remove(os_helper.TESTFN)

    def test_interface(self):
        # Make sure object returned by urlopen() has the specified methods
        for attr in ("read", "readline", "readlines", "fileno",
                     "close", "info", "geturl", "getcode", "__iter__"):
            self.assertTrue(hasattr(self.returned_obj, attr),
                         "object returned by urlopen() lacks %s attribute" %
                         attr)

    def test_read(self):
        self.assertEqual(self.text, self.returned_obj.read())

    def test_readline(self):
        self.assertEqual(self.text, self.returned_obj.readline())
        self.assertEqual(b'', self.returned_obj.readline(),
                         "calling readline() after exhausting the file did not"
                         " return an empty string")

    def test_readlines(self):
        lines_list = self.returned_obj.readlines()
        self.assertEqual(len(lines_list), 1,
                         "readlines() returned the wrong number of lines")
        self.assertEqual(lines_list[0], self.text,
                         "readlines() returned improper text")

    def test_fileno(self):
        file_num = self.returned_obj.fileno()
        self.assertIsInstance(file_num, int, "fileno() did not return an int")
        self.assertEqual(os.read(file_num, len(self.text)), self.text,
                         "Reading on the file descriptor returned by fileno() "
                         "did not return the expected text")

    def test_close(self):
        # Test close() by calling it here and then having it be called again
        # by the tearDown() method for the test
        self.returned_obj.close()

    def test_headers(self):
        self.assertIsInstance(self.returned_obj.headers, email.message.Message)

    def test_url(self):
        self.assertEqual(self.returned_obj.url, self.quoted_pathname)

    def test_status(self):
        self.assertIsNone(self.returned_obj.status)

    def test_info(self):
        self.assertIsInstance(self.returned_obj.info(), email.message.Message)

    def test_geturl(self):
        self.assertEqual(self.returned_obj.geturl(), self.quoted_pathname)

    def test_getcode(self):
        self.assertIsNone(self.returned_obj.getcode())

    def test_iter(self):
        # Test iterator
        # Don't need to count number of iterations since test would fail the
        # instant it returned anything beyond the first line from the
        # comparison.
        # Use the iterator in the usual implicit way to test for ticket #4608.
        for line in self.returned_obj:
            self.assertEqual(line, self.text)

    def test_relativelocalfile(self):
        self.assertRaises(ValueError,urllib.request.urlopen,'./' + self.pathname)


class ProxyTests(unittest.TestCase):

    def setUp(self):
        # Records changes to env vars
        self.env = os_helper.EnvironmentVarGuard()
        # Delete all proxy related env vars
        for k in list(os.environ):
            if 'proxy' in k.lower():
                self.env.unset(k)

    def tearDown(self):
        # Restore all proxy related env vars
        self.env.__exit__()
        del self.env

    def test_getproxies_environment_keep_no_proxies(self):
        self.env.set('NO_PROXY', 'localhost')
        proxies = urllib.request.getproxies_environment()
        # getproxies_environment use lowered case truncated (no '_proxy') keys
        self.assertEqual('localhost', proxies['no'])
        # List of no_proxies with space.
        self.env.set('NO_PROXY', 'localhost, anotherdomain.com, newdomain.com:1234')
        self.assertTrue(urllib.request.proxy_bypass_environment('anotherdomain.com'))
        self.assertTrue(urllib.request.proxy_bypass_environment('anotherdomain.com:8888'))
        self.assertTrue(urllib.request.proxy_bypass_environment('newdomain.com:1234'))

    def test_proxy_cgi_ignore(self):
        try:
            self.env.set('HTTP_PROXY', 'http://somewhere:3128')
            proxies = urllib.request.getproxies_environment()
            self.assertEqual('http://somewhere:3128', proxies['http'])
            self.env.set('REQUEST_METHOD', 'GET')
            proxies = urllib.request.getproxies_environment()
            self.assertNotIn('http', proxies)
        finally:
            self.env.unset('REQUEST_METHOD')
            self.env.unset('HTTP_PROXY')

    def test_proxy_bypass_environment_host_match(self):
        bypass = urllib.request.proxy_bypass_environment
        self.env.set('NO_PROXY',
                     'localhost, anotherdomain.com, newdomain.com:1234, .d.o.t')
        self.assertTrue(bypass('localhost'))
        self.assertTrue(bypass('LocalHost'))                 # MixedCase
        self.assertTrue(bypass('LOCALHOST'))                 # UPPERCASE
        self.assertTrue(bypass('.localhost'))
        self.assertTrue(bypass('newdomain.com:1234'))
        self.assertTrue(bypass('.newdomain.com:1234'))
        self.assertTrue(bypass('foo.d.o.t'))                 # issue 29142
        self.assertTrue(bypass('d.o.t'))
        self.assertTrue(bypass('anotherdomain.com:8888'))
        self.assertTrue(bypass('.anotherdomain.com:8888'))
        self.assertTrue(bypass('www.newdomain.com:1234'))
        self.assertFalse(bypass('prelocalhost'))
        self.assertFalse(bypass('newdomain.com'))            # no port
        self.assertFalse(bypass('newdomain.com:1235'))       # wrong port

    def test_proxy_bypass_environment_always_match(self):
        bypass = urllib.request.proxy_bypass_environment
        self.env.set('NO_PROXY', '*')
        self.assertTrue(bypass('newdomain.com'))
        self.assertTrue(bypass('newdomain.com:1234'))
        self.env.set('NO_PROXY', '*, anotherdomain.com')
        self.assertTrue(bypass('anotherdomain.com'))
        self.assertFalse(bypass('newdomain.com'))
        self.assertFalse(bypass('newdomain.com:1234'))

    def test_proxy_bypass_environment_newline(self):
        bypass = urllib.request.proxy_bypass_environment
        self.env.set('NO_PROXY',
                     'localhost, anotherdomain.com, newdomain.com:1234')
        self.assertFalse(bypass('localhost\n'))
        self.assertFalse(bypass('anotherdomain.com:8888\n'))
        self.assertFalse(bypass('newdomain.com:1234\n'))


class ProxyTests_withOrderedEnv(unittest.TestCase):

    def setUp(self):
        # We need to test conditions, where variable order _is_ significant
        self._saved_env = os.environ
        # Monkey patch os.environ, start with empty fake environment
        os.environ = collections.OrderedDict()

    def tearDown(self):
        os.environ = self._saved_env

    def test_getproxies_environment_prefer_lowercase(self):
        # Test lowercase preference with removal
        os.environ['no_proxy'] = ''
        os.environ['No_Proxy'] = 'localhost'
        self.assertFalse(urllib.request.proxy_bypass_environment('localhost'))
        self.assertFalse(urllib.request.proxy_bypass_environment('arbitrary'))
        os.environ['http_proxy'] = ''
        os.environ['HTTP_PROXY'] = 'http://somewhere:3128'
        proxies = urllib.request.getproxies_environment()
        self.assertEqual({}, proxies)
        # Test lowercase preference of proxy bypass and correct matching including ports
        os.environ['no_proxy'] = 'localhost, noproxy.com, my.proxy:1234'
        os.environ['No_Proxy'] = 'xyz.com'
        self.assertTrue(urllib.request.proxy_bypass_environment('localhost'))
        self.assertTrue(urllib.request.proxy_bypass_environment('noproxy.com:5678'))
        self.assertTrue(urllib.request.proxy_bypass_environment('my.proxy:1234'))
        self.assertFalse(urllib.request.proxy_bypass_environment('my.proxy'))
        self.assertFalse(urllib.request.proxy_bypass_environment('arbitrary'))
        # Test lowercase preference with replacement
        os.environ['http_proxy'] = 'http://somewhere:3128'
        os.environ['Http_Proxy'] = 'http://somewhereelse:3128'
        proxies = urllib.request.getproxies_environment()
        self.assertEqual('http://somewhere:3128', proxies['http'])


class urlopen_HttpTests(unittest.TestCase, FakeHTTPMixin, FakeFTPMixin):
    """Test urlopen() opening a fake http connection."""

    def check_read(self, ver):
        self.fakehttp(b"HTTP/" + ver + b" 200 OK\r\n\r\nHello!")
        try:
            fp = urlopen("http://python.org/")
            self.assertEqual(fp.readline(), b"Hello!")
            self.assertEqual(fp.readline(), b"")
            self.assertEqual(fp.geturl(), 'http://python.org/')
            self.assertEqual(fp.getcode(), 200)
        finally:
            self.unfakehttp()

    def test_url_fragment(self):
        # Issue #11703: geturl() omits fragments in the original URL.
        url = 'http://docs.python.org/library/urllib.html#OK'
        self.fakehttp(b"HTTP/1.1 200 OK\r\n\r\nHello!")
        try:
            fp = urllib.request.urlopen(url)
            self.assertEqual(fp.geturl(), url)
        finally:
            self.unfakehttp()

    def test_willclose(self):
        self.fakehttp(b"HTTP/1.1 200 OK\r\n\r\nHello!")
        try:
            resp = urlopen("http://www.python.org")
            self.assertTrue(resp.fp.will_close)
        finally:
            self.unfakehttp()

    @unittest.skipUnless(ssl, "ssl module required")
    def test_url_path_with_control_char_rejected(self):
        for char_no in list(range(0, 0x21)) + [0x7f]:
            char = chr(char_no)
            schemeless_url = f"//localhost:7777/test{char}/"
            self.fakehttp(b"HTTP/1.1 200 OK\r\n\r\nHello.")
            try:
                # We explicitly test urllib.request.urlopen() instead of the top
                # level 'def urlopen()' function defined in this... (quite ugly)
                # test suite.  They use different url opening codepaths.  Plain
                # urlopen uses FancyURLOpener which goes via a codepath that
                # calls urllib.parse.quote() on the URL which makes all of the
                # above attempts at injection within the url _path_ safe.
                escaped_char_repr = repr(char).replace('\\', r'\\')
                InvalidURL = http.client.InvalidURL
                with self.assertRaisesRegex(
                    InvalidURL, f"contain control.*{escaped_char_repr}"):
                    urllib.request.urlopen(f"http:{schemeless_url}")
                with self.assertRaisesRegex(
                    InvalidURL, f"contain control.*{escaped_char_repr}"):
                    urllib.request.urlopen(f"https:{schemeless_url}")
                # This code path quotes the URL so there is no injection.
                resp = urlopen(f"http:{schemeless_url}")
                self.assertNotIn(char, resp.geturl())
            finally:
                self.unfakehttp()

    @unittest.skipUnless(ssl, "ssl module required")
    def test_url_path_with_newline_header_injection_rejected(self):
        self.fakehttp(b"HTTP/1.1 200 OK\r\n\r\nHello.")
        host = "localhost:7777?a=1 HTTP/1.1\r\nX-injected: header\r\nTEST: 123"
        schemeless_url = "//" + host + ":8080/test/?test=a"
        try:
            # We explicitly test urllib.request.urlopen() instead of the top
            # level 'def urlopen()' function defined in this... (quite ugly)
            # test suite.  They use different url opening codepaths.  Plain
            # urlopen uses FancyURLOpener which goes via a codepath that
            # calls urllib.parse.quote() on the URL which makes all of the
            # above attempts at injection within the url _path_ safe.
            InvalidURL = http.client.InvalidURL
            with self.assertRaisesRegex(
                InvalidURL, r"contain control.*\\r.*(found at least . .)"):
                urllib.request.urlopen(f"http:{schemeless_url}")
            with self.assertRaisesRegex(InvalidURL, r"contain control.*\\n"):
                urllib.request.urlopen(f"https:{schemeless_url}")
            # This code path quotes the URL so there is no injection.
            resp = urlopen(f"http:{schemeless_url}")
            self.assertNotIn(' ', resp.geturl())
            self.assertNotIn('\r', resp.geturl())
            self.assertNotIn('\n', resp.geturl())
        finally:
            self.unfakehttp()

    @unittest.skipUnless(ssl, "ssl module required")
    def test_url_host_with_control_char_rejected(self):
        for char_no in list(range(0, 0x21)) + [0x7f]:
            char = chr(char_no)
            schemeless_url = f"//localhost{char}/test/"
            self.fakehttp(b"HTTP/1.1 200 OK\r\n\r\nHello.")
            try:
                escaped_char_repr = repr(char).replace('\\', r'\\')
                InvalidURL = http.client.InvalidURL
                with self.assertRaisesRegex(
                    InvalidURL, f"contain control.*{escaped_char_repr}"):
                    urlopen(f"http:{schemeless_url}")
                with self.assertRaisesRegex(InvalidURL, f"contain control.*{escaped_char_repr}"):
                    urlopen(f"https:{schemeless_url}")
            finally:
                self.unfakehttp()

    @unittest.skipUnless(ssl, "ssl module required")
    def test_url_host_with_newline_header_injection_rejected(self):
        self.fakehttp(b"HTTP/1.1 200 OK\r\n\r\nHello.")
        host = "localhost\r\nX-injected: header\r\n"
        schemeless_url = "//" + host + ":8080/test/?test=a"
        try:
            InvalidURL = http.client.InvalidURL
            with self.assertRaisesRegex(
                InvalidURL, r"contain control.*\\r"):
                urlopen(f"http:{schemeless_url}")
            with self.assertRaisesRegex(InvalidURL, r"contain control.*\\n"):
                urlopen(f"https:{schemeless_url}")
        finally:
            self.unfakehttp()

    def test_read_0_9(self):
        # "0.9" response accepted (but not "simple responses" without
        # a status line)
        self.check_read(b"0.9")

    def test_read_1_0(self):
        self.check_read(b"1.0")

    def test_read_1_1(self):
        self.check_read(b"1.1")

    def test_read_bogus(self):
        # urlopen() should raise OSError for many error codes.
        self.fakehttp(b'''HTTP/1.1 401 Authentication Required
Date: Wed, 02 Jan 2008 03:03:54 GMT
Server: Apache/1.3.33 (Debian GNU/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e
Connection: close
Content-Type: text/html; charset=iso-8859-1
''', mock_close=True)
        try:
            self.assertRaises(OSError, urlopen, "http://python.org/")
        finally:
            self.unfakehttp()

    def test_invalid_redirect(self):
        # urlopen() should raise OSError for many error codes.
        self.fakehttp(b'''HTTP/1.1 302 Found
Date: Wed, 02 Jan 2008 03:03:54 GMT
Server: Apache/1.3.33 (Debian GNU/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e
Location: file://guidocomputer.athome.com:/python/license
Connection: close
Content-Type: text/html; charset=iso-8859-1
''', mock_close=True)
        try:
            msg = "Redirection to url 'file:"
            with self.assertRaisesRegex(urllib.error.HTTPError, msg):
                urlopen("http://python.org/")
        finally:
            self.unfakehttp()

    def test_redirect_limit_independent(self):
        # Ticket #12923: make sure independent requests each use their
        # own retry limit.
        for i in range(FancyURLopener().maxtries):
            self.fakehttp(b'''HTTP/1.1 302 Found
Location: file://guidocomputer.athome.com:/python/license
Connection: close
''', mock_close=True)
            try:
                self.assertRaises(urllib.error.HTTPError, urlopen,
                    "http://something")
            finally:
                self.unfakehttp()

    def test_empty_socket(self):
        # urlopen() raises OSError if the underlying socket does not send any
        # data. (#1680230)
        self.fakehttp(b'')
        try:
            self.assertRaises(OSError, urlopen, "http://something")
        finally:
            self.unfakehttp()

    def test_missing_localfile(self):
        # Test for #10836
        with self.assertRaises(urllib.error.URLError) as e:
            urlopen('file://localhost/a/file/which/doesnot/exists.py')
        self.assertTrue(e.exception.filename)
        self.assertTrue(e.exception.reason)

    def test_file_notexists(self):
        fd, tmp_file = tempfile.mkstemp()
        tmp_fileurl = 'file://localhost/' + tmp_file.replace(os.path.sep, '/')
        try:
            self.assertTrue(os.path.exists(tmp_file))
            with urlopen(tmp_fileurl) as fobj:
                self.assertTrue(fobj)
        finally:
            os.close(fd)
            os.unlink(tmp_file)
        self.assertFalse(os.path.exists(tmp_file))
        with self.assertRaises(urllib.error.URLError):
            urlopen(tmp_fileurl)

    def test_ftp_nohost(self):
        test_ftp_url = 'ftp:///path'
        with self.assertRaises(urllib.error.URLError) as e:
            urlopen(test_ftp_url)
        self.assertFalse(e.exception.filename)
        self.assertTrue(e.exception.reason)

    def test_ftp_nonexisting(self):
        with self.assertRaises(urllib.error.URLError) as e:
            urlopen('ftp://localhost/a/file/which/doesnot/exists.py')
        self.assertFalse(e.exception.filename)
        self.assertTrue(e.exception.reason)

    @patch.object(urllib.request, 'MAXFTPCACHE', 0)
    def test_ftp_cache_pruning(self):
        self.fakeftp()
        try:
            urllib.request.ftpcache['test'] = urllib.request.ftpwrapper('user', 'pass', 'localhost', 21, [])
            urlopen('ftp://localhost')
        finally:
            self.unfakeftp()

    def test_userpass_inurl(self):
        self.fakehttp(b"HTTP/1.0 200 OK\r\n\r\nHello!")
        try:
            fp = urlopen("http://user:pass@python.org/")
            self.assertEqual(fp.readline(), b"Hello!")
            self.assertEqual(fp.readline(), b"")
            self.assertEqual(fp.geturl(), 'http://user:pass@python.org/')
            self.assertEqual(fp.getcode(), 200)
        finally:
            self.unfakehttp()

    def test_userpass_inurl_w_spaces(self):
        self.fakehttp(b"HTTP/1.0 200 OK\r\n\r\nHello!")
        try:
            userpass = "a b:c d"
            url = "http://{}@python.org/".format(userpass)
            fakehttp_wrapper = http.client.HTTPConnection
            authorization = ("Authorization: Basic %s\r\n" %
                             b64encode(userpass.encode("ASCII")).decode("ASCII"))
            fp = urlopen(url)
            # The authorization header must be in place
            self.assertIn(authorization, fakehttp_wrapper.buf.decode("UTF-8"))
            self.assertEqual(fp.readline(), b"Hello!")
            self.assertEqual(fp.readline(), b"")
            # the spaces are quoted in URL so no match
            self.assertNotEqual(fp.geturl(), url)
            self.assertEqual(fp.getcode(), 200)
        finally:
            self.unfakehttp()

    def test_URLopener_deprecation(self):
        with warnings_helper.check_warnings(('',DeprecationWarning)):
            urllib.request.URLopener()

    @unittest.skipUnless(ssl, "ssl module required")
    def test_cafile_and_context(self):
        context = ssl.create_default_context()
        with warnings_helper.check_warnings(('', DeprecationWarning)):
            with self.assertRaises(ValueError):
                urllib.request.urlopen(
                    "https://localhost", cafile="/nonexistent/path", context=context
                )


class urlopen_DataTests(unittest.TestCase):
    """Test urlopen() opening a data URL."""

    def setUp(self):
        # clear _opener global variable
        self.addCleanup(urllib.request.urlcleanup)

        # text containing URL special- and unicode-characters
        self.text = "test data URLs :;,%=& \u00f6 \u00c4 "
        # 2x1 pixel RGB PNG image with one black and one white pixel
        self.image = (
            b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x02\x00\x00\x00'
            b'\x01\x08\x02\x00\x00\x00{@\xe8\xdd\x00\x00\x00\x01sRGB\x00\xae'
            b'\xce\x1c\xe9\x00\x00\x00\x0fIDAT\x08\xd7c```\xf8\xff\xff?\x00'
            b'\x06\x01\x02\xfe\no/\x1e\x00\x00\x00\x00IEND\xaeB`\x82')

        self.text_url = (
            "data:text/plain;charset=UTF-8,test%20data%20URLs%20%3A%3B%2C%25%3"
            "D%26%20%C3%B6%20%C3%84%20")
        self.text_url_base64 = (
            "data:text/plain;charset=ISO-8859-1;base64,dGVzdCBkYXRhIFVSTHMgOjs"
            "sJT0mIPYgxCA%3D")
        # base64 encoded data URL that contains ignorable spaces,
        # such as "\n", " ", "%0A", and "%20".
        self.image_url = (
            "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAIAAAB7\n"
            "QOjdAAAAAXNSR0IArs4c6QAAAA9JREFUCNdj%0AYGBg%2BP//PwAGAQL%2BCm8 "
            "vHgAAAABJRU5ErkJggg%3D%3D%0A%20")

        self.text_url_resp = urllib.request.urlopen(self.text_url)
        self.text_url_base64_resp = urllib.request.urlopen(
            self.text_url_base64)
        self.image_url_resp = urllib.request.urlopen(self.image_url)

    def test_interface(self):
        # Make sure object returned by urlopen() has the specified methods
        for attr in ("read", "readline", "readlines",
                     "close", "info", "geturl", "getcode", "__iter__"):
            self.assertTrue(hasattr(self.text_url_resp, attr),
                         "object returned by urlopen() lacks %s attribute" %
                         attr)

    def test_info(self):
        self.assertIsInstance(self.text_url_resp.info(), email.message.Message)
        self.assertEqual(self.text_url_base64_resp.info().get_params(),
            [('text/plain', ''), ('charset', 'ISO-8859-1')])
        self.assertEqual(self.image_url_resp.info()['content-length'],
            str(len(self.image)))
        self.assertEqual(urllib.request.urlopen("data:,").info().get_params(),
            [('text/plain', ''), ('charset', 'US-ASCII')])

    def test_geturl(self):
        self.assertEqual(self.text_url_resp.geturl(), self.text_url)
        self.assertEqual(self.text_url_base64_resp.geturl(),
            self.text_url_base64)
        self.assertEqual(self.image_url_resp.geturl(), self.image_url)

    def test_read_text(self):
        self.assertEqual(self.text_url_resp.read().decode(
            dict(self.text_url_resp.info().get_params())['charset']), self.text)

    def test_read_text_base64(self):
        self.assertEqual(self.text_url_base64_resp.read().decode(
            dict(self.text_url_base64_resp.info().get_params())['charset']),
            self.text)

    def test_read_image(self):
        self.assertEqual(self.image_url_resp.read(), self.image)

    def test_missing_comma(self):
        self.assertRaises(ValueError,urllib.request.urlopen,'data:text/plain')

    def test_invalid_base64_data(self):
        # missing padding character
        self.assertRaises(ValueError,urllib.request.urlopen,'data:;base64,Cg=')

    def test_invalid_mediatype(self):
        for c0 in control_characters_c0():
            self.assertRaises(ValueError,urllib.request.urlopen,
                              f'data:text/html;{c0},data')
        for c0 in control_characters_c0():
            self.assertRaises(ValueError,urllib.request.urlopen,
                              f'data:text/html{c0};base64,ZGF0YQ==')

class urlretrieve_FileTests(unittest.TestCase):
    """Test urllib.urlretrieve() on local files"""

    def setUp(self):
        # clear _opener global variable
        self.addCleanup(urllib.request.urlcleanup)

        # Create a list of temporary files. Each item in the list is a file
        # name (absolute path or relative to the current working directory).
        # All files in this list will be deleted in the tearDown method. Note,
        # this only helps to makes sure temporary files get deleted, but it
        # does nothing about trying to close files that may still be open. It
        # is the responsibility of the developer to properly close files even
        # when exceptional conditions occur.
        self.tempFiles = []

        # Create a temporary file.
        self.registerFileForCleanUp(os_helper.TESTFN)
        self.text = b'testing urllib.urlretrieve'
        try:
            FILE = open(os_helper.TESTFN, 'wb')
            FILE.write(self.text)
            FILE.close()
        finally:
            try: FILE.close()
            except: pass

    def tearDown(self):
        # Delete the temporary files.
        for each in self.tempFiles:
            try: os.remove(each)
            except: pass

    def constructLocalFileUrl(self, filePath):
        filePath = os.path.abspath(filePath)
        try:
            filePath.encode("utf-8")
        except UnicodeEncodeError:
            raise unittest.SkipTest("filePath is not encodable to utf8")
        return "file://%s" % urllib.request.pathname2url(filePath)

    def createNewTempFile(self, data=b""):
        """Creates a new temporary file containing the specified data,
        registers the file for deletion during the test fixture tear down, and
        returns the absolute path of the file."""

        newFd, newFilePath = tempfile.mkstemp()
        try:
            self.registerFileForCleanUp(newFilePath)
            newFile = os.fdopen(newFd, "wb")
            newFile.write(data)
            newFile.close()
        finally:
            try: newFile.close()
            except: pass
        return newFilePath

    def registerFileForCleanUp(self, fileName):
        self.tempFiles.append(fileName)

    def test_basic(self):
        # Make sure that a local file just gets its own location returned and
        # a headers value is returned.
        result = urllib.request.urlretrieve("file:%s" % os_helper.TESTFN)
        self.assertEqual(result[0], os_helper.TESTFN)
        self.assertIsInstance(result[1], email.message.Message,
                              "did not get an email.message.Message instance "
                              "as second returned value")

    def test_copy(self):
        # Test that setting the filename argument works.
        second_temp = "%s.2" % os_helper.TESTFN
        self.registerFileForCleanUp(second_temp)
        result = urllib.request.urlretrieve(self.constructLocalFileUrl(
            os_helper.TESTFN), second_temp)
        self.assertEqual(second_temp, result[0])
        self.assertTrue(os.path.exists(second_temp), "copy of the file was not "
                                                  "made")
        FILE = open(second_temp, 'rb')
        try:
            text = FILE.read()
            FILE.close()
        finally:
            try: FILE.close()
            except: pass
        self.assertEqual(self.text, text)

    def test_reporthook(self):
        # Make sure that the reporthook works.
        def hooktester(block_count, block_read_size, file_size, count_holder=[0]):
            self.assertIsInstance(block_count, int)
            self.assertIsInstance(block_read_size, int)
            self.assertIsInstance(file_size, int)
            self.assertEqual(block_count, count_holder[0])
            count_holder[0] = count_holder[0] + 1
        second_temp = "%s.2" % os_helper.TESTFN
        self.registerFileForCleanUp(second_temp)
        urllib.request.urlretrieve(
            self.constructLocalFileUrl(os_helper.TESTFN),
            second_temp, hooktester)

    def test_reporthook_0_bytes(self):
        # Test on zero length file. Should call reporthook only 1 time.
        report = []
        def hooktester(block_count, block_read_size, file_size, _report=report):
            _report.append((block_count, block_read_size, file_size))
        srcFileName = self.createNewTempFile()
        urllib.request.urlretrieve(self.constructLocalFileUrl(srcFileName),
            os_helper.TESTFN, hooktester)
        self.assertEqual(len(report), 1)
        self.assertEqual(report[0][2], 0)

    def test_reporthook_5_bytes(self):
        # Test on 5 byte file. Should call reporthook only 2 times (once when
        # the "network connection" is established and once when the block is
        # read).
        report = []
        def hooktester(block_count, block_read_size, file_size, _report=report):
            _report.append((block_count, block_read_size, file_size))
        srcFileName = self.createNewTempFile(b"x" * 5)
        urllib.request.urlretrieve(self.constructLocalFileUrl(srcFileName),
            os_helper.TESTFN, hooktester)
        self.assertEqual(len(report), 2)
        self.assertEqual(report[0][2], 5)
        self.assertEqual(report[1][2], 5)

    def test_reporthook_8193_bytes(self):
        # Test on 8193 byte file. Should call reporthook only 3 times (once
        # when the "network connection" is established, once for the next 8192
        # bytes, and once for the last byte).
        report = []
        def hooktester(block_count, block_read_size, file_size, _report=report):
            _report.append((block_count, block_read_size, file_size))
        srcFileName = self.createNewTempFile(b"x" * 8193)
        urllib.request.urlretrieve(self.constructLocalFileUrl(srcFileName),
            os_helper.TESTFN, hooktester)
        self.assertEqual(len(report), 3)
        self.assertEqual(report[0][2], 8193)
        self.assertEqual(report[0][1], 8192)
        self.assertEqual(report[1][1], 8192)
        self.assertEqual(report[2][1], 8192)


class urlretrieve_HttpTests(unittest.TestCase, FakeHTTPMixin):
    """Test urllib.urlretrieve() using fake http connections"""

    def test_short_content_raises_ContentTooShortError(self):
        self.addCleanup(urllib.request.urlcleanup)

        self.fakehttp(b'''HTTP/1.1 200 OK
Date: Wed, 02 Jan 2008 03:03:54 GMT
Server: Apache/1.3.33 (Debian GNU/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e
Connection: close
Content-Length: 100
Content-Type: text/html; charset=iso-8859-1

FF
''')

        def _reporthook(par1, par2, par3):
            pass

        with self.assertRaises(urllib.error.ContentTooShortError):
            try:
                urllib.request.urlretrieve(support.TEST_HTTP_URL,
                                           reporthook=_reporthook)
            finally:
                self.unfakehttp()

    def test_short_content_raises_ContentTooShortError_without_reporthook(self):
        self.addCleanup(urllib.request.urlcleanup)

        self.fakehttp(b'''HTTP/1.1 200 OK
Date: Wed, 02 Jan 2008 03:03:54 GMT
Server: Apache/1.3.33 (Debian GNU/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e
Connection: close
Content-Length: 100
Content-Type: text/html; charset=iso-8859-1

FF
''')
        with self.assertRaises(urllib.error.ContentTooShortError):
            try:
                urllib.request.urlretrieve(support.TEST_HTTP_URL)
            finally:
                self.unfakehttp()


class QuotingTests(unittest.TestCase):
    r"""Tests for urllib.quote() and urllib.quote_plus()

    According to RFC 3986 (Uniform Resource Identifiers), to escape a
    character you write it as '%' + <2 character US-ASCII hex value>.
    The Python code of ``'%' + hex(ord(<character>))[2:]`` escapes a
    character properly. Case does not matter on the hex letters.

    The various character sets specified are:

    Reserved characters : ";/?:@&=+$,"
        Have special meaning in URIs and must be escaped if not being used for
        their special meaning
    Data characters : letters, digits, and "-_.!~*'()"
        Unreserved and do not need to be escaped; can be, though, if desired
    Control characters : 0x00 - 0x1F, 0x7F
        Have no use in URIs so must be escaped
    space : 0x20
        Must be escaped
    Delimiters : '<>#%"'
        Must be escaped
    Unwise : "{}|\^[]`"
        Must be escaped

    """

    def test_never_quote(self):
        # Make sure quote() does not quote letters, digits, and "_,.-"
        do_not_quote = '' .join(["ABCDEFGHIJKLMNOPQRSTUVWXYZ",
                                 "abcdefghijklmnopqrstuvwxyz",
                                 "0123456789",
                                 "_.-~"])
        result = urllib.parse.quote(do_not_quote)
        self.assertEqual(do_not_quote, result,
                         "using quote(): %r != %r" % (do_not_quote, result))
        result = urllib.parse.quote_plus(do_not_quote)
        self.assertEqual(do_not_quote, result,
                        "using quote_plus(): %r != %r" % (do_not_quote, result))

    def test_default_safe(self):
        # Test '/' is default value for 'safe' parameter
        self.assertEqual(urllib.parse.quote.__defaults__[0], '/')

    def test_safe(self):
        # Test setting 'safe' parameter does what it should do
        quote_by_default = "<>"
        result = urllib.parse.quote(quote_by_default, safe=quote_by_default)
        self.assertEqual(quote_by_default, result,
                         "using quote(): %r != %r" % (quote_by_default, result))
        result = urllib.parse.quote_plus(quote_by_default,
                                         safe=quote_by_default)
        self.assertEqual(quote_by_default, result,
                         "using quote_plus(): %r != %r" %
                         (quote_by_default, result))
        # Safe expressed as bytes rather than str
        result = urllib.parse.quote(quote_by_default, safe=b"<>")
        self.assertEqual(quote_by_default, result,
                         "using quote(): %r != %r" % (quote_by_default, result))
        # "Safe" non-ASCII characters should have no effect
        # (Since URIs are not allowed to have non-ASCII characters)
        result = urllib.parse.quote("a\xfcb", encoding="latin-1", safe="\xfc")
        expect = urllib.parse.quote("a\xfcb", encoding="latin-1", safe="")
        self.assertEqual(expect, result,
                         "using quote(): %r != %r" %
                         (expect, result))
        # Same as above, but using a bytes rather than str
        result = urllib.parse.quote("a\xfcb", encoding="latin-1", safe=b"\xfc")
        expect = urllib.parse.quote("a\xfcb", encoding="latin-1", safe="")
        self.assertEqual(expect, result,
                         "using quote(): %r != %r" %
                         (expect, result))

    def test_default_quoting(self):
        # Make sure all characters that should be quoted are by default sans
        # space (separate test for that).
        should_quote = [chr(num) for num in range(32)] # For 0x00 - 0x1F
        should_quote.append(r'<>#%"{}|\^[]`')
        should_quote.append(chr(127)) # For 0x7F
        should_quote = ''.join(should_quote)
        for char in should_quote:
            result = urllib.parse.quote(char)
            self.assertEqual(hexescape(char), result,
                             "using quote(): "
                             "%s should be escaped to %s, not %s" %
                             (char, hexescape(char), result))
            result = urllib.parse.quote_plus(char)
            self.assertEqual(hexescape(char), result,
                             "using quote_plus(): "
                             "%s should be escapes to %s, not %s" %
                             (char, hexescape(char), result))
        del should_quote
        partial_quote = "ab[]cd"
        expected = "ab%5B%5Dcd"
        result = urllib.parse.quote(partial_quote)
        self.assertEqual(expected, result,
                         "using quote(): %r != %r" % (expected, result))
        result = urllib.parse.quote_plus(partial_quote)
        self.assertEqual(expected, result,
                         "using quote_plus(): %r != %r" % (expected, result))

    def test_quoting_space(self):
        # Make sure quote() and quote_plus() handle spaces as specified in
        # their unique way
        result = urllib.parse.quote(' ')
        self.assertEqual(result, hexescape(' '),
                         "using quote(): %r != %r" % (result, hexescape(' ')))
        result = urllib.parse.quote_plus(' ')
        self.assertEqual(result, '+',
                         "using quote_plus(): %r != +" % result)
        given = "a b cd e f"
        expect = given.replace(' ', hexescape(' '))
        result = urllib.parse.quote(given)
        self.assertEqual(expect, result,
                         "using quote(): %r != %r" % (expect, result))
        expect = given.replace(' ', '+')
        result = urllib.parse.quote_plus(given)
        self.assertEqual(expect, result,
                         "using quote_plus(): %r != %r" % (expect, result))

    def test_quoting_plus(self):
        self.assertEqual(urllib.parse.quote_plus('alpha+beta gamma'),
                         'alpha%2Bbeta+gamma')
        self.assertEqual(urllib.parse.quote_plus('alpha+beta gamma', '+'),
                         'alpha+beta+gamma')
        # Test with bytes
        self.assertEqual(urllib.parse.quote_plus(b'alpha+beta gamma'),
                         'alpha%2Bbeta+gamma')
        # Test with safe bytes
        self.assertEqual(urllib.parse.quote_plus('alpha+beta gamma', b'+'),
                         'alpha+beta+gamma')

    def test_quote_bytes(self):
        # Bytes should quote directly to percent-encoded values
        given = b"\xa2\xd8ab\xff"
        expect = "%A2%D8ab%FF"
        result = urllib.parse.quote(given)
        self.assertEqual(expect, result,
                         "using quote(): %r != %r" % (expect, result))
        # Encoding argument should raise type error on bytes input
        self.assertRaises(TypeError, urllib.parse.quote, given,
                            encoding="latin-1")
        # quote_from_bytes should work the same
        result = urllib.parse.quote_from_bytes(given)
        self.assertEqual(expect, result,
                         "using quote_from_bytes(): %r != %r"
                         % (expect, result))

    def test_quote_with_unicode(self):
        # Characters in Latin-1 range, encoded by default in UTF-8
        given = "\xa2\xd8ab\xff"
        expect = "%C2%A2%C3%98ab%C3%BF"
        result = urllib.parse.quote(given)
        self.assertEqual(expect, result,
                         "using quote(): %r != %r" % (expect, result))
        # Characters in Latin-1 range, encoded by with None (default)
        result = urllib.parse.quote(given, encoding=None, errors=None)
        self.assertEqual(expect, result,
                         "using quote(): %r != %r" % (expect, result))
        # Characters in Latin-1 range, encoded with Latin-1
        given = "\xa2\xd8ab\xff"
        expect = "%A2%D8ab%FF"
        result = urllib.parse.quote(given, encoding="latin-1")
        self.assertEqual(expect, result,
                         "using quote(): %r != %r" % (expect, result))
        # Characters in BMP, encoded by default in UTF-8
        given = "\u6f22\u5b57"              # "Kanji"
        expect = "%E6%BC%A2%E5%AD%97"
        result = urllib.parse.quote(given)
        self.assertEqual(expect, result,
                         "using quote(): %r != %r" % (expect, result))
        # Characters in BMP, encoded with Latin-1
        given = "\u6f22\u5b57"
        self.assertRaises(UnicodeEncodeError, urllib.parse.quote, given,
                                    encoding="latin-1")
        # Characters in BMP, encoded with Latin-1, with replace error handling
        given = "\u6f22\u5b57"
        expect = "%3F%3F"                   # "??"
        result = urllib.parse.quote(given, encoding="latin-1",
                                    errors="replace")
        self.assertEqual(expect, result,
                         "using quote(): %r != %r" % (expect, result))
        # Characters in BMP, Latin-1, with xmlcharref error handling
        given = "\u6f22\u5b57"
        expect = "%26%2328450%3B%26%2323383%3B"     # "&#28450;&#23383;"
        result = urllib.parse.quote(given, encoding="latin-1",
                                    errors="xmlcharrefreplace")
        self.assertEqual(expect, result,
                         "using quote(): %r != %r" % (expect, result))

    def test_quote_plus_with_unicode(self):
        # Encoding (latin-1) test for quote_plus
        given = "\xa2\xd8 \xff"
        expect = "%A2%D8+%FF"
        result = urllib.parse.quote_plus(given, encoding="latin-1")
        self.assertEqual(expect, result,
                         "using quote_plus(): %r != %r" % (expect, result))
        # Errors test for quote_plus
        given = "ab\u6f22\u5b57 cd"
        expect = "ab%3F%3F+cd"
        result = urllib.parse.quote_plus(given, encoding="latin-1",
                                         errors="replace")
        self.assertEqual(expect, result,
                         "using quote_plus(): %r != %r" % (expect, result))


class UnquotingTests(unittest.TestCase):
    """Tests for unquote() and unquote_plus()

    See the doc string for quoting_Tests for details on quoting and such.

    """

    def test_unquoting(self):
        # Make sure unquoting of all ASCII values works
        escape_list = []
        for num in range(128):
            given = hexescape(chr(num))
            expect = chr(num)
            result = urllib.parse.unquote(given)
            self.assertEqual(expect, result,
                             "using unquote(): %r != %r" % (expect, result))
            result = urllib.parse.unquote_plus(given)
            self.assertEqual(expect, result,
                             "using unquote_plus(): %r != %r" %
                             (expect, result))
            escape_list.append(given)
        escape_string = ''.join(escape_list)
        del escape_list
        result = urllib.parse.unquote(escape_string)
        self.assertEqual(result.count('%'), 1,
                         "using unquote(): not all characters escaped: "
                         "%s" % result)
        self.assertRaises((TypeError, AttributeError), urllib.parse.unquote, None)
        self.assertRaises((TypeError, AttributeError), urllib.parse.unquote, ())

    def test_unquoting_badpercent(self):
        # Test unquoting on bad percent-escapes
        given = '%xab'
        expect = given
        result = urllib.parse.unquote(given)
        self.assertEqual(expect, result, "using unquote(): %r != %r"
                         % (expect, result))
        given = '%x'
        expect = given
        result = urllib.parse.unquote(given)
        self.assertEqual(expect, result, "using unquote(): %r != %r"
                         % (expect, result))
        given = '%'
        expect = given
        result = urllib.parse.unquote(given)
        self.assertEqual(expect, result, "using unquote(): %r != %r"
                         % (expect, result))
        # unquote_to_bytes
        given = '%xab'
        expect = bytes(given, 'ascii')
        result = urllib.parse.unquote_to_bytes(given)
        self.assertEqual(expect, result, "using unquote_to_bytes(): %r != %r"
                         % (expect, result))
        given = '%x'
        expect = bytes(given, 'ascii')
        result = urllib.parse.unquote_to_bytes(given)
        self.assertEqual(expect, result, "using unquote_to_bytes(): %r != %r"
                         % (expect, result))
        given = '%'
        expect = bytes(given, 'ascii')
        result = urllib.parse.unquote_to_bytes(given)
        self.assertEqual(expect, result, "using unquote_to_bytes(): %r != %r"
                         % (expect, result))
        self.assertRaises((TypeError, AttributeError), urllib.parse.unquote_to_bytes, None)
        self.assertRaises((TypeError, AttributeError), urllib.parse.unquote_to_bytes, ())

    def test_unquoting_mixed_case(self):
        # Test unquoting on mixed-case hex digits in the percent-escapes
        given = '%Ab%eA'
        expect = b'\xab\xea'
        result = urllib.parse.unquote_to_bytes(given)
        self.assertEqual(expect, result,
                         "using unquote_to_bytes(): %r != %r"
                         % (expect, result))

    def test_unquoting_parts(self):
        # Make sure unquoting works when have non-quoted characters
        # interspersed
        given = 'ab%sd' % hexescape('c')
        expect = "abcd"
        result = urllib.parse.unquote(given)
        self.assertEqual(expect, result,
                         "using quote(): %r != %r" % (expect, result))
        result = urllib.parse.unquote_plus(given)
        self.assertEqual(expect, result,
                         "using unquote_plus(): %r != %r" % (expect, result))

    def test_unquoting_plus(self):
        # Test difference between unquote() and unquote_plus()
        given = "are+there+spaces..."
        expect = given
        result = urllib.parse.unquote(given)
        self.assertEqual(expect, result,
                         "using unquote(): %r != %r" % (expect, result))
        expect = given.replace('+', ' ')
        result = urllib.parse.unquote_plus(given)
        self.assertEqual(expect, result,
                         "using unquote_plus(): %r != %r" % (expect, result))

    def test_unquote_to_bytes(self):
        given = 'br%C3%BCckner_sapporo_20050930.doc'
        expect = b'br\xc3\xbcckner_sapporo_20050930.doc'
        result = urllib.parse.unquote_to_bytes(given)
        self.assertEqual(expect, result,
                         "using unquote_to_bytes(): %r != %r"
                         % (expect, result))
        # Test on a string with unescaped non-ASCII characters
        # (Technically an invalid URI; expect those characters to be UTF-8
        # encoded).
        result = urllib.parse.unquote_to_bytes("\u6f22%C3%BC")
        expect = b'\xe6\xbc\xa2\xc3\xbc'    # UTF-8 for "\u6f22\u00fc"
        self.assertEqual(expect, result,
                         "using unquote_to_bytes(): %r != %r"
                         % (expect, result))
        # Test with a bytes as input
        given = b'%A2%D8ab%FF'
        expect = b'\xa2\xd8ab\xff'
        result = urllib.parse.unquote_to_bytes(given)
        self.assertEqual(expect, result,
                         "using unquote_to_bytes(): %r != %r"
                         % (expect, result))
        # Test with a bytes as input, with unescaped non-ASCII bytes
        # (Technically an invalid URI; expect those bytes to be preserved)
        given = b'%A2\xd8ab%FF'
        expect = b'\xa2\xd8ab\xff'
        result = urllib.parse.unquote_to_bytes(given)
        self.assertEqual(expect, result,
                         "using unquote_to_bytes(): %r != %r"
                         % (expect, result))

    def test_unquote_with_unicode(self):
        # Characters in the Latin-1 range, encoded with UTF-8
        given = 'br%C3%BCckner_sapporo_20050930.doc'
        expect = 'br\u00fcckner_sapporo_20050930.doc'
        result = urllib.parse.unquote(given)
        self.assertEqual(expect, result,
                         "using unquote(): %r != %r" % (expect, result))
        # Characters in the Latin-1 range, encoded with None (default)
        result = urllib.parse.unquote(given, encoding=None, errors=None)
        self.assertEqual(expect, result,
                         "using unquote(): %r != %r" % (expect, result))

        # Characters in the Latin-1 range, encoded with Latin-1
        result = urllib.parse.unquote('br%FCckner_sapporo_20050930.doc',
                                      encoding="latin-1")
        expect = 'br\u00fcckner_sapporo_20050930.doc'
        self.assertEqual(expect, result,
                         "using unquote(): %r != %r" % (expect, result))

        # Characters in BMP, encoded with UTF-8
        given = "%E6%BC%A2%E5%AD%97"
        expect = "\u6f22\u5b57"             # "Kanji"
        result = urllib.parse.unquote(given)
        self.assertEqual(expect, result,
                         "using unquote(): %r != %r" % (expect, result))

        # Decode with UTF-8, invalid sequence
        given = "%F3%B1"
        expect = "\ufffd"                   # Replacement character
        result = urllib.parse.unquote(given)
        self.assertEqual(expect, result,
                         "using unquote(): %r != %r" % (expect, result))

        # Decode with UTF-8, invalid sequence, replace errors
        result = urllib.parse.unquote(given, errors="replace")
        self.assertEqual(expect, result,
                         "using unquote(): %r != %r" % (expect, result))

        # Decode with UTF-8, invalid sequence, ignoring errors
        given = "%F3%B1"
        expect = ""
        result = urllib.parse.unquote(given, errors="ignore")
        self.assertEqual(expect, result,
                         "using unquote(): %r != %r" % (expect, result))

        # A mix of non-ASCII and percent-encoded characters, UTF-8
        result = urllib.parse.unquote("\u6f22%C3%BC")
        expect = '\u6f22\u00fc'
        self.assertEqual(expect, result,
                         "using unquote(): %r != %r" % (expect, result))

        # A mix of non-ASCII and percent-encoded characters, Latin-1
        # (Note, the string contains non-Latin-1-representable characters)
        result = urllib.parse.unquote("\u6f22%FC", encoding="latin-1")
        expect = '\u6f22\u00fc'
        self.assertEqual(expect, result,
                         "using unquote(): %r != %r" % (expect, result))

    def test_unquoting_with_bytes_input(self):
        # ASCII characters decoded to a string
        given = b'blueberryjam'
        expect = 'blueberryjam'
        result = urllib.parse.unquote(given)
        self.assertEqual(expect, result,
                         "using unquote(): %r != %r" % (expect, result))

        # A mix of non-ASCII hex-encoded characters and ASCII characters
        given = b'bl\xc3\xa5b\xc3\xa6rsyltet\xc3\xb8y'
        expect = 'bl\u00e5b\u00e6rsyltet\u00f8y'
        result = urllib.parse.unquote(given)
        self.assertEqual(expect, result,
                         "using unquote(): %r != %r" % (expect, result))

        # A mix of non-ASCII percent-encoded characters and ASCII characters
        given = b'bl%c3%a5b%c3%a6rsyltet%c3%b8j'
        expect = 'bl\u00e5b\u00e6rsyltet\u00f8j'
        result = urllib.parse.unquote(given)
        self.assertEqual(expect, result,
                         "using unquote(): %r != %r" % (expect, result))


class urlencode_Tests(unittest.TestCase):
    """Tests for urlencode()"""

    def help_inputtype(self, given, test_type):
        """Helper method for testing different input types.

        'given' must lead to only the pairs:
            * 1st, 1
            * 2nd, 2
            * 3rd, 3

        Test cannot assume anything about order.  Docs make no guarantee and
        have possible dictionary input.

        """
        expect_somewhere = ["1st=1", "2nd=2", "3rd=3"]
        result = urllib.parse.urlencode(given)
        for expected in expect_somewhere:
            self.assertIn(expected, result,
                         "testing %s: %s not found in %s" %
                         (test_type, expected, result))
        self.assertEqual(result.count('&'), 2,
                         "testing %s: expected 2 '&'s; got %s" %
                         (test_type, result.count('&')))
        amp_location = result.index('&')
        on_amp_left = result[amp_location - 1]
        on_amp_right = result[amp_location + 1]
        self.assertTrue(on_amp_left.isdigit() and on_amp_right.isdigit(),
                     "testing %s: '&' not located in proper place in %s" %
                     (test_type, result))
        self.assertEqual(len(result), (5 * 3) + 2, #5 chars per thing and amps
                         "testing %s: "
                         "unexpected number of characters: %s != %s" %
                         (test_type, len(result), (5 * 3) + 2))

    def test_using_mapping(self):
        # Test passing in a mapping object as an argument.
        self.help_inputtype({"1st":'1', "2nd":'2', "3rd":'3'},
                            "using dict as input type")

    def test_using_sequence(self):
        # Test passing in a sequence of two-item sequences as an argument.
        self.help_inputtype([('1st', '1'), ('2nd', '2'), ('3rd', '3')],
                            "using sequence of two-item tuples as input")

    def test_quoting(self):
        # Make sure keys and values are quoted using quote_plus()
        given = {"&":"="}
        expect = "%s=%s" % (hexescape('&'), hexescape('='))
        result = urllib.parse.urlencode(given)
        self.assertEqual(expect, result)
        given = {"key name":"A bunch of pluses"}
        expect = "key+name=A+bunch+of+pluses"
        result = urllib.parse.urlencode(given)
        self.assertEqual(expect, result)

    def test_doseq(self):
        # Test that passing True for 'doseq' parameter works correctly
        given = {'sequence':['1', '2', '3']}
        expect = "sequence=%s" % urllib.parse.quote_plus(str(['1', '2', '3']))
        result = urllib.parse.urlencode(given)
        self.assertEqual(expect, result)
        result = urllib.parse.urlencode(given, True)
        for value in given["sequence"]:
            expect = "sequence=%s" % value
            self.assertIn(expect, result)
        self.assertEqual(result.count('&'), 2,
                         "Expected 2 '&'s, got %s" % result.count('&'))

    def test_empty_sequence(self):
        self.assertEqual("", urllib.parse.urlencode({}))
        self.assertEqual("", urllib.parse.urlencode([]))

    def test_nonstring_values(self):
        self.assertEqual("a=1", urllib.parse.urlencode({"a": 1}))
        self.assertEqual("a=None", urllib.parse.urlencode({"a": None}))

    def test_nonstring_seq_values(self):
        self.assertEqual("a=1&a=2", urllib.parse.urlencode({"a": [1, 2]}, True))
        self.assertEqual("a=None&a=a",
                         urllib.parse.urlencode({"a": [None, "a"]}, True))
        data = collections.OrderedDict([("a", 1), ("b", 1)])
        self.assertEqual("a=a&a=b",
                         urllib.parse.urlencode({"a": data}, True))

    def test_urlencode_encoding(self):
        # ASCII encoding. Expect %3F with errors="replace'
        given = (('\u00a0', '\u00c1'),)
        expect = '%3F=%3F'
        result = urllib.parse.urlencode(given, encoding="ASCII", errors="replace")
        self.assertEqual(expect, result)

        # Default is UTF-8 encoding.
        given = (('\u00a0', '\u00c1'),)
        expect = '%C2%A0=%C3%81'
        result = urllib.parse.urlencode(given)
        self.assertEqual(expect, result)

        # Latin-1 encoding.
        given = (('\u00a0', '\u00c1'),)
        expect = '%A0=%C1'
        result = urllib.parse.urlencode(given, encoding="latin-1")
        self.assertEqual(expect, result)

    def test_urlencode_encoding_doseq(self):
        # ASCII Encoding. Expect %3F with errors="replace'
        given = (('\u00a0', '\u00c1'),)
        expect = '%3F=%3F'
        result = urllib.parse.urlencode(given, doseq=True,
                                        encoding="ASCII", errors="replace")
        self.assertEqual(expect, result)

        # ASCII Encoding. On a sequence of values.
        given = (("\u00a0", (1, "\u00c1")),)
        expect = '%3F=1&%3F=%3F'
        result = urllib.parse.urlencode(given, True,
                                        encoding="ASCII", errors="replace")
        self.assertEqual(expect, result)

        # Utf-8
        given = (("\u00a0", "\u00c1"),)
        expect = '%C2%A0=%C3%81'
        result = urllib.parse.urlencode(given, True)
        self.assertEqual(expect, result)

        given = (("\u00a0", (42, "\u00c1")),)
        expect = '%C2%A0=42&%C2%A0=%C3%81'
        result = urllib.parse.urlencode(given, True)
        self.assertEqual(expect, result)

        # latin-1
        given = (("\u00a0", "\u00c1"),)
        expect = '%A0=%C1'
        result = urllib.parse.urlencode(given, True, encoding="latin-1")
        self.assertEqual(expect, result)

        given = (("\u00a0", (42, "\u00c1")),)
        expect = '%A0=42&%A0=%C1'
        result = urllib.parse.urlencode(given, True, encoding="latin-1")
        self.assertEqual(expect, result)

    def test_urlencode_bytes(self):
        given = ((b'\xa0\x24', b'\xc1\x24'),)
        expect = '%A0%24=%C1%24'
        result = urllib.parse.urlencode(given)
        self.assertEqual(expect, result)
        result = urllib.parse.urlencode(given, True)
        self.assertEqual(expect, result)

        # Sequence of values
        given = ((b'\xa0\x24', (42, b'\xc1\x24')),)
        expect = '%A0%24=42&%A0%24=%C1%24'
        result = urllib.parse.urlencode(given, True)
        self.assertEqual(expect, result)

    def test_urlencode_encoding_safe_parameter(self):

        # Send '$' (\x24) as safe character
        # Default utf-8 encoding

        given = ((b'\xa0\x24', b'\xc1\x24'),)
        result = urllib.parse.urlencode(given, safe=":$")
        expect = '%A0$=%C1$'
        self.assertEqual(expect, result)

        given = ((b'\xa0\x24', b'\xc1\x24'),)
        result = urllib.parse.urlencode(given, doseq=True, safe=":$")
        expect = '%A0$=%C1$'
        self.assertEqual(expect, result)

        # Safe parameter in sequence
        given = ((b'\xa0\x24', (b'\xc1\x24', 0xd, 42)),)
        expect = '%A0$=%C1$&%A0$=13&%A0$=42'
        result = urllib.parse.urlencode(given, True, safe=":$")
        self.assertEqual(expect, result)

        # Test all above in latin-1 encoding

        given = ((b'\xa0\x24', b'\xc1\x24'),)
        result = urllib.parse.urlencode(given, safe=":$",
                                        encoding="latin-1")
        expect = '%A0$=%C1$'
        self.assertEqual(expect, result)

        given = ((b'\xa0\x24', b'\xc1\x24'),)
        expect = '%A0$=%C1$'
        result = urllib.parse.urlencode(given, doseq=True, safe=":$",
                                        encoding="latin-1")

        given = ((b'\xa0\x24', (b'\xc1\x24', 0xd, 42)),)
        expect = '%A0$=%C1$&%A0$=13&%A0$=42'
        result = urllib.parse.urlencode(given, True, safe=":$",
                                        encoding="latin-1")
        self.assertEqual(expect, result)

class Pathname_Tests(unittest.TestCase):
    """Test pathname2url() and url2pathname()"""

    def test_basic(self):
        # Make sure simple tests pass
        expected_path = os.path.join("parts", "of", "a", "path")
        expected_url = "parts/of/a/path"
        result = urllib.request.pathname2url(expected_path)
        self.assertEqual(expected_url, result,
                         "pathname2url() failed; %s != %s" %
                         (result, expected_url))
        result = urllib.request.url2pathname(expected_url)
        self.assertEqual(expected_path, result,
                         "url2pathame() failed; %s != %s" %
                         (result, expected_path))

    def test_quoting(self):
        # Test automatic quoting and unquoting works for pathnam2url() and
        # url2pathname() respectively
        given = os.path.join("needs", "quot=ing", "here")
        expect = "needs/%s/here" % urllib.parse.quote("quot=ing")
        result = urllib.request.pathname2url(given)
        self.assertEqual(expect, result,
                         "pathname2url() failed; %s != %s" %
                         (expect, result))
        expect = given
        result = urllib.request.url2pathname(result)
        self.assertEqual(expect, result,
                         "url2pathname() failed; %s != %s" %
                         (expect, result))
        given = os.path.join("make sure", "using_quote")
        expect = "%s/using_quote" % urllib.parse.quote("make sure")
        result = urllib.request.pathname2url(given)
        self.assertEqual(expect, result,
                         "pathname2url() failed; %s != %s" %
                         (expect, result))
        given = "make+sure/using_unquote"
        expect = os.path.join("make+sure", "using_unquote")
        result = urllib.request.url2pathname(given)
        self.assertEqual(expect, result,
                         "url2pathname() failed; %s != %s" %
                         (expect, result))

    @unittest.skipUnless(sys.platform == 'win32',
                         'test specific to the nturl2path functions.')
    def test_prefixes(self):
        # Test special prefixes are correctly handled in pathname2url()
        given = '\\\\?\\C:\\dir'
        expect = '///C:/dir'
        result = urllib.request.pathname2url(given)
        self.assertEqual(expect, result,
                         "pathname2url() failed; %s != %s" %
                         (expect, result))
        given = '\\\\?\\unc\\server\\share\\dir'
        expect = '/server/share/dir'
        result = urllib.request.pathname2url(given)
        self.assertEqual(expect, result,
                         "pathname2url() failed; %s != %s" %
                         (expect, result))


    @unittest.skipUnless(sys.platform == 'win32',
                         'test specific to the urllib.url2path function.')
    def test_ntpath(self):
        given = ('/C:/', '///C:/', '/C|//')
        expect = 'C:\\'
        for url in given:
            result = urllib.request.url2pathname(url)
            self.assertEqual(expect, result,
                             'urllib.request..url2pathname() failed; %s != %s' %
                             (expect, result))
        given = '///C|/path'
        expect = 'C:\\path'
        result = urllib.request.url2pathname(given)
        self.assertEqual(expect, result,
                         'urllib.request.url2pathname() failed; %s != %s' %
                         (expect, result))

class Utility_Tests(unittest.TestCase):
    """Testcase to test the various utility functions in the urllib."""

    def test_thishost(self):
        """Test the urllib.request.thishost utility function returns a tuple"""
        self.assertIsInstance(urllib.request.thishost(), tuple)


class URLopener_Tests(FakeHTTPMixin, unittest.TestCase):
    """Testcase to test the open method of URLopener class."""

    def test_quoted_open(self):
        class DummyURLopener(urllib.request.URLopener):
            def open_spam(self, url):
                return url
        with warnings_helper.check_warnings(
                ('DummyURLopener style of invoking requests is deprecated.',
                DeprecationWarning)):
            self.assertEqual(DummyURLopener().open(
                'spam://example/ /'),'//example/%20/')

            # test the safe characters are not quoted by urlopen
            self.assertEqual(DummyURLopener().open(
                "spam://c:|windows%/:=&?~#+!$,;'@()*[]|/path/"),
                "//c:|windows%/:=&?~#+!$,;'@()*[]|/path/")

    @warnings_helper.ignore_warnings(category=DeprecationWarning)
    def test_urlopener_retrieve_file(self):
        with os_helper.temp_dir() as tmpdir:
            fd, tmpfile = tempfile.mkstemp(dir=tmpdir)
            os.close(fd)
            fileurl = "file:" + urllib.request.pathname2url(tmpfile)
            filename, _ = urllib.request.URLopener().retrieve(fileurl)
            # Some buildbots have TEMP folder that uses a lowercase drive letter.
            self.assertEqual(os.path.normcase(filename), os.path.normcase(tmpfile))

    @warnings_helper.ignore_warnings(category=DeprecationWarning)
    def test_urlopener_retrieve_remote(self):
        url = "http://www.python.org/file.txt"
        self.fakehttp(b"HTTP/1.1 200 OK\r\n\r\nHello!")
        self.addCleanup(self.unfakehttp)
        filename, _ = urllib.request.URLopener().retrieve(url)
        self.assertEqual(os.path.splitext(filename)[1], ".txt")

    @warnings_helper.ignore_warnings(category=DeprecationWarning)
    def test_local_file_open(self):
        # bpo-35907, CVE-2019-9948: urllib must reject local_file:// scheme
        class DummyURLopener(urllib.request.URLopener):
            def open_local_file(self, url):
                return url
        for url in ('local_file://example', 'local-file://example'):
            self.assertRaises(OSError, urllib.request.urlopen, url)
            self.assertRaises(OSError, urllib.request.URLopener().open, url)
            self.assertRaises(OSError, urllib.request.URLopener().retrieve, url)
            self.assertRaises(OSError, DummyURLopener().open, url)
            self.assertRaises(OSError, DummyURLopener().retrieve, url)


class RequestTests(unittest.TestCase):
    """Unit tests for urllib.request.Request."""

    def test_default_values(self):
        Request = urllib.request.Request
        request = Request("http://www.python.org")
        self.assertEqual(request.get_method(), 'GET')
        request = Request("http://www.python.org", {})
        self.assertEqual(request.get_method(), 'POST')

    def test_with_method_arg(self):
        Request = urllib.request.Request
        request = Request("http://www.python.org", method='HEAD')
        self.assertEqual(request.method, 'HEAD')
        self.assertEqual(request.get_method(), 'HEAD')
        request = Request("http://www.python.org", {}, method='HEAD')
        self.assertEqual(request.method, 'HEAD')
        self.assertEqual(request.get_method(), 'HEAD')
        request = Request("http://www.python.org", method='GET')
        self.assertEqual(request.get_method(), 'GET')
        request.method = 'HEAD'
        self.assertEqual(request.get_method(), 'HEAD')


class URL2PathNameTests(unittest.TestCase):

    def test_converting_drive_letter(self):
        self.assertEqual(url2pathname("///C|"), 'C:')
        self.assertEqual(url2pathname("///C:"), 'C:')
        self.assertEqual(url2pathname("///C|/"), 'C:\\')

    def test_converting_when_no_drive_letter(self):
        # cannot end a raw string in \
        self.assertEqual(url2pathname("///C/test/"), r'\\\C\test' '\\')
        self.assertEqual(url2pathname("////C/test/"), r'\\C\test' '\\')

    def test_simple_compare(self):
        self.assertEqual(url2pathname("///C|/foo/bar/spam.foo"),
                         r'C:\foo\bar\spam.foo')

    def test_non_ascii_drive_letter(self):
        self.assertRaises(IOError, url2pathname, "///\u00e8|/")

    def test_roundtrip_url2pathname(self):
        list_of_paths = ['C:',
                         r'\\\C\test\\',
                         r'C:\foo\bar\spam.foo'
                         ]
        for path in list_of_paths:
            self.assertEqual(url2pathname(pathname2url(path)), path)

class PathName2URLTests(unittest.TestCase):

    def test_converting_drive_letter(self):
        self.assertEqual(pathname2url("C:"), '///C:')
        self.assertEqual(pathname2url("C:\\"), '///C:')

    def test_converting_when_no_drive_letter(self):
        self.assertEqual(pathname2url(r"\\\folder\test" "\\"),
                         '/////folder/test/')
        self.assertEqual(pathname2url(r"\\folder\test" "\\"),
                         '////folder/test/')
        self.assertEqual(pathname2url(r"\folder\test" "\\"),
                         '/folder/test/')

    def test_simple_compare(self):
        self.assertEqual(pathname2url(r'C:\foo\bar\spam.foo'),
                         "///C:/foo/bar/spam.foo" )

    def test_long_drive_letter(self):
        self.assertRaises(IOError, pathname2url, "XX:\\")

    def test_roundtrip_pathname2url(self):
        list_of_paths = ['///C:',
                         '/////folder/test/',
                         '///C:/foo/bar/spam.foo']
        for path in list_of_paths:
            self.assertEqual(pathname2url(url2pathname(path)), path)

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


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


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
3 Sep 2026 4.09 AM
root / linksafe
0755
__pycache__
--
3 Sep 2026 4.11 AM
root / linksafe
0755
audiodata
--
3 Sep 2026 4.11 AM
root / linksafe
0755
capath
--
3 Sep 2026 4.11 AM
root / linksafe
0755
cjkencodings
--
3 Sep 2026 4.11 AM
root / linksafe
0755
data
--
3 Sep 2026 4.11 AM
root / linksafe
0755
decimaltestdata
--
3 Sep 2026 4.11 AM
root / linksafe
0755
dtracedata
--
3 Sep 2026 4.11 AM
root / linksafe
0755
encoded_modules
--
3 Sep 2026 4.11 AM
root / linksafe
0755
imghdrdata
--
3 Sep 2026 4.11 AM
root / linksafe
0755
libregrtest
--
3 Sep 2026 4.11 AM
root / linksafe
0755
sndhdrdata
--
3 Sep 2026 4.11 AM
root / linksafe
0755
subprocessdata
--
3 Sep 2026 4.11 AM
root / linksafe
0755
support
--
3 Sep 2026 4.11 AM
root / linksafe
0755
test_asyncio
--
3 Sep 2026 4.11 AM
root / linksafe
0755
test_email
--
3 Sep 2026 4.11 AM
root / linksafe
0755
test_import
--
3 Sep 2026 4.11 AM
root / linksafe
0755
test_importlib
--
3 Sep 2026 4.11 AM
root / linksafe
0755
test_json
--
3 Sep 2026 4.11 AM
root / linksafe
0755
test_peg_generator
--
3 Sep 2026 4.11 AM
root / linksafe
0755
test_tools
--
3 Sep 2026 4.11 AM
root / linksafe
0755
test_warnings
--
3 Sep 2026 4.11 AM
root / linksafe
0755
test_zoneinfo
--
3 Sep 2026 4.11 AM
root / linksafe
0755
tracedmodules
--
3 Sep 2026 4.11 AM
root / linksafe
0755
typinganndata
--
3 Sep 2026 4.11 AM
root / linksafe
0755
xmltestdata
--
3 Sep 2026 4.11 AM
root / linksafe
0755
ziptestdata
--
3 Sep 2026 4.11 AM
root / linksafe
0755
Sine-1000Hz-300ms.aif
60.25 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
__init__.py
0.046 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
__main__.py
0.04 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
_test_atexit.py
3.614 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
_test_eintr.py
17.653 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
_test_embed_set_config.py
8.551 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
_test_multiprocessing.py
193.637 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
_typed_dict_helper.py
0.482 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
allsans.pem
9.868 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ann_module.py
1.094 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ann_module2.py
0.507 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ann_module3.py
0.438 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ann_module4.py
0.079 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ann_module5.py
0.197 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ann_module6.py
0.135 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ann_module7.py
0.288 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
audiotest.au
27.484 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
audiotests.py
12.134 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
audit-tests.py
11.353 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
autotest.py
0.204 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
bad_coding.py
0.023 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
bad_coding2.py
0.029 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
bad_getattr.py
0.06 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
bad_getattr2.py
0.075 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
bad_getattr3.py
0.136 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
badcert.pem
1.883 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
badkey.pem
2.111 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
badsyntax_3131.py
0.031 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
badsyntax_future10.py
0.093 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
badsyntax_future3.py
0.168 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
badsyntax_future4.py
0.149 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
badsyntax_future5.py
0.18 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
badsyntax_future6.py
0.157 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
badsyntax_future7.py
0.191 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
badsyntax_future8.py
0.119 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
badsyntax_future9.py
0.139 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
badsyntax_pep3120.py
0.014 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
bisect_cmd.py
5.228 KB
12 Aug 2026 11.03 PM
root / linksafe
0755
cfgparser.1
0.065 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
cfgparser.2
19.016 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
cfgparser.3
1.55 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
clinic.test
94.049 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
cmath_testcases.txt
141.047 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
coding20731.py
0.021 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
curses_tests.py
1.227 KB
12 Aug 2026 11.03 PM
root / linksafe
0755
dataclass_module_1.py
0.817 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
dataclass_module_1_str.py
0.815 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
dataclass_module_2.py
0.738 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
dataclass_module_2_str.py
0.736 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
dataclass_textanno.py
0.123 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
datetimetester.py
245.155 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
dis_module.py
0.074 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
doctest_aliases.py
0.234 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
doctest_lineno.py
0.893 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
double_const.py
1.184 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
empty.vbs
0.068 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
exception_hierarchy.txt
1.81 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ffdh3072.pem
2.16 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
final_a.py
0.401 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
final_b.py
0.401 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
floating_points.txt
15.92 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
fork_wait.py
2.232 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
formatfloat_testcases.txt
7.451 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
future_test1.py
0.224 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
future_test2.py
0.146 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
gdb_sample.py
0.149 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
good_getattr.py
0.193 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
idnsans.pem
9.713 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ieee754.txt
3.206 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
imp_dummy.py
0.062 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
inspect_fodder.py
1.882 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
inspect_fodder2.py
3.693 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
inspect_stock_annotations.py
0.497 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
inspect_stringized_annotations.py
0.598 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
inspect_stringized_annotations_2.py
0.059 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
keycert.passwd.pem
4.126 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
keycert.pem
3.963 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
keycert2.pem
3.982 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
keycert3.pem
9.227 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
keycert4.pem
9.24 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
keycertecc.pem
5.505 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
list_tests.py
16.907 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
lock_tests.py
30.152 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
mailcap.txt
1.24 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
make_ssl_certs.py
9.247 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
mapping_tests.py
21.835 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
math_testcases.txt
23.186 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
memory_watchdog.py
0.839 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
mime.types
47.372 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
mock_socket.py
3.702 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
mod_generics_cache.py
1.133 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
mp_fork_bomb.py
0.438 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
mp_preload.py
0.343 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
multibytecodec_support.py
14.187 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
nokia.pem
1.878 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
nosan.pem
7.538 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
nullbytecert.pem
5.308 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
nullcert.pem
0 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
pickletester.py
141.115 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
profilee.py
2.97 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
pstats.pck
65.046 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
pycacert.pem
5.531 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
pycakey.pem
2.426 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
pyclbr_input.py
0.633 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
pydoc_mod.py
0.938 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
pydocfodder.py
6.184 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
pythoninfo.py
23.52 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
randv2_32.pck
7.341 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
randv2_64.pck
7.192 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
randv3.pck
7.816 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
re_tests.py
25.943 KB
12 Aug 2026 11.03 PM
root / linksafe
0755
recursion.tar
0.504 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
regrtest.py
1.277 KB
12 Aug 2026 11.03 PM
root / linksafe
0755
relimport.py
0.026 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
reperf.py
0.525 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
revocation.crl
0.781 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
sample_doctest.py
1.017 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
sample_doctest_no_docstrings.py
0.222 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
sample_doctest_no_doctests.py
0.263 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
secp384r1.pem
0.25 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
selfsigned_pythontestdotnet.pem
2.08 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
seq_tests.py
14.869 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
sgml_input.html
8.1 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
signalinterproctester.py
2.737 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
sortperf.py
4.693 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ssl_cert.pem
1.533 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ssl_key.passwd.pem
2.592 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ssl_key.pem
2.43 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ssl_servers.py
7.108 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
ssltests.py
1.026 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
string_tests.py
68.032 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
talos-2019-0758.pem
1.299 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test___all__.py
4.833 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test___future__.py
2.364 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test__locale.py
7.831 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test__opcode.py
3.048 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test__osx_support.py
13.644 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test__xxsubinterpreters.py
78.938 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_abc.py
23.191 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_abstract_numbers.py
1.492 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_aifc.py
17.771 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_argparse.py
181.085 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_array.py
55.212 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_asdl_parser.py
4.442 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_ast.py
107.269 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_asyncgen.py
46.796 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_asynchat.py
9.399 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_asyncore.py
26.126 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_atexit.py
3.145 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_audioop.py
28.236 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_audit.py
6.465 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_augassign.py
7.684 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_base64.py
35.662 KB
20 Aug 2026 8.19 PM
root / linksafe
0644
test_baseexception.py
7.771 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_bdb.py
43.635 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_bigaddrspace.py
2.83 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_bigmem.py
44.783 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_binascii.py
19.722 KB
20 Aug 2026 8.19 PM
root / linksafe
0644
test_binhex.py
2.101 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_binop.py
14.14 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_bisect.py
15.71 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_bool.py
12.73 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_buffer.py
160.309 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_bufio.py
2.582 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_builtin.py
85.981 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_bytes.py
76.029 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_bz2.py
37.927 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_c_locale_coercion.py
18.922 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_calendar.py
51.016 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_call.py
26.228 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_cgi.py
22.264 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_cgitb.py
2.541 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_charmapcodec.py
1.771 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_check_c_globals.py
1.024 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_class.py
17.413 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_clinic.py
43.034 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_cmath.py
24.084 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_cmd.py
6.103 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_cmd_line.py
37.59 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_cmd_line_script.py
33.629 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_code.py
12.668 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_code_module.py
5.534 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codeccallbacks.py
49.049 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codecencodings_cn.py
3.857 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codecencodings_hk.py
0.685 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codecencodings_iso2022.py
3.654 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codecencodings_jp.py
4.792 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codecencodings_kr.py
2.957 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codecencodings_tw.py
0.665 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codecmaps_cn.py
0.729 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codecmaps_hk.py
0.377 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codecmaps_jp.py
1.703 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codecmaps_kr.py
1.16 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codecmaps_tw.py
0.688 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codecs.py
134.436 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_codeop.py
9.177 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_collections.py
92.151 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_colorsys.py
3.835 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_compare.py
3.738 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_compile.py
46.329 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_compileall.py
47.548 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_complex.py
32.539 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_concurrent_futures.py
56.634 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_configparser.py
86.767 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_contains.py
3.352 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_context.py
30.627 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_contextlib.py
36.896 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_contextlib_async.py
20.667 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_copy.py
26.634 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_copyreg.py
4.393 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_coroutines.py
63.791 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_cprofile.py
6.325 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_crashers.py
1.169 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_crypt.py
4.138 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_csv.py
55.163 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_ctypes.py
0.194 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_curses.py
46.582 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_dataclasses.py
126.753 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_datetime.py
2.313 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_dbm.py
6.11 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_dbm_dumb.py
10.676 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_dbm_gnu.py
6.515 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_dbm_ndbm.py
5.117 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_decimal.py
209.811 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_decorators.py
14.422 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_defaultdict.py
6.127 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_deque.py
33.629 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_descr.py
192.648 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_descrtut.py
11.569 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_devpoll.py
4.442 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_dict.py
50.721 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_dict_version.py
6.096 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_dictcomps.py
5.148 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_dictviews.py
13.689 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_difflib.py
21.475 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_difflib_expect.html
100.846 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_dis.py
56.47 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_distutils.py
0.573 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_doctest.py
101.102 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_doctest.txt
0.293 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_doctest2.py
2.358 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_doctest2.txt
0.383 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_doctest3.txt
0.08 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_doctest4.txt
0.238 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_docxmlrpc.py
8.674 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_dtrace.py
5.138 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_dynamic.py
4.291 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_dynamicclassattribute.py
9.565 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_eintr.py
0.57 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_embed.py
55.877 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_ensurepip.py
12.197 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_enum.py
121.135 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_enumerate.py
8.463 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_eof.py
3.023 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_epoll.py
9.138 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_errno.py
1.044 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_exception_hierarchy.py
7.428 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_exception_variations.py
3.855 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_exceptions.py
90.944 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_extcall.py
14.048 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_faulthandler.py
30.107 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_fcntl.py
7.427 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_file.py
11.778 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_file_eintr.py
10.611 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_filecmp.py
10.326 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_fileinput.py
40.182 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_fileio.py
19.929 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_finalization.py
14.657 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_float.py
66.392 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_flufl.py
1.555 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_fnmatch.py
11.096 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_fork1.py
3.238 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_format.py
23.911 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_fractions.py
29.697 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_frame.py
6.218 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_frozen.py
0.921 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_fstring.py
52.535 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_ftplib.py
43.565 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_funcattrs.py
14.859 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_functools.py
102.674 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_future.py
14.875 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_future3.py
0.479 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_future4.py
0.217 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_future5.py
0.498 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_gc.py
45.915 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_gdb.py
41.705 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_generator_stop.py
0.921 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_generators.py
63.773 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_genericalias.py
12.768 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_genericclass.py
9.282 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_genericpath.py
22.399 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_genexps.py
7.63 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_getopt.py
6.781 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_getpass.py
6.286 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_gettext.py
41.421 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_glob.py
15.347 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_global.py
1.381 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_grammar.py
63.222 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_graphlib.py
8.343 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_grp.py
3.67 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_gzip.py
30.625 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_hash.py
11.447 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_hashlib.py
44.916 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_heapq.py
16.446 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_hmac.py
25.406 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_html.py
4.234 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_htmlparser.py
46.039 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_http_cookiejar.py
78.402 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_http_cookies.py
24.091 KB
20 Aug 2026 8.19 PM
root / linksafe
0644
test_httplib.py
85.236 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_httpservers.py
56.416 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_idle.py
0.99 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_imaplib.py
43.399 KB
20 Aug 2026 8.19 PM
root / linksafe
0644
test_imghdr.py
4.689 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_imp.py
18.929 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_index.py
8.371 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_inspect.py
172.664 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_int.py
28.32 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_int_literal.py
6.888 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_interpreters.py
22.478 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_io.py
171.418 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_ioctl.py
3.24 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_ipaddress.py
125.415 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_isinstance.py
12.961 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_iter.py
36.764 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_iterlen.py
7.096 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_itertools.py
108.432 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_keyword.py
1.972 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_keywordonlyarg.py
6.893 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_kqueue.py
8.756 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_largefile.py
9.977 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_lib2to3.py
0.311 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_linecache.py
9.641 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_list.py
8.648 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_listcomps.py
4.167 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_lltrace.py
3.127 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_locale.py
24.636 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_logging.py
196.579 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_long.py
54.554 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_longexp.py
0.228 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_lzma.py
88.176 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_mailbox.py
91.79 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_mailcap.py
10.161 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_marshal.py
20.457 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_math.py
90.7 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_memoryio.py
31.483 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_memoryview.py
21.373 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_metaclass.py
6.212 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_mimetypes.py
13.852 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_minidom.py
69.837 KB
20 Aug 2026 8.19 PM
root / linksafe
0644
test_mmap.py
31.063 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_module.py
12.367 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_modulefinder.py
12.199 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_msilib.py
5.41 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_multibytecodec.py
15.756 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_multiprocessing_fork.py
0.466 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_multiprocessing_forkserver.py
0.383 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_multiprocessing_main_handling.py
11.567 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_multiprocessing_spawn.py
0.271 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_named_expressions.py
20.62 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_netrc.py
6.006 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_nis.py
1.174 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_nntplib.py
62.684 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_ntpath.py
45.674 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_numeric_tower.py
7.995 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_opcache.py
0.517 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_opcodes.py
3.591 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_openpty.py
0.586 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_operator.py
24.047 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_optparse.py
61.019 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_ordered_dict.py
31.607 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_os.py
168.421 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_ossaudiodev.py
7.072 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_osx_env.py
1.307 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pathlib.py
109.857 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_patma.py
84.781 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pdb.py
68.886 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_peepholer.py
19.772 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pickle.py
19.715 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_picklebuffer.py
4.989 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pickletools.py
4.127 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pipes.py
6.707 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pkg.py
9.594 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pkgutil.py
21.21 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_platform.py
19.98 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_plistlib.py
40.1 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_poll.py
7.274 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_popen.py
2.077 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_poplib.py
17.847 KB
20 Aug 2026 8.19 PM
root / linksafe
0644
test_positional_only_arg.py
17.768 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_posix.py
87.321 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_posixpath.py
41.684 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pow.py
5.435 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pprint.py
50.306 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_print.py
7.722 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_profile.py
8.692 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_property.py
11.353 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pstats.py
3.31 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pty.py
16.842 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pulldom.py
12.664 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pwd.py
4.294 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_py_compile.py
11.518 KB
20 Aug 2026 8.19 PM
root / linksafe
0644
test_pyclbr.py
9.842 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pydoc.py
60.534 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_pyexpat.py
41.926 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_queue.py
20.512 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_quopri.py
7.775 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_raise.py
13.442 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_random.py
55.177 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_range.py
24.637 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_re.py
112.855 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_readline.py
14.241 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_regrtest.py
49.501 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_repl.py
3.955 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_reprlib.py
15.129 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_resource.py
7.041 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_richcmp.py
11.91 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_rlcompleter.py
7.102 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_robotparser.py
10.884 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_runpy.py
33.861 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_sax.py
54.633 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_sched.py
7.278 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_scope.py
19.831 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_script_helper.py
5.777 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_secrets.py
4.278 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_select.py
3.318 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_selectors.py
18.269 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_set.py
69.094 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_setcomps.py
4.146 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_shelve.py
6.024 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_shlex.py
13.478 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_shutil.py
109.3 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_signal.py
48.797 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_site.py
27.799 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_slice.py
9.232 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_smtpd.py
40.653 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_smtplib.py
60.049 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_smtpnet.py
2.985 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_sndhdr.py
1.426 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_socket.py
251.884 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_socketserver.py
17.89 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_sort.py
13.425 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_source_encoding.py
9.03 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_spwd.py
2.729 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_sqlite.py
0.965 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_ssl.py
217.656 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_startfile.py
1.695 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_stat.py
8.579 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_statistics.py
113.216 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_strftime.py
7.543 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_string.py
19.797 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_string_literals.py
10.196 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_stringprep.py
3.04 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_strptime.py
34.424 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_strtod.py
20.056 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_struct.py
36.19 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_structseq.py
4.419 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_subclassinit.py
8.118 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_subprocess.py
156.333 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_sunau.py
5.981 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_sundry.py
2.861 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_super.py
9.598 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_support.py
25.334 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_symtable.py
9.362 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_syntax.py
52.333 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_sys.py
58.564 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_sys_setprofile.py
13.186 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_sys_settrace.py
62.719 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_sysconfig.py
18.915 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_syslog.py
2.71 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_tabnanny.py
13.438 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_tarfile.py
183.008 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_tcl.py
31.541 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_telnetlib.py
12.744 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_tempfile.py
66.99 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_textwrap.py
41.886 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_thread.py
8.545 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_threadedtempfile.py
1.873 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_threading.py
58.38 KB
20 Aug 2026 8.19 PM
root / linksafe
0644
test_threading_local.py
6.658 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_threadsignals.py
10.108 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_time.py
39.932 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_timeit.py
15.195 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_timeout.py
10.998 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_tix.py
1.048 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_tk.py
0.533 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_tokenize.py
64.514 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_trace.py
20.4 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_traceback.py
54.548 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_tracemalloc.py
39.169 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_ttk_guionly.py
0.963 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_ttk_textonly.py
16.693 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_tuple.py
18.854 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_turtle.py
12.746 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_type_annotations.py
3.696 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_type_comments.py
10.535 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_typechecks.py
2.554 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_types.py
75.666 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_typing.py
179.662 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_ucn.py
9.52 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_unary.py
1.626 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_unicode.py
120.588 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_unicode_file.py
5.705 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_unicode_file_functions.py
6.74 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_unicode_identifiers.py
0.961 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_unicodedata.py
17.758 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_unittest.py
0.221 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_univnewlines.py
3.879 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_unpack.py
3.014 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_unpack_ex.py
9.907 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_unparse.py
18.593 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_urllib.py
70.497 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_urllib2.py
78.969 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_urllib2_localnet.py
25.496 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_urllib2net.py
14.066 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_urllib_response.py
1.892 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_urllibnet.py
9.323 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_urlparse.py
74.85 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_userdict.py
7.563 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_userlist.py
1.969 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_userstring.py
2.403 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_utf8_mode.py
10.288 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_utf8source.py
1.147 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_uu.py
8.915 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_uuid.py
40 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_venv.py
26.251 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_wait3.py
1.806 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_wait4.py
1.161 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_wave.py
6.502 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_weakref.py
73.735 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_weakset.py
15.415 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_webbrowser.py
13.512 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_winconsoleio.py
6.569 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_winreg.py
22.202 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_winsound.py
4.612 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_with.py
25.99 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_wsgiref.py
31.878 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_xdrlib.py
2.174 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_xml_dom_minicompat.py
4.182 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_xml_etree.py
161.732 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_xml_etree_c.py
8.478 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_xmlrpc.py
57.656 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_xmlrpc_net.py
0.932 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_xxlimited.py
2.135 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_xxtestfuzz.py
0.674 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_yield_from.py
30.094 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_zipapp.py
15.922 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_zipfile.py
137.631 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_zipfile64.py
5.858 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_zipimport.py
33.563 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_zipimport_support.py
10.461 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
test_zlib.py
35.06 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
testcodec.py
1.021 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
testtar.tar
425 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
testtar.tar.xz
0.168 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
tf_inherit_check.py
0.697 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
time_hashlib.py
2.874 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
0.433 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
0.295 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
0.411 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
0.318 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
tokenize_tests.txt
2.653 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
win_console_handler.py
1.383 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
xmltests.py
0.487 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
zip_cp437_header.zip
0.264 KB
12 Aug 2026 11.03 PM
root / linksafe
0644
zipdir.zip
0.365 KB
12 Aug 2026 11.03 PM
root / linksafe
0644

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