summaryrefslogtreecommitdiffstats
path: root/Lib/stat.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-02-19 10:55:19 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2007-02-19 10:55:19 (GMT)
commit382abeff0f1a53ffaaddfea06e8721bf42b66502 (patch)
treeb59671b10eefc9082b426aa1d5c4304e26fbb9db /Lib/stat.py
parent0713a68dc55f355df8fa0ecd6fd4ccb9c03b7e7c (diff)
downloadcpython-382abeff0f1a53ffaaddfea06e8721bf42b66502.zip
cpython-382abeff0f1a53ffaaddfea06e8721bf42b66502.tar.gz
cpython-382abeff0f1a53ffaaddfea06e8721bf42b66502.tar.bz2
Patch #1490190: posixmodule now includes os.chflags() and os.lchflags()
functions on platforms where the underlying system calls are available.
Diffstat (limited to 'Lib/stat.py')
-rw-r--r--Lib/stat.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/Lib/stat.py b/Lib/stat.py
index 70750d8..5f41687 100644
--- a/Lib/stat.py
+++ b/Lib/stat.py
@@ -84,3 +84,16 @@ S_IRWXO = 00007
S_IROTH = 00004
S_IWOTH = 00002
S_IXOTH = 00001
+
+# Names for file flags
+
+UF_NODUMP = 0x00000001
+UF_IMMUTABLE = 0x00000002
+UF_APPEND = 0x00000004
+UF_OPAQUE = 0x00000008
+UF_NOUNLINK = 0x00000010
+SF_ARCHIVED = 0x00010000
+SF_IMMUTABLE = 0x00020000
+SF_APPEND = 0x00040000
+SF_NOUNLINK = 0x00100000
+SF_SNAPSHOT = 0x00200000