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 Ray.Donnelly
Recipients Ray.Donnelly, pitrou, sbt
Date 2012-11-11.21:49:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352670574.14.0.083815608214.issue16454@psf.upfronthosting.co.za>
In-reply-to
Content
I'm submitting this patch as it was suggested I do so by Antoine Pitrou on #python-dev. As such, it's more a point of discussion than a patch I'm trying to get merged (for one thing, my build is a MinGW GCC compiled and I've not considered the MSVC Windows build).

I ran into a problem with a customisation I made to cygwinccompiler.py where I wanted to use Popen to ask gcc where it's ld is:

out = Popen(gcc+' --print-prog-name ld', shell=True, stdout=PIPE).stdout

This has worked fine before on 2.7.3, but with 3.3.0, subprocess can't be imported as _winapi isn't builtin, instead, it's built by setup.py as a module.

So is this the right thing to do? Or is distutils not supposed to use subprocess during bootstrapping?
History
Date User Action Args
2012-11-11 21:49:34Ray.Donnellysetrecipients: + Ray.Donnelly, pitrou, sbt
2012-11-11 21:49:34Ray.Donnellysetmessageid: <1352670574.14.0.083815608214.issue16454@psf.upfronthosting.co.za>
2012-11-11 21:49:34Ray.Donnellylinkissue16454 messages
2012-11-11 21:49:33Ray.Donnellycreate