Antoine Pitrou <pit...@free.fr> added the comment: > > That's my opinion too. So, instead, of doing the above surgery inside > > the IO stack, the SocketIO layer could detect the timeout and disallow > > further access. What do you think? > > So after a timeout occurs the file-object basically becomes worthless? > Would it make sense to automatically call the close method of the > file-object after this occurs?
Actually, we only need to forbid further reads (writes would always work). I think we should still let the user call the close method themselves. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7322> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com