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
95d97c73
Kaydet (Commit)
95d97c73
authored
May 16, 2008
tarafından
Alexandre Vassalotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Renamed the repr module to reprlib.
Added stub module for repr.
üst
5915a4dc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletion
+13
-1
repr.py
Lib/lib-old/repr.py
+7
-0
reprlib.py
Lib/reprlib.py
+0
-0
test_py3kwarn.py
Lib/test/test_py3kwarn.py
+3
-1
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/lib-old/repr.py
0 → 100644
Dosyayı görüntüle @
95d97c73
from
warnings
import
warnpy3k
warnpy3k
(
"The repr module has been renamed to 'reprlib' in Python 3.0"
,
stacklevel
=
2
)
from
sys
import
modules
import
reprlib
modules
[
__name__
]
=
repr
Lib/repr.py
→
Lib/repr
lib
.py
Dosyayı görüntüle @
95d97c73
File moved
Lib/test/test_py3kwarn.py
Dosyayı görüntüle @
95d97c73
...
@@ -210,7 +210,9 @@ class TestStdlibRenames(unittest.TestCase):
...
@@ -210,7 +210,9 @@ class TestStdlibRenames(unittest.TestCase):
renames
=
{
'copy_reg'
:
'copyreg'
,
'Queue'
:
'queue'
,
renames
=
{
'copy_reg'
:
'copyreg'
,
'Queue'
:
'queue'
,
'SocketServer'
:
'socketserver'
,
'SocketServer'
:
'socketserver'
,
'ConfigParser'
:
'configparser'
}
'ConfigParser'
:
'configparser'
,
'repr'
:
'reprlib'
,
}
def
check_rename
(
self
,
module_name
,
new_module_name
):
def
check_rename
(
self
,
module_name
,
new_module_name
):
"""Make sure that:
"""Make sure that:
...
...
Misc/NEWS
Dosyayı görüntüle @
95d97c73
...
@@ -37,6 +37,9 @@ Extension Modules
...
@@ -37,6 +37,9 @@ Extension Modules
Library
Library
-------
-------
- The repr module has been renamed 'reprlib'. The old name is now
deprecated.
- The statvfs module has been deprecated for removal in Python 3.0.
- The statvfs module has been deprecated for removal in Python 3.0.
- The sunaudiodev and SUNAUDIODEV modules have been deprecated for removal in
- The sunaudiodev and SUNAUDIODEV modules have been deprecated for removal in
...
...
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