diff options
author | Kevin Sheppard <kevin.k.sheppard@gmail.com> | 2021-02-11 14:47:42 +0000 |
---|---|---|
committer | Kevin Sheppard <kevin.k.sheppard@gmail.com> | 2021-02-11 14:47:42 +0000 |
commit | ab5bc96953995740e755027f1264ddfc3ddea895 (patch) | |
tree | df8560fce73565f0ed89dfa46e63512c7c8ba3a7 /numpy/distutils/misc_util.py | |
parent | 871009f6415a2f588230e2e36bc9dbe751698ee1 (diff) | |
download | numpy-ab5bc96953995740e755027f1264ddfc3ddea895.tar.gz |
MAINT: Remove dummy_threading
Threading is guaranteed to be supported in Python 3.7+
Diffstat (limited to 'numpy/distutils/misc_util.py')
-rw-r--r-- | numpy/distutils/misc_util.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py index 5392663d6..37e120072 100644 --- a/numpy/distutils/misc_util.py +++ b/numpy/distutils/misc_util.py @@ -10,13 +10,10 @@ import shutil import multiprocessing import textwrap import importlib.util +from threading import local as tlocal import distutils from distutils.errors import DistutilsError -try: - from threading import local as tlocal -except ImportError: - from dummy_threading import local as tlocal # stores temporary directory of each thread to only create one per thread _tdata = tlocal() |