Martin Panter added the comment: Here is a patch implementing my ideas. Let me know what you think of the ideas and/or the patch :)
If people think this change is too much for 3.5, I could try making a more minimal patch that calls something like socket.getpeername() rather than read(). That should also avoid the non-blocking problem. ---------- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file42351/rewrite-fileno.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21069> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com