[issue14928] Fix importlib bootstrapping issues

Antoine Pitrou report at bugs.python.org
Sat Jun 16 22:15:49 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

Here is a patch for the "separate C executable" approach. There are a couple of small complications in order to avoid any circular dependency (either at the Makefile level, or at the _frozen_importlib / Py_Initialize level).

The proposed "-X" or BOOTSTRAP_PY approaches would be difficult, since there doesn't appear to be an easy way to generate a given file (the Python interpreter) twice in a Makefile dependency chain: the first time using the stale importlib, the second with the fresh importlib.

----------
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file26030/cfreeze.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14928>
_______________________________________


More information about the Python-bugs-list mailing list