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
461a1c4b
Unverified
Kaydet (Commit)
461a1c4b
authored
Haz 28, 2018
tarafından
INADA Naoki
Kaydeden (comit)
GitHub
Haz 28, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-33842: Remove tarfile.filemode (GH-7661)
üst
62b6cea6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
3.8.rst
Doc/whatsnew/3.8.rst
+2
-0
tarfile.py
Lib/tarfile.py
+0
-7
2018-06-12-18-34-54.bpo-33842.RZXSGu.rst
...S.d/next/Library/2018-06-12-18-34-54.bpo-33842.RZXSGu.rst
+1
-0
No files found.
Doc/whatsnew/3.8.rst
Dosyayı görüntüle @
461a1c4b
...
...
@@ -151,6 +151,8 @@ Removed
* ``parse_qs``, ``parse_qsl``, and ``escape`` are removed from :mod:`cgi`
module. They are deprecated from Python 3.2 or older.
* ``filemode`` function is removed from :mod:`tarfile` module.
It is not documented and deprecated since Python 3.3.
Porting to Python 3.8
...
...
Lib/tarfile.py
Dosyayı görüntüle @
461a1c4b
...
...
@@ -256,13 +256,6 @@ def copyfileobj(src, dst, length=None, exception=OSError, bufsize=None):
dst
.
write
(
buf
)
return
def
filemode
(
mode
):
"""Deprecated in this location; use stat.filemode."""
import
warnings
warnings
.
warn
(
"deprecated in favor of stat.filemode"
,
DeprecationWarning
,
2
)
return
stat
.
filemode
(
mode
)
def
_safe_print
(
s
):
encoding
=
getattr
(
sys
.
stdout
,
'encoding'
,
None
)
if
encoding
is
not
None
:
...
...
Misc/NEWS.d/next/Library/2018-06-12-18-34-54.bpo-33842.RZXSGu.rst
0 → 100644
Dosyayı görüntüle @
461a1c4b
Remove ``tarfile.filemode`` which is deprecated since Python 3.3.
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