diff options
author | François Le Lay <mfworx@gmail.com> | 2021-02-17 07:24:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 07:24:39 -0500 |
commit | dd20b6241590622e847eb4538a224e87eff483f9 (patch) | |
tree | ce19093db8a459c59819d64e887bb893f5ed11c6 /numpy/distutils/misc_util.py | |
parent | 98bf466b42aea9bb804275af6f11d1c7cfdebbad (diff) | |
parent | 6f65e1fc25f265ff36bdbfb3aa482f65fd84a684 (diff) | |
download | numpy-dd20b6241590622e847eb4538a224e87eff483f9.tar.gz |
Merge branch 'master' into random-standard_t-doc
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() |