]> granicus.if.org Git - python/commit
r69209 caused the fp of HTTPResponse objects to be a io.BufferedReader instead of...
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Tue, 3 Feb 2009 10:57:52 +0000 (10:57 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Tue, 3 Feb 2009 10:57:52 +0000 (10:57 +0000)
commit3bbfba841aadaf867f55da81b4608ae2d5e7f3e1
treedb75c132ff4e75a8b36707181a248a5993bbc307
parent0e974b895febeb528de4d6daee3beee7ec5cb4f3
r69209 caused the fp of HTTPResponse objects to be a io.BufferedReader instead of a socket.SocketIO.  This moves the underlying socket.socket object from r.fp._sock to r.fp.raw._sock.  Since _sock is an internal object, this should be ok. The change is for the testsuite only, to assert socket state.
Lib/test/test_urllib2net.py