]> granicus.if.org Git - python/commit
Revise the wrapper structure for the socket module:
authorFred Drake <fdrake@acm.org>
Wed, 16 Aug 2000 14:14:32 +0000 (14:14 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 16 Aug 2000 14:14:32 +0000 (14:14 +0000)
commita6070f0221c0f4f2bb0fea518ea6e0b5e9497271
tree8cdc385a880374b8870f9a9aa05779ecd9f7eadc
parent1582a3ab98b9792ae719e9b0bffdbdab9302f565
Revise the wrapper structure for the socket module:

socket.py is used for all platforms, and it defines the additional
classes and alternate socket() function for Windows and BeOS systems.

The plat-*/socket.py files are no longer needed, since there is a
shared socket.py.

make_fqdn() is provided, but I decided to call it getfqdn() to be
consistent with the other names in the socket module.  Since it is
really a "get" operation and does not create a new name, this is
the right name to give it.

Move the docstring here from the _socket module.
Lib/plat-beos/socket.py [deleted file]
Lib/plat-win/socket.py [deleted file]
Lib/socket.py [new file with mode: 0644]