This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients pitrou, vstinner
Date 2013-08-21.23:34:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377128093.15.0.566815537571.issue18804@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks. I guess is_valid_fd() could be improved to check for EBADF, but other than that I don't see the problem. dup() is better than fstat() which may do some actual I/O.
Did you encounter this in real life?
History
Date User Action Args
2013-08-21 23:34:53pitrousetrecipients: + pitrou, vstinner
2013-08-21 23:34:53pitrousetmessageid: <1377128093.15.0.566815537571.issue18804@psf.upfronthosting.co.za>
2013-08-21 23:34:53pitroulinkissue18804 messages
2013-08-21 23:34:53pitroucreate