STINNER Victor added the comment: > fstat() can do I/O, or can fail for other reasons.
Oh, I forgot this reason. Maybe we should add a comment to explain that. I mean in the patch for this issue but also in is_valid_fd() (Python/pythonrun.c). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18174> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com