aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/build_ext.py
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2020-07-11 12:51:48 -0600
committerAlex Henrie <alexhenrie24@gmail.com>2020-07-11 12:51:48 -0600
commit8b4ce333c093f459698c0545550269a393387c5f (patch)
treeb380e7ba6abd54ea8862a7bba1151b167bf546b2 /setuptools/command/build_ext.py
parent599f6393c1be4d5852f5b9884b9fb282a16ca64a (diff)
downloadexternal_python_setuptools-8b4ce333c093f459698c0545550269a393387c5f.tar.gz
external_python_setuptools-8b4ce333c093f459698c0545550269a393387c5f.tar.bz2
external_python_setuptools-8b4ce333c093f459698c0545550269a393387c5f.zip
Change exec_module to load_module
Fixes #2246
Diffstat (limited to 'setuptools/command/build_ext.py')
-rw-r--r--setuptools/command/build_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py
index 327fa063..0eb29adc 100644
--- a/setuptools/command/build_ext.py
+++ b/setuptools/command/build_ext.py
@@ -268,7 +268,7 @@ class build_ext(_build_ext):
" os.chdir(os.path.dirname(__file__))",
if_dl(" sys.setdlopenflags(dl.RTLD_NOW)"),
" ExtensionFileLoader(__name__,",
- " __file__).exec_module()",
+ " __file__).load_module()",
" finally:",
if_dl(" sys.setdlopenflags(old_flags)"),
" os.chdir(old_dir)",