summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2007-08-04 02:34:24 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2007-08-04 02:34:24 (GMT)
commit97043c3c02d0a531685ce2256eeaf5c4c5d8dc44 (patch)
tree914518a5401edb42a942c92758212772096fa343 /Modules
parentc2de7c03a05eb59ff03f07ea799d0c33abad6cc8 (diff)
downloadcpython-97043c3c02d0a531685ce2256eeaf5c4c5d8dc44.zip
cpython-97043c3c02d0a531685ce2256eeaf5c4c5d8dc44.tar.gz
cpython-97043c3c02d0a531685ce2256eeaf5c4c5d8dc44.tar.bz2
HTTPResponse should not inherit from io.IOBase.
I'm not sure why I thought it should originally, but it introduces an __del__() method on the response which cause the close() to be called too soon using the HTTP compat class. Also, remove some stale comments. The HTTPResponse calls makefile() immediately, so there is no risk of it closing the socket.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions