[Python-Dev] buildin vs. shared modules

Guido van Rossum guido at python.org
Tue Oct 21 15:40:56 EDT 2003


> After installing MSVC6 on a win98 machine, where I could rename
> wsock32.dll away (which was not possible on XP due to file system
> protection), I was able to change socketmodule.c to use delay loading of
> the winsock dll.  I had to wrap up the WSAStartup() call inside a 
> __try {} __except {} block to catch the exception thrown.
> 
> With this change, _socket (and maybe also select) could then also be
> converted into builtin modules.
> 
> Guido, what do you think?

I think now is a good time to try this in 2.4.  I don't think I'd want
to do this (or any of the proposed reorgs) in 2.3 though.

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list