]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
The socket module now always uses the _socketobject wrapper class, even on
authorSkip Montanaro <skip@pobox.com>
Sun, 30 Mar 2003 04:54:24 +0000 (04:54 +0000)
committerSkip Montanaro <skip@pobox.com>
Sun, 30 Mar 2003 04:54:24 +0000 (04:54 +0000)
commit89feabc7f5308e3190909f47fce225df28a65062
treead1126c669f70a2138f8449453426d298d439a3c
parenta942b9931c9ef13f7baf82c12e4ee312e6906f1c
The socket module now always uses the _socketobject wrapper class, even on
platforms which have dup(2).  The makefile() method is built directly on top
of the socket without duplicating the file descriptor, allowing timeouts to
work properly.  Includes a new test case (urllibnet) which requires the
network resource.

Closes bug 707074.
Lib/socket.py
Lib/test/test_urllibnet.py [new file with mode: 0644]
Misc/NEWS