[issue9099] multiprocessing/win32: WindowsError: [Error 0] Success on Pipe()

Alexander Myodov report at bugs.python.org
Mon Jun 28 15:00:33 CEST 2010


Alexander Myodov <amyodov at gmail.com> added the comment:

Sorry for formatting above, a copypaste issue.

The lines 202-204:
        win32.SetNamedPipeHandleState(
            h2, win32.PIPE_READMODE_MESSAGE, None, None
            )

The change that fixes the problem (at least for me):
        try:
            win32.SetNamedPipeHandleState(
                h2, win32.PIPE_READMODE_MESSAGE, None, None
                )
        except WindowsError, e:
            if e.args[0] != 0: # 0 is error code for SUCCESS
                raise

----------
title: multiprocessing/win32: -> multiprocessing/win32: WindowsError: [Error 0] Success on Pipe()

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9099>
_______________________________________


More information about the Python-bugs-list mailing list