Author Jeffrey.Armstrong
Recipients Jeffrey.Armstrong
Date 2015-08-01.03:17:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438399062.56.0.479680111973.issue24769@psf.upfronthosting.co.za>
In-reply-to
Content
When attempting to build Python without dynamic loading (HAVE_DYNAMIC_LOADING is not defined), the module "_imp" will not have the function "exec_dynamic."  However, Lib/bootstrap.py seems to assume that "_imp.exec_dynamic" exists, causing the error:

----
./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
	echo "generate-posix-vars failed" ; \
	rm -f ./pybuilddir.txt ; \
	exit 1 ; \
fi
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 1134, in _install
  File "<frozen importlib._bootstrap>", line 1114, in _setup
  File "<frozen importlib._bootstrap>", line 1082, in _builtin_from_name
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 748, in exec_module
AttributeError: module '_imp' has no attribute 'exec_dynamic'
Fatal Python error: Py_Initialize: importlib install failed

Current thread 0x00000000 (most recent call first):
ABNORMAL TERMINATION
generate-posix-vars failed
----

when trying to build.  This error means that Python 3.5 will not be able to build in a purely static (no dynamic loading whatsoever) form.

This error was encountered in Python 3.5b4.
History
Date User Action Args
2015-08-01 03:17:42Jeffrey.Armstrongsetrecipients: + Jeffrey.Armstrong
2015-08-01 03:17:42Jeffrey.Armstrongsetmessageid: <1438399062.56.0.479680111973.issue24769@psf.upfronthosting.co.za>
2015-08-01 03:17:42Jeffrey.Armstronglinkissue24769 messages
2015-08-01 03:17:41Jeffrey.Armstrongcreate