Author r.david.murray
Recipients docs@python, fviard, r.david.murray, terry.reedy
Date 2013-10-08.20:24:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381263859.92.0.334299176977.issue19154@psf.upfronthosting.co.za>
In-reply-to
Content
OK, I've looked at the docs and code, and as far as I can see this bug does not exist in Python3.  Or at least in 3.4, which is the only place I'd feel safe about making a change to the exception type.

To summarize: in 3.4 socket logic is based on RawIOBase, as is HTTPResponse.  And RawIOBase checks to see if the file is closed and raises a ValueError if it is, when fileno is called on the 'fp' attribute of the HTTPResponse.  At least, that's what I think based on reading the code.

So, unless you can reproduce the error in 3.3 and/or 3.4, I think we should close this issue as out of date, since as Terry said there is a non-trivial danger of backward incompatibility if we were to change the exception type in 2.7.
History
Date User Action Args
2013-10-08 20:24:19r.david.murraysetrecipients: + r.david.murray, terry.reedy, docs@python, fviard
2013-10-08 20:24:19r.david.murraysetmessageid: <1381263859.92.0.334299176977.issue19154@psf.upfronthosting.co.za>
2013-10-08 20:24:19r.david.murraylinkissue19154 messages
2013-10-08 20:24:19r.david.murraycreate