Ethan Furman added the comment: Interestingly enough, the two constants that are used are prefixed with `stat`. Patch attached. Adios! ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18281> _______________________________________