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