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

Delta Between Two Patch Sets: Modules/_stat.c

Issue 21719: Returning Windows file attribute information via os.stat()
Left Patch Set: Created 5 years, 11 months ago
Right Patch Set: Created 5 years, 11 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 | « Modules/posixmodule.c ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* stat.h interface 1 /* stat.h interface
2 * 2 *
3 * The module defines all S_IF*, S_I*, UF_*, SF_* and ST_* constants to 3 * The module defines all S_IF*, S_I*, UF_*, SF_* and ST_* constants to
4 * sensible default values as well as defines S_IS*() macros in order to keep 4 * sensible default values as well as defines S_IS*() macros in order to keep
5 * backward compatibility with the old stat.py module. 5 * backward compatibility with the old stat.py module.
6 * 6 *
7 * New constants and macros such as S_IFDOOR / S_ISDOOR() are always defined 7 * New constants and macros such as S_IFDOOR / S_ISDOOR() are always defined
8 * as int 0. 8 * as int 0.
9 * 9 *
10 * NOTE: POSIX only defines the values of the S_I* permission bits. 10 * NOTE: POSIX only defines the values of the S_I* permission bits.
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 if (PyModule_AddIntMacro(m, FILE_ATTRIBUTE_TEMPORARY)) return NULL; 588 if (PyModule_AddIntMacro(m, FILE_ATTRIBUTE_TEMPORARY)) return NULL;
589 if (PyModule_AddIntMacro(m, FILE_ATTRIBUTE_VIRTUAL)) return NULL; 589 if (PyModule_AddIntMacro(m, FILE_ATTRIBUTE_VIRTUAL)) return NULL;
590 #endif 590 #endif
591 591
592 return m; 592 return m;
593 } 593 }
594 594
595 #ifdef __cplusplus 595 #ifdef __cplusplus
596 } 596 }
597 #endif 597 #endif
LEFTRIGHT

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