Zachary Ware added the comment: Ben Hoyt wrote: > I'm replying to the code review here as when I tried to reply on > bugs.python.org/review I got a Python exception, "AttributeError: > NoneType has no attribute something or other".
Generally when you get that you can just hit back and try again, it will work by the 4th try ;) > I don't think so -- I thought the purpose of moving them to _stat.c > was so you could use the windows.h constants rather than hard-coded > integers? But if they're in stat.py, why do they need to be in > _stat.c as well? The idea is that _stat.c will use system-provided values wherever possible, but stat.py should be as accurate as we can make it to provide a backup for when _stat isn't around (either when it's just not built, which isn't an issue on Windows, or in another Python implementation). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21719> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com