OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3.7
/
concurrent
/
futures
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 06:49:08 AM
rwxr-xr-x
📄
__init__.py
1.46 KB
12/09/2021 05:04:37 PM
rw-r--r--
📁
__pycache__
-
05/09/2024 06:49:08 AM
rwxr-xr-x
📄
_base.py
21.31 KB
12/09/2021 05:04:37 PM
rw-r--r--
📄
process.py
27.36 KB
12/09/2021 05:04:37 PM
rw-r--r--
📄
thread.py
7.81 KB
12/09/2021 05:04:37 PM
rw-r--r--
Editing: __init__.py
Close
# Copyright 2009 Brian Quinlan. All Rights Reserved. # Licensed to PSF under a Contributor Agreement. """Execute computations asynchronously using threads or processes.""" __author__ = 'Brian Quinlan (brian@sweetapp.com)' from concurrent.futures._base import (FIRST_COMPLETED, FIRST_EXCEPTION, ALL_COMPLETED, CancelledError, TimeoutError, BrokenExecutor, Future, Executor, wait, as_completed) __all__ = ( 'FIRST_COMPLETED', 'FIRST_EXCEPTION', 'ALL_COMPLETED', 'CancelledError', 'TimeoutError', 'BrokenExecutor', 'Future', 'Executor', 'wait', 'as_completed', 'ProcessPoolExecutor', 'ThreadPoolExecutor', ) def __dir__(): return __all__ + ('__author__', '__doc__') def __getattr__(name): global ProcessPoolExecutor, ThreadPoolExecutor if name == 'ProcessPoolExecutor': from .process import ProcessPoolExecutor as pe ProcessPoolExecutor = pe return pe if name == 'ThreadPoolExecutor': from .thread import ThreadPoolExecutor as te ThreadPoolExecutor = te return te raise AttributeError(f"module {__name__} has no attribute {name}")