Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /usr/lib/python3.8/site-packages/setuptools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib/python3.8/site-packages/setuptools/py31compat.py
__all__ = []

__metaclass__ = type


try:
    # Python >=3.2
    from tempfile import TemporaryDirectory
except ImportError:
    import shutil
    import tempfile

    class TemporaryDirectory:
        """
        Very simple temporary directory context manager.
        Will try to delete afterward, but will also ignore OS and similar
        errors on deletion.
        """

        def __init__(self, **kwargs):
            self.name = None  # Handle mkdtemp raising an exception
            self.name = tempfile.mkdtemp(**kwargs)

        def __enter__(self):
            return self.name

        def __exit__(self, exctype, excvalue, exctrace):
            try:
                shutil.rmtree(self.name, True)
            except OSError:  # removal errors are not the only possible
                pass
            self.name = None
Name
Size
Permissions
Options
__pycache__
--
drwxr-xr-x
_vendor
--
drwxr-xr-x
command
--
drwxr-xr-x
extern
--
drwxr-xr-x
__init__.py
7.112 KB
-rw-r--r--
_deprecation_warning.py
0.213 KB
-rw-r--r--
_imp.py
2.171 KB
-rw-r--r--
archive_util.py
6.438 KB
-rw-r--r--
build_meta.py
9.372 KB
-rw-r--r--
config.py
20.053 KB
-rw-r--r--
dep_util.py
0.913 KB
-rw-r--r--
depends.py
5.388 KB
-rw-r--r--
dist.py
49.13 KB
-rw-r--r--
extension.py
1.688 KB
-rw-r--r--
glibc.py
3.072 KB
-rw-r--r--
glob.py
4.965 KB
-rw-r--r--
launch.py
0.769 KB
-rw-r--r--
lib2to3_ex.py
1.966 KB
-rw-r--r--
monkey.py
5.141 KB
-rw-r--r--
msvc.py
45.655 KB
-rw-r--r--
namespaces.py
3.124 KB
-rw-r--r--
package_index.py
39.653 KB
-rw-r--r--
pep425tags.py
10.606 KB
-rw-r--r--
py27compat.py
1.461 KB
-rw-r--r--
py31compat.py
0.818 KB
-rw-r--r--
py33compat.py
1.299 KB
-rw-r--r--
py34compat.py
0.239 KB
-rw-r--r--
sandbox.py
13.941 KB
-rw-r--r--
script (dev).tmpl
0.213 KB
-rw-r--r--
script.tmpl
0.135 KB
-rw-r--r--
site-patch.py
2.248 KB
-rw-r--r--
ssl_support.py
8.294 KB
-rw-r--r--
unicode_utils.py
0.973 KB
-rw-r--r--
version.py
0.141 KB
-rw-r--r--
wheel.py
7.904 KB
-rw-r--r--
windows_support.py
0.697 KB
-rw-r--r--