[pypy-issue] [issue1446] translate fail on py3k, windows

mattip tracker at bugs.pypy.org
Wed Apr 10 15:28:49 CEST 2013

mattip <matti.picus at gmail.com> added the comment:

indeed, _rsocket_rffi correctly has 
WSADuplicateSocket = external('WSADuplicateSocket', 
                             [socketfd_type, rwin32.DWORD,
and rsocket.py has
    def dup(fd):
        with lltype.scoped_alloc(_c.WSAData, zero=True) as info:
            if _c.WSADuplicateSocket(fd, rwin32.GetCurrentProcessId(), info):

That should be easy to fix then. Thanks!

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list