Skip to content

Instantly share code, notes, and snippets.

View ocswor's full-sized avatar
🎯
Focusing

Eric ocswor

🎯
Focusing
View GitHub Profile
import logging
from concurrent.futures import Executor
from functools import partial
from multiprocessing.pool import ThreadPool as ThreadPoolBase
log = logging.getLogger()
class ThreadPool(ThreadPoolBase, Executor):