summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2011-06-28 00:13:01 -0700
committerNed Deily <nad@acm.org>2011-06-28 00:13:01 -0700
commit73e764ed2b42dbeb701fb61287db13f5d331fe3e (patch)
tree4ce2b7093f99caf2f1ce572425c4ec56f1da4411 /Doc
parentf43765c210b47c6487776df207dba3308dd8fbb3 (diff)
parent0067017e59e498cb34ed4e75164cea1870e8a0c4 (diff)
downloadcpython-73e764ed2b42dbeb701fb61287db13f5d331fe3e.tar.gz
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')
-rw-r--r--Doc/library/os.rst2
-rw-r--r--Doc/library/stat.rst12
2 files changed, 12 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 0a097d4ddf..4ba4f5d85a 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1465,6 +1465,8 @@ Files and Directories
* :data:`stat.UF_APPEND`
* :data:`stat.UF_OPAQUE`
* :data:`stat.UF_NOUNLINK`
+ * :data:`stat.UF_COMPRESSED`
+ * :data:`stat.UF_HIDDEN`
* :data:`stat.SF_ARCHIVED`
* :data:`stat.SF_IMMUTABLE`
* :data:`stat.SF_APPEND`
diff --git a/Doc/library/stat.rst b/Doc/library/stat.rst
index 64516ae5a5..4f79689207 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