[Python-Dev] buildin vs. shared modules

Thomas Heller theller at python.net
Tue Oct 21 16:03:33 EDT 2003


Guido van Rossum <guido at python.org> writes:

>> 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.

Yes, I understood this already.

Thomas




More information about the Python-Dev mailing list