[New-bugs-announce] [issue5814] SocketServer: TypeError: waitpid() takes no keyword arguments
Arkadiusz Miskiewicz Arkadiusz Miskiewicz
report at bugs.python.org
Wed Apr 22 14:15:46 CEST 2009
New submission from Arkadiusz Miskiewicz Arkadiusz Miskiewicz <arekm at maven.pl>:
SocketServer.py contains call os.waitpid(0, options=0)
but os.waitpid doesn't accept keyword arguments.
I guess the best fix is to make waitpid accept such arguments.
Traceback (most recent call
last):
File "/usr/share/python2.6/SocketServer.py", line 281, in
_handle_request_noblock
self.process_request(request,
client_address)
File "/usr/share/python2.6/SocketServer.py", line 522, in
process_request
self.collect_children
()
File "/usr/share/python2.6/SocketServer.py", line 490, in
collect_children
pid, status = os.waitpid(0,
options=0)
TypeError: waitpid() takes no keyword arguments
----------
components: Library (Lib)
messages: 86292
nosy: arekm
severity: normal
status: open
title: SocketServer: TypeError: waitpid() takes no keyword arguments
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5814>
_______________________________________
More information about the New-bugs-announce
mailing list