[issue16467] frozen importlib required for extending Python interpreter not public

2012-11-29 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16467 ___ ___ Python-bugs-list mailing list

[issue16467] frozen importlib required for extending Python interpreter not public

2012-11-13 Thread Anthony Tuininga
New submission from Anthony Tuininga: With Python 3.3, the ability to create a Python interpreter independent of a Python installation (as is done with cx_Freeze and other such freezing tools) has become more difficult to accomplish. Py_Initialize() requires the presence of a frozen importlib

[issue16467] frozen importlib required for extending Python interpreter not public

2012-11-13 Thread R. David Murray
R. David Murray added the comment: The file certainly exists, since Python requires it to run. It sounds like cx_Freeze just doesn't support Python3.3 yet. I don't see that this is a Python bug. -- nosy: +r.david.murray ___ Python tracker

[issue16467] frozen importlib required for extending Python interpreter not public

2012-11-13 Thread Anthony Tuininga
Anthony Tuininga added the comment: The file importlib.h is used when building the Python interpreter but it is *not* available in a standard (non-source) distribution of Python. I have copied the file from a source distribution of Python and that does in fact work, but I don`t want to make

[issue16467] frozen importlib required for extending Python interpreter not public

2012-11-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I tried to remove all references to #include importlib.h and _Py_M__importlib, and added the lines in _AddBaseModules(): self.AddAlias(_frozen_importlib, importlib._bootstrap) self.IncludeModule(_frozen_importlib) Even if it's not optimal (the

[issue16467] frozen importlib required for extending Python interpreter not public

2012-11-13 Thread Thomas Kluyver
Changes by Thomas Kluyver tak...@gmail.com: -- nosy: +takluyver ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16467 ___ ___ Python-bugs-list

[issue16467] frozen importlib required for extending Python interpreter not public

2012-11-13 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +brett.cannon, eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16467 ___ ___

[issue16467] frozen importlib required for extending Python interpreter not public

2012-11-13 Thread Anthony Tuininga
Anthony Tuininga added the comment: Thanks to Amaury for his suggestion. It resolves the problem completely and answers the question I had about how to proceed. For others who may come across this, the key was to generate the importlib._bootstrap module (which is what is found in importlib.h)