diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2013-10-13 01:13:02 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2013-10-13 01:13:02 (GMT) |
commit | da14920247631acd2c20e2be2b9ed83f5399ed3b (patch) | |
tree | c711938d9d9bf9dcb9d1ca43a63f59ca489da731 /Lib/tarfile.py | |
parent | 17ecd1d3846845c5abf1a51a77b6ba8f79b8b163 (diff) | |
download | cpython-da14920247631acd2c20e2be2b9ed83f5399ed3b.zip cpython-da14920247631acd2c20e2be2b9ed83f5399ed3b.tar.gz cpython-da14920247631acd2c20e2be2b9ed83f5399ed3b.tar.bz2 |
Close #18281: superfluous stat constants removed from tarfile
Diffstat (limited to 'Lib/tarfile.py')
-rw-r--r-- | Lib/tarfile.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py index 7766e4a..94bd75d 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -140,30 +140,6 @@ PAX_NUMBER_FIELDS = { } #--------------------------------------------------------- -# Bits used in the mode field, values in octal. -#--------------------------------------------------------- -S_IFLNK = 0o120000 # symbolic link -S_IFREG = 0o100000 # regular file -S_IFBLK = 0o060000 # block device -S_IFDIR = 0o040000 # directory -S_IFCHR = 0o020000 # character device -S_IFIFO = 0o010000 # fifo - -TSUID = 0o4000 # set UID on execution -TSGID = 0o2000 # set GID on execution -TSVTX = 0o1000 # reserved - -TUREAD = 0o400 # read by owner -TUWRITE = 0o200 # write by owner -TUEXEC = 0o100 # execute/search by owner -TGREAD = 0o040 # read by group -TGWRITE = 0o020 # write by group -TGEXEC = 0o010 # execute/search by group -TOREAD = 0o004 # read by other -TOWRITE = 0o002 # write by other -TOEXEC = 0o001 # execute/search by other - -#--------------------------------------------------------- # initialization #--------------------------------------------------------- if os.name in ("nt", "ce"): |