summaryrefslogtreecommitdiffstats
path: root/Lib/stat.py
Commit message (Collapse)AuthorAgeFilesLines
* * 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