summaryrefslogtreecommitdiffstats
path: root/Doc/library/stat.rst
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2011-06-28 07:13:01 (GMT)
committerNed Deily <nad@acm.org>2011-06-28 07:13:01 (GMT)
commit8b56c4b1b82898ffd7e6337c39068c93e21e8d31 (patch)
treef70a99badeaf4276217cd141841e5d0509d70183 /Doc/library/stat.rst
parentf6837aa1714ff331346522c6698573d9d32aa43e (diff)
parent3eb67d58d61cec42c09242a7d801072c3e448dcf (diff)
downloadcpython-8b56c4b1b82898ffd7e6337c39068c93e21e8d31.zip
cpython-8b56c4b1b82898ffd7e6337c39068c93e21e8d31.tar.gz
cpython-8b56c4b1b82898ffd7e6337c39068c93e21e8d31.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.rst12
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