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 Rosuav
Recipients Rosuav, brett.cannon, vstinner, xdegaye
Date 2016-09-07.07:00:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473231619.43.0.846567353107.issue27322@psf.upfronthosting.co.za>
In-reply-to
Content
Just ran into the same issue, but in a slightly different way, and with slightly different consequences. You can actually eliminate this failure by manually running compileall on the affected directory:

sudo python3 -m compileall /usr/local/lib/python3.6/site-packages

In other words, a test failure can come and go depending on the presence of other files on the system.

IMO the test should (a) restrict itself to directories within the build tree, and (b) call compile_path with force=True. That should make it more consistent. Something like the attached patch.
History
Date User Action Args
2016-09-07 07:00:19Rosuavsetrecipients: + Rosuav, brett.cannon, vstinner, xdegaye
2016-09-07 07:00:19Rosuavsetmessageid: <1473231619.43.0.846567353107.issue27322@psf.upfronthosting.co.za>
2016-09-07 07:00:19Rosuavlinkissue27322 messages
2016-09-07 07:00:19Rosuavcreate