Message 185295 - Python tracker
- I don't understand the "running out of FDs" thing. select() is limited to FDs less than FD_SETSIZE, but I don't see how you could get EMFILE (select() will return a ValueError) - is there any platform with sendfile() which doesn't support poll()? - I still don't see the point of calling sendfile() with a block size. Everybody just uses st_size, and that's how it's supposed to be done.