Antoine Pitrou added the comment:

A couple of comments:

- I don't understand the point of the second member in the tuple
- the timeout logic should be fixed so that the total operation time doesn't 
exceed the timeout, rather than each iteration (in other words, a deadline 
should be computed at the start and then the poll / select calls be issued in 
accordance with that deadline)
- non-blocking sockets could be supported by returning partial writes, and 
letting the caller pass an offset argument
- as a vocabulary nit, I don't really understand what "mmap-like file" means

----------
nosy: +neologix, pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17552>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to