Message 224239 - Python tracker
fstat() can do I/O, or can fail for other reasons. If you don't want to create a new fd, I think you can do dup2(fd, fd). I don't understand the reason for the following code: + def check_handle_deltas(deltas): + return abs(sum(deltas)) >= min(3, len(deltas)) Can you add a comment?