Matthias Klose added the comment: what happens here:
PYTHONPATH=$(pwd) python3.4 -X faulthandler -S -m compileall Skipping current directory Listing '/home/packages/python/3.4/x'... Compiling '/home/packages/python/3.4/x/foo.py'... Listing '/usr/lib/python3.4/'... Listing '/usr/lib/python3.4/plat-x86_64-linux-gnu'... Listing '/usr/lib/python3.4/lib-dynload'... so even when overwriting PYTHONPATH, the standard locations are searched and tried to compile, which fails when these are read only. Is this behaviour expected? The tests itself can be fixed by passing the the test directory as an argument, as done in other tests too. ---------- components: +Tests keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file35162/issue21264.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21264> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com