classification
Title: freeze.py doesn't work on x86_64 Linux out of the box
Type: Stage:
Components: Demos and Tools Versions: Python 3.2, Python 3.3, Python 3.4, Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: termim, vstinner
Priority: normal Keywords: patch

Created on 2015-08-15 03:13 by termim, last changed 2019-05-15 03:00 by vstinner.

Files
File name Uploaded Description Edit
freeze-lib64.diff termim, 2015-08-15 03:13 patch against Python-3.4.3 review
Messages (1)
msg248633 - (view) Author: Mikhail Terekhov (termim) * Date: 2015-08-15 03:13
On 64-bit Linux freeze.py uses lib instead of lib64 when constructing
path to Makefile etc. Using sysconfig fixes this issue.


Without encodings.ascii resulting program fails with the following error:

Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: unknown encoding: ANSI_X3.4-1968
Aborted

Attached patch fixes both issues.
History
Date User Action Args
2019-05-15 03:00:42vstinnersetnosy: + vstinner
2015-08-15 03:13:46termimcreate