summaryrefslogtreecommitdiffstats
path: root/Lib/stat.py
Commit message (Collapse)AuthorAgeFilesLines
* The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum2000-02-041-7/+5
| | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* * Lib/linecache.py: don't crash on empty filenameGuido van Rossum1994-08-231-1/+1
| | | | | | | | | | | * Lib/macpath.py: don't return trailing colon for dirname() (XXX won't do for volume names -- but otherwise glob(':*:*.py') loops forever) * Lib/traceback.py: print SyntaxError correctly * Lib/stat.py: moved to posixstat.py; added macstat.py which has the constants for the Mac; and created new stat.py which includes the right one * Lib/urllib.py: fix caching bug (by disabling the cache)
* Add names for perm bits (S_IREAD etc).Guido van Rossum1992-05-061-1/+23
| | | | Only extract 4 bits of mode to get the file type
* Use bitwise ops instead of %; added some warnings and commentsGuido van Rossum1992-03-311-10/+19
|
* New == syntaxGuido van Rossum1992-01-011-7/+7
|
* Added S_IMODE() to strip the file type (S_IFMT) from a mode.Guido van Rossum1990-10-311-0/+2
|
* Initial revisionGuido van Rossum1990-10-211-0/+55