Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Delta Between Two Patch Sets: Lib/stat.py

Issue 21719: Returning Windows file attribute information via os.stat()
Left Patch Set: Created 5 years, 7 months ago
Right Patch Set: Created 5 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Doc/library/stat.rst ('k') | Lib/test/test_os.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 """Constants/functions for interpreting results of os.stat() and os.lstat(). 1 """Constants/functions for interpreting results of os.stat() and os.lstat().
2 2
3 Suggested usage: from stat import * 3 Suggested usage: from stat import *
4 """ 4 """
5 5
6 # Indices for stat struct members in the tuple returned by os.stat() 6 # Indices for stat struct members in the tuple returned by os.stat()
7 7
8 ST_MODE = 0 8 ST_MODE = 0
9 ST_INO = 1 9 ST_INO = 1
10 ST_DEV = 2 10 ST_DEV = 2
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 FILE_ATTRIBUTE_SYSTEM = 4 169 FILE_ATTRIBUTE_SYSTEM = 4
170 FILE_ATTRIBUTE_TEMPORARY = 256 170 FILE_ATTRIBUTE_TEMPORARY = 256
171 FILE_ATTRIBUTE_VIRTUAL = 65536 171 FILE_ATTRIBUTE_VIRTUAL = 65536
172 172
173 173
174 # If available, use C implementation 174 # If available, use C implementation
175 try: 175 try:
176 from _stat import * 176 from _stat import *
177 except ImportError: 177 except ImportError:
178 pass 178 pass
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+