Message 81035 - Python tracker (original) (raw)
The socket.socket.makefile() now returns a quite different kind of object, namely a SocketIO thing. This comes as a result of the IO refactoring in 3.0. The good side to this is that old and naughty apps have been forbidden to access the _sock member directly. This was the reason that we had to disable read buffering in 2.x: Some clients would read directly from the socket, even though it was "hidden".
As for the test failure, I admit that I didn't enable the "network" resource for the testsuite. Will fix.
Btw, test_xmlrpc_net.py fails, because time.xmlrpc.com doesn't resolve. Are there any other good and stable rpc servers out there?