diff options
author | Ned Deily <nad@acm.org> | 2011-06-28 07:00:28 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2011-06-28 07:00:28 (GMT) |
commit | 3eb67d58d61cec42c09242a7d801072c3e448dcf (patch) | |
tree | 821fab0f068bbbd184ac8abec600a9cb3eaf16fc /Doc/library/stat.rst | |
parent | 11f00f3b00a0667c41509318f49f0da75ab5c977 (diff) | |
download | cpython-3eb67d58d61cec42c09242a7d801072c3e448dcf.zip cpython-3eb67d58d61cec42c09242a7d801072c3e448dcf.tar.gz cpython-3eb67d58d61cec42c09242a7d801072c3e448dcf.tar.bz2 |
Issue #8746: Correct faulty configure checks so that os.chflags() and
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X). Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED). Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
Diffstat (limited to 'Doc/library/stat.rst')
-rw-r--r-- | Doc/library/stat.rst | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Doc/library/stat.rst b/Doc/library/stat.rst index 64516ae..4f79689 100644 --- a/Doc/library/stat.rst +++ b/Doc/library/stat.rst @@ -307,13 +307,21 @@ The following flags can be used in the *flags* argument of :func:`os.chflags`: The file may only be appended to. +.. data:: UF_OPAQUE + + The directory is opaque when viewed through a union stack. + .. data:: UF_NOUNLINK The file may not be renamed or deleted. -.. data:: UF_OPAQUE +.. data:: UF_COMPRESSED - The directory is opaque when viewed through a union stack. + The file is stored compressed (Mac OS X 10.6+). + +.. data:: UF_HIDDEN + + The file should not be displayed in a GUI (Mac OS X 10.5+). .. data:: SF_ARCHIVED |