[issue33944] Deprecate and remove pth files

2019-02-27 Thread Peter L
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

[issue33944] Deprecate and remove pth files

2019-02-27 Thread Peter L
Change by Peter L : -- nosy: +Peter L3 ___ Python tracker <https://bugs.python.org/issue33944> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26886] Cross-compiling python:3.5.x fails with "Parser/pgen: Parser/pgen: cannot execute binary file"

2016-04-29 Thread Peter L
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 tracke

[issue26886] Cross-compiling python:3.5.x fails with "Parser/pgen: Parser/pgen: cannot execute binary file"

2016-04-29 Thread Peter L
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 <rep...@bugs.python.org> <htt

[issue26886] Cross-compiling python:3.5.x fails with "Parser/pgen: Parser/pgen: cannot execute binary file"

2016-04-29 Thread Peter L
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 <rep...@bugs.python.org>

[issue26886] Cross-compiling python:3.5.x fails with "Parser/pgen: Parser/pgen: cannot execute binary file"

2016-04-29 Thread Peter L
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_imp