[Python-ideas] PEP: Extended stat_result (First Draft)
Random832
random832 at fastmail.us
Tue May 7 13:44:45 CEST 2013
On 05/07/2013 02:51 AM, Pieter Nagel wrote:
> At issue here is the file type stat flags such as S_IS*.
>
> The permission bits are not a problem. I'm confident that the permission
> bits are specified by POSIX, and thus cross-platform (haven't
> double-checked though).
They are not. What is specified, which you may be thinking of, is the
meaning of a numeric argument to the chmod _command_, from which you can
no more infer that the bits themselves are the same than you can for
signal numbers vs. the seven numeric values specified as arguments to
the kill command.
More information about the Python-ideas
mailing list