Author dabeaz
Recipients amaury.forgeotdarc, bow, dabeaz, mdehoon, pitrou, serhiy.storchaka
Date 2013-01-15.20:54:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I have run into this bug myself.  Agree that a file-like object should never report itself as closed unless .close() has been explicitly called on it.   HTTPResponse should not return itself as closed after the end-of-file has been reached.

I think there is also a bug in the implementation of TextIOWrapper as well.  Even if the underlying file reports itself as closed, previously read and buffered data should be processed first before reporting an error about the file being closed.
Date User Action Args
2013-01-15 20:54:15dabeazsetrecipients: + dabeaz, amaury.forgeotdarc, mdehoon, pitrou, serhiy.storchaka, bow
2013-01-15 20:54:15dabeazsetmessageid: <>
2013-01-15 20:54:15dabeazlinkissue16723 messages
2013-01-15 20:54:15dabeazcreate