[issue33944] Deprecate and remove pth files
Change by Peter L : -- nosy: +Peter L3 ___ Python tracker <https://bugs.python.org/issue33944> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33944] Deprecate and remove pth files
Peter L added the comment: +1 for python -v listing .pth files found and loaded. For debugging, I just add a: import sys; print('Loading mypth.pth') to the start of the pth file. A plain print doesn't work(?). breakpoint() doesn't work(?). It would be nice to be able to get the filename (__file__ is site.py) -- ___ Python tracker <https://bugs.python.org/issue33944> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue26886] Cross-compiling python:3.5.x fails with "Parser/pgen: Parser/pgen: cannot execute binary file"
New submission from Peter L: Cross-compiling python-3.5.x fails with "Parser/pgen: Parser/pgen: cannot execute binary file" (CBUILD="x86_64-pc-linux-gnu" and CHOST="armv7a-hardfloat-linux-gnueabi"). python-3.5.x requires "pgen" and "_freeze_importlib" to be compiled and executed at build time. Otherwise, it fails with "Parser/pgen: Parser/pgen: cannot execute binary file". -- components: Cross-Build messages: 264508 nosy: Alex.Willmer, Peter L2 priority: normal severity: normal status: open title: Cross-compiling python:3.5.x fails with "Parser/pgen: Parser/pgen: cannot execute binary file" type: compile error versions: Python 3.5 ___ Python tracker <http://bugs.python.org/issue26886> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue26886] Cross-compiling python:3.5.x fails with "Parser/pgen: Parser/pgen: cannot execute binary file"
Peter L added the comment: Originally posted: https://bugs.gentoo.org/show_bug.cgi?id=581304 -- keywords: +patch Added file: http://bugs.python.org/file42654/python-3.5-crosscompile.patch ___ Python tracker <http://bugs.python.org/issue26886> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue26886] Cross-compiling python:3.5.x fails with "Parser/pgen: Parser/pgen: cannot execute binary file"
Peter L added the comment: Hmmm. Solves half the problem. Still fails when trying to run "_freeze_importlib". This works though: https://hg.python.org/cpython/rev/66e40df31fac -- ___ Python tracker <http://bugs.python.org/issue26886> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue26886] Cross-compiling python:3.5.x fails with "Parser/pgen: Parser/pgen: cannot execute binary file"
Peter L added the comment: Gonna close it since it seems to be related to http://bugs.python.org/issue22359 and solved with https://hg.python.org/cpython/rev/66e40df31fac -- resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/issue26886> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com