summaryrefslogtreecommitdiff
path: root/numpy/distutils/ccompiler.py
diff options
context:
space:
mode:
authorFrançois Le Lay <mfworx@gmail.com>2021-02-17 07:24:39 -0500
committerGitHub <noreply@github.com>2021-02-17 07:24:39 -0500
commitdd20b6241590622e847eb4538a224e87eff483f9 (patch)
treece19093db8a459c59819d64e887bb893f5ed11c6 /numpy/distutils/ccompiler.py
parent98bf466b42aea9bb804275af6f11d1c7cfdebbad (diff)
parent6f65e1fc25f265ff36bdbfb3aa482f65fd84a684 (diff)
downloadnumpy-dd20b6241590622e847eb4538a224e87eff483f9.tar.gz
Merge branch 'master' into random-standard_t-doc
Diffstat (limited to 'numpy/distutils/ccompiler.py')
-rw-r--r--numpy/distutils/ccompiler.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/numpy/distutils/ccompiler.py b/numpy/distutils/ccompiler.py
index 106436e64..f025c8904 100644
--- a/numpy/distutils/ccompiler.py
+++ b/numpy/distutils/ccompiler.py
@@ -26,10 +26,8 @@ from numpy.distutils.misc_util import cyg2win32, is_sequence, mingw32, \
_commandline_dep_string
# globals for parallel build management
-try:
- import threading
-except ImportError:
- import dummy_threading as threading
+import threading
+
_job_semaphore = None
_global_lock = threading.Lock()
_processing_files = set()