[Python-ideas] PEP: Extended stat_result (First Draft)

Christian Heimes christian at python.org
Mon May 6 15:33:30 CEST 2013


Am 06.05.2013 15:24, schrieb Pieter Nagel:
> To summarise the thread: POSIX guarantees the *names* os the S_XXX
> constants, not their numeric values. But the stat module propagates the
> misapprehension that the values are standardised.

For POSIX you safely ignore the issue as long as you just use the
S_ISxxx() functions from the stat module. I'll take care of the rest.

Promise! :)





More information about the Python-ideas mailing list