[Python-checkins] cpython: Issue #9709: Revert 97fb852c5c26. Many extensions are not using PyMODINIT_FUNC.

stefan.krah python-checkins at python.org
Tue Jan 28 15:05:36 CET 2014


http://hg.python.org/cpython/rev/69827c2ab9d0
changeset:   88793:69827c2ab9d0
user:        Stefan Krah <skrah at bytereef.org>
date:        Tue Jan 28 15:04:40 2014 +0100
summary:
  Issue #9709: Revert 97fb852c5c26. Many extensions are not using PyMODINIT_FUNC.

files:
  Lib/distutils/command/build_ext.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -538,7 +538,7 @@
             library_dirs=ext.library_dirs,
             runtime_library_dirs=ext.runtime_library_dirs,
             extra_postargs=extra_args,
-            export_symbols=ext.export_symbols,
+            export_symbols=self.get_export_symbols(ext),
             debug=self.debug,
             build_temp=self.build_temp,
             target_lang=language)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list