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/ccompiler.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/ccompiler.py')
-rw-r--r-- | numpy/distutils/ccompiler.py | 6 |
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() |