Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
da149202
Commit
da149202
authored
Oct 12, 2013
by
Ethan Furman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Close #18281: superfluous stat constants removed from tarfile
parent
17ecd1d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
Lib/tarfile.py
Lib/tarfile.py
+0
-24
No files found.
Lib/tarfile.py
View file @
da149202
...
...
@@ -139,30 +139,6 @@ PAX_NUMBER_FIELDS = {
"size"
:
int
}
#---------------------------------------------------------
# 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
#---------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment