Message192766
On 9 July 2013 17:36, Éric Araujo <[email protected]> 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 |
|
| Date |
User |
Action |
Args |
| 2013-07-09 16:43:52 | oscarbenjamin | set | recipients:
+ oscarbenjamin, lemburg, loewis, doko, paul.moore, pje, geertj, christian.heimes, schmir, tarek, jwilk, eric.araujo, rpetrov, cmcqueen1975, rubenvb, santoso.wijaya, alexis, Seppo.Yli-Olli, jonforums, RubyTuesdayDONO, Jeffrey.Armstrong, danmbox, Martin.Fiers, Pete.Forman, renatosilva, fratti |
| 2013-07-09 16:43:52 | oscarbenjamin | link | issue12641 messages |
| 2013-07-09 16:43:52 | oscarbenjamin | create | |
|