[issue11750] Mutualize win32 functions

sbt report at bugs.python.org
Sat Apr 14 21:57:13 CEST 2012

sbt <shibturn at gmail.com> added the comment:

> I don't think we need the vcproj file, unless I missed something.

_multiprocessing.win32 currently wraps closesocket(), send() and recv() so it needs to link against ws2_32.lib.

I don't know how to make _windows link against ws2_32.lib without adding a vcproj file for _windows unless we make pythoncore depend on ws2_32.lib.  I presume this is why _socket and _select have their own vcproj files.

Maybe the socket functions could be moved directly to the top level of _multiprocessing instead since they are not really win32 functions.  (And I suppose if that does not happen then _multiprocessing should also stop linking against ws2_32.lib.)

BTW why does _select link against wsock32.lib instead of ws2_32.lib?


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list