classification
Title: _socket.pyd uses winsock2, select.pyd uses winsock 1
Type: behavior Stage:
Components: IO Versions: Python 2.7
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: kristjan.jonsson, loewis
Priority: normal Keywords: patch

Created on 2010-11-03 06:01 by kristjan.jonsson, last changed 2010-11-03 13:28 by kristjan.jonsson. This issue is now closed.

Files
File name Uploaded Description Edit
select.patch kristjan.jonsson, 2010-11-03 06:14
Messages (4)
msg120308 - (view) Author: Kristján Valur Jónsson (kristjan.jonsson) * (Python committer) Date: 2010-11-03 06:01
These two socket modules link to a different winsock api, thus pulling two potentially incompatible dlls in to the process.  There is no guarantee that they interact.

I'll see if there is a simple patch for select module
msg120309 - (view) Author: Kristján Valur Jónsson (kristjan.jonsson) * (Python committer) Date: 2010-11-03 06:14
Here is a patch
msg120314 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010-11-03 09:01
LGTM.
msg120324 - (view) Author: Kristján Valur Jónsson (kristjan.jonsson) * (Python committer) Date: 2010-11-03 13:28
committed as revision 86136
History
Date User Action Args
2010-11-03 13:28:23kristjan.jonssonsetstatus: open -> closed
resolution: accepted
messages: + msg120324
2010-11-03 09:01:22loewissetmessages: + msg120314
2010-11-03 08:47:02pitrousetnosy: + loewis
2010-11-03 06:14:39kristjan.jonssonsetfiles: + select.patch
keywords: + patch
messages: + msg120309
2010-11-03 06:01:49kristjan.jonssoncreate