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
25c9d6aa
Kaydet (Commit)
25c9d6aa
authored
Agu 17, 2008
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove imports of 'warnings' that are no longer needed in dummy_thread,
filecmp, and shelve.
üst
313bda12
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
3 deletions
+2
-3
dummy_thread.py
Lib/dummy_thread.py
+0
-1
filecmp.py
Lib/filecmp.py
+0
-1
shelve.py
Lib/shelve.py
+0
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/dummy_thread.py
Dosyayı görüntüle @
25c9d6aa
...
...
@@ -17,7 +17,6 @@ __all__ = ['error', 'start_new_thread', 'exit', 'get_ident', 'allocate_lock',
'interrupt_main'
,
'LockType'
]
import
traceback
as
_traceback
import
warnings
class
error
(
Exception
):
"""Dummy implementation of thread.error."""
...
...
Lib/filecmp.py
Dosyayı görüntüle @
25c9d6aa
...
...
@@ -11,7 +11,6 @@ Functions:
import
os
import
stat
import
warnings
from
itertools
import
ifilter
,
ifilterfalse
,
imap
,
izip
__all__
=
[
"cmp"
,
"dircmp"
,
"cmpfiles"
]
...
...
Lib/shelve.py
Dosyayı görüntüle @
25c9d6aa
...
...
@@ -69,7 +69,6 @@ except ImportError:
from
StringIO
import
StringIO
import
UserDict
import
warnings
__all__
=
[
"Shelf"
,
"BsdDbShelf"
,
"DbfilenameShelf"
,
"open"
]
...
...
Misc/NEWS
Dosyayı görüntüle @
25c9d6aa
...
...
@@ -48,6 +48,8 @@ Core and Builtins
Library
-------
- Remove unneeded imports of 'warnings' from shelve, filecmp, and dummy_thread.
- Issue #3575: Incremental decoder's decode function now takes bytearray
by using 's*' instead of 't#'.
...
...
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