[New-bugs-announce] [issue20852] Embedding with zipped standard library is broken in 3.3.4 (Windows)

Andrey Antsut report at bugs.python.org
Tue Mar 4 23:33:30 CET 2014


New submission from Andrey Antsut:

When embedding Python into C++, Py_Initialize() crashes with following errors if the standard library (python33\lib) is in a zip archive (e.g. python33.zip):

Fatal Python error: Py_Initialize: unable to load the file system codec
ImportError: No module named 'encodings'

This seems to be specific to Python 3.3.4: works fine with 3.3.2 and 3.3.3, not tested with other versions. Tested only on Windows.

More details with code examples can be found here:

http://stackoverflow.com/questions/22174760/embedding-python-3-3-in-c-from-zipped-standard-library-on-windows-xp

----------
messages: 212744
nosy: Andrey.Antsut
priority: normal
severity: normal
status: open
title: Embedding with zipped standard library is broken in 3.3.4 (Windows)
type: crash
versions: Python 3.3

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


More information about the New-bugs-announce mailing list