New submission from Ray Donnelly:
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?
nosy: Ray.Donnelly, pitrou, sbt
title: Mostly for discussion: _winapi as builtin for bootstrapping distutils.
versions: Python 3.4
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list