[issue12641] Remove -mno-cygwin from distutils

Oscar Benjamin report at bugs.python.org
Tue Jul 9 18:43:52 CEST 2013


Oscar Benjamin added the comment:

On 9 July 2013 17:36, Éric Araujo <report at 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 <report at bugs.python.org>
<http://bugs.python.org/issue12641>
_______________________________________


More information about the Python-bugs-list mailing list