Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subprocess: NameError: name 'WaitForSingleObject' is not def #52964

Closed
srid mannequin opened this issue May 14, 2010 · 3 comments
Closed

subprocess: NameError: name 'WaitForSingleObject' is not def #52964

srid mannequin opened this issue May 14, 2010 · 3 comments
Labels
stdlib Python modules in the Lib dir type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@srid
Copy link
Mannequin

srid mannequin commented May 14, 2010

BPO 8718
Nosy @brettcannon, @vstinner

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2010-05-14.21:59:20.827>
created_at = <Date 2010-05-14.21:35:58.687>
labels = ['library', 'type-crash']
title = "subprocess: NameError: name 'WaitForSingleObject' is not def"
updated_at = <Date 2010-05-14.21:59:20.825>
user = 'https://bugs.python.org/srid'

bugs.python.org fields:

activity = <Date 2010-05-14.21:59:20.825>
actor = 'vstinner'
assignee = 'none'
closed = True
closed_date = <Date 2010-05-14.21:59:20.827>
closer = 'vstinner'
components = ['Library (Lib)']
creation = <Date 2010-05-14.21:35:58.687>
creator = 'srid'
dependencies = []
files = []
hgrepos = []
issue_num = 8718
keywords = []
message_count = 3.0
messages = ['105768', '105769', '105773']
nosy_count = 3.0
nosy_names = ['brett.cannon', 'vstinner', 'srid']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue8718'
versions = ['Python 2.7']

@srid
Copy link
Mannequin Author

srid mannequin commented May 14, 2010

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

@srid srid mannequin added stdlib Python modules in the Lib dir type-crash A hard crash of the interpreter, possibly with a core dump labels May 14, 2010
@srid
Copy link
Mannequin Author

srid mannequin commented May 14, 2010

@vstinner
Copy link
Member

Duplicate of bpo-5099 (and bpo-8717). It should be fixed now.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
Development

No branches or pull requests

1 participant