Author pitrou
Recipients BreamoreBoy, ezio.melotti, neologix, pitrou, python-dev, sbt, vstinner
Date 2014-07-29.18:31:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406658703.95.0.729895108299.issue18174@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2014-07-29 18:31:44pitrousetrecipients: + pitrou, vstinner, ezio.melotti, neologix, BreamoreBoy, python-dev, sbt
2014-07-29 18:31:43pitrousetmessageid: <1406658703.95.0.729895108299.issue18174@psf.upfronthosting.co.za>
2014-07-29 18:31:43pitroulinkissue18174 messages
2014-07-29 18:31:43pitroucreate