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.

classification
Title: subprocess: NameError: name 'WaitForSingleObject' is not def
Type: crash Stage:
Components: Library (Lib) Versions: Python 2.7
process
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 setup.py build' in 'build\pyhg_trunk-win64-x64-
hgtip27-rrun\pywin32'
Traceback (most recent call last):
  File "setup.py", 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\build_ext.py", 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
svccompiler.py", line 657, in <module>
    from distutils.msvc9compiler import MSVCCompiler
  File "F:\as\apy\build\pyhg_trunk-win64-x64-hgtip27-rrun\python\lib\distutils\m
svc9compiler.py", 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
    _WaitForSingleObject=WaitForSingleObject,
NameError: name 'WaitForSingleObject' is not defined
msg105769 - (view) Author: Sridhar Ratnakumar (srid) Date: 2010-05-14 21:37
+brett

http://svn.python.org/view/python/trunk/Lib/subprocess.py?r1=80496&r2=81154
msg105773 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2010-05-14 21:59
Duplicate of #5099 (and #8717). It should be fixed now.
History
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