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.

Title: subprocess: NameError: name 'WaitForSingleObject' is not def
Type: crash Stage:
Components: Library (Lib) Versions: Python 2.7
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: brett.cannon, srid, vstinner
Priority: normal Keywords:

Created on 2010-05-14 21:35 by srid, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg105768 - (view) Author: Sridhar Ratnakumar (srid) Date: 2010-05-14 21:35
This was a regression due to a commit made less than 2 days ago.

make: [build_pywin32] running 'F:\as\apy\build\pyhg_trunk-win64-x64-hgtip27-rrun
\python\PCbuild\amd64\python.exe build' in 'build\pyhg_trunk-win64-x64-
Traceback (most recent call last):
  File "", line 83, in <module>
    from distutils.command.build_ext import build_ext
  File "F:\as\apy\build\pyhg_trunk-win64-x64-hgtip27-rrun\python\lib\distutils\c
ommand\", line 23, in <module>
    from distutils.msvccompiler import get_build_version
  File "F:\as\apy\build\pyhg_trunk-win64-x64-hgtip27-rrun\python\lib\distutils\m", line 657, in <module>
    from distutils.msvc9compiler import MSVCCompiler
  File "F:\as\apy\build\pyhg_trunk-win64-x64-hgtip27-rrun\python\lib\distutils\m", line 18, in <module>
    import subprocess
  File "F:\as\apy\build\pyhg_trunk-win64-x64-hgtip27-rrun\python\lib\subprocess.
py", line 611, in <module>
    class Popen(object):
  File "F:\as\apy\build\pyhg_trunk-win64-x64-hgtip27-rrun\python\lib\subprocess.
py", line 911, in Popen
NameError: name 'WaitForSingleObject' is not defined
msg105769 - (view) Author: Sridhar Ratnakumar (srid) Date: 2010-05-14 21:37
msg105773 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2010-05-14 21:59
Duplicate of #5099 (and #8717). It should be fixed now.
Date User Action Args
2022-04-11 14:57:01adminsetgithub: 52964
2010-05-14 21:59:20vstinnersetstatus: open -> closed

nosy: + vstinner
messages: + msg105773

resolution: fixed
2010-05-14 21:37:40sridsetnosy: + brett.cannon
messages: + msg105769
2010-05-14 21:35:58sridcreate