[issue21719] Returning Windows file attribute information via os.stat()

Ben Hoyt report at bugs.python.org
Fri Jun 13 22:52:11 CEST 2014


Ben Hoyt added the comment:

> 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).

Fair call. I've added the constants to stat.py as well. Updated patch attached.

----------
Added file: http://bugs.python.org/file35622/issue21719-3.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21719>
_______________________________________


More information about the Python-bugs-list mailing list