Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
75b9da4a
Kaydet (Commit)
75b9da4a
authored
Agu 18, 2004
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #995126: Correct directory size, and generate GNU tarfiles by default.
üst
78a8acc5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
libtarfile.tex
Doc/lib/libtarfile.tex
+2
-1
tarfile.py
Lib/tarfile.py
+2
-2
NEWS
Misc/NEWS
+2
-0
No files found.
Doc/lib/libtarfile.tex
Dosyayı görüntüle @
75b9da4a
...
...
@@ -261,7 +261,8 @@ tar archive several times. Each archive member is represented by a
gigabytes. A
\exception
{
ValueError
}
is raised if a file exceeds
this limit. If false, create a GNU tar compatible archive. It
will not be
\POSIX
{}
compliant, but can store files without any
of the above restrictions.
of the above restrictions.
\versionchanged
[\var{posix} defaults to false.]
{
2.4
}
\end{memberdesc}
\begin{memberdesc}
{
dereference
}
...
...
Lib/tarfile.py
Dosyayı görüntüle @
75b9da4a
...
...
@@ -781,7 +781,7 @@ class TarFile(object):
# messages (if debug >= 0). If > 0, errors
# are passed to the caller as exceptions.
posix
=
True
# If True, generates POSIX.1-1990-compliant
posix
=
False
# If True, generates POSIX.1-1990-compliant
# archives (no GNU extensions!)
fileobject
=
ExFileObject
...
...
@@ -1137,7 +1137,7 @@ class TarFile(object):
tarinfo
.
mode
=
stmd
tarinfo
.
uid
=
statres
.
st_uid
tarinfo
.
gid
=
statres
.
st_gid
tarinfo
.
size
=
statres
.
st_size
tarinfo
.
size
=
not
stat
.
S_ISDIR
(
stmd
)
and
statres
.
st_size
or
0
tarinfo
.
mtime
=
statres
.
st_mtime
tarinfo
.
type
=
type
tarinfo
.
linkname
=
linkname
...
...
Misc/NEWS
Dosyayı görüntüle @
75b9da4a
...
...
@@ -44,6 +44,8 @@ Extension modules
Library
-------
-
tarfile
now
generates
GNU
tar
files
by
default
.
-
HTTPResponse
has
now
a
getheaders
method
.
-
Patch
#
1006219
:
let
inspect
.
getsource
handle
'@'
decorators
.
Thanks
Simon
...
...
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