Richard Oudkerk added the comment: I can't remember why I did not use fstat() -- probably it did not occur to me. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18174> _______________________________________