Author tarek
Recipients jnoller, tarek
Date 2010-01-24.23:23:19
SpamBayes Score 8.3111e-09
Marked as misclassified No
Message-id <1264375402.09.0.657503917056.issue7774@psf.upfronthosting.co.za>
In-reply-to
Content
test_subprocess.test_executable now has a failure in the subprocess created (see http://www.python.org/dev/buildbot/builders/amd64%20gentoo%20trunk/builds/303/steps/test/logs/stdio)

the bbots don't get red because this is happening in the subprocess and the test just look for the return code.

This is hapenning since I've added the sysconfig module. This change revealed a bug in subprocess.

This call :

  subprocess.Popen(["somethingyoudonthave", "-c", "import sys; print sys.executable"], executable=sys.executable)   

will print a directory name for sys.executable, instead of the real value. That's fooling sysconfig, which is now called through site.py, to set a few variables.
History
Date User Action Args
2010-01-24 23:23:22tareksetrecipients: + tarek, jnoller
2010-01-24 23:23:22tareksetmessageid: <1264375402.09.0.657503917056.issue7774@psf.upfronthosting.co.za>
2010-01-24 23:23:20tareklinkissue7774 messages
2010-01-24 23:23:19tarekcreate