Oscar Benjamin added the comment: On 9 July 2013 17:36, Éric Araujo <rep...@bugs.python.org> wrote: > > Don’t forget that distutils is used during CPython’s build process to compile > extension modules: subprocess may not be importable then.
Subprocess is imported at at the top of the module in 3.x [1]. The whole distutils.cygwinccompiler module is an ImportError if subprocess is not importable. Or did you mean for 2.7 only (where get_versions() uses os.popen)? [1] http://hg.python.org/cpython/file/3f3cbfd52f94/Lib/distutils/cygwinccompiler.py#l51 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12641> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com