This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doko
Recipients doko
Date 2014-05-06.12:57:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399381048.04.0.559283727709.issue21264@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-05-06 12:57:28dokosetrecipients: + doko
2014-05-06 12:57:28dokosetmessageid: <1399381048.04.0.559283727709.issue21264@psf.upfronthosting.co.za>
2014-05-06 12:57:28dokolinkissue21264 messages
2014-05-06 12:57:27dokocreate